W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2002

Add a binary file to an existing form, then post

From: Dodgshun, Andrew (Melb, Aust) <Andrew.Dodgshun@eiStream.com.au>
Date: Wed, 11 Dec 2002 17:01:33 +1100
Message-ID: <253D3D7BADAED3118B15009027D6185E8A394C@brewery>
To: "'www-lib@w3.org'" <www-lib@w3.org>
How can I add a binary file to a form that is loaded say via HTLoadtoChunk
then post that form ?
Essentially I wish to automate the posting of a local file via this form.
The form is .....
<form enctype="multipart/form-data"" method="POST" ACTION="/forms/Upload">
<input type="file" name="file"
<input type="submit" name="submit" value="submit">
I thought perhaps I need to create a HTAssocList from this form and then set
the value of "file" to my binary file
but not sure if I am on the right track ??
(environment is C UNIX solaris )
Andrew Dodgshun
eiStream (Australia) Pty Ltd
http://www.eistream.com.au <http://www.eistream.com.au/> 
This email (including all attachments) is intended solely for the named
addressee. It is confidential and may be subject to legal or other
professional privilege. If you receive it in error, please let us know by
reply email, delete it from your system and destroy any copies.This email is
also subject to copyright. No part of it should be reproduced, adapted or
communicated without the written consent of the copyright owner.E-mails may
be interfered with, may contain computer viruses or other defects and may
not be successfully replicated on other systems. We give no warranties in
relation to these matters. If you have any doubts about the authenticity of
an email purportedly sent by us, please contact us immediately. Any
confidentiality or privilege is not waived or lost because this email has
been sent to you by mistake.
Received on Wednesday, 11 December 2002 00:50:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC