How could i Post binary data to perl cgi?

Alejandro Tejada capellan2000 at yahoo.com
Wed Feb 18 04:30:05 EST 2004


Hi developers,

After reading the examples in
the libUrl documentation,
i have success posting a
form to a cgi script.

Now, i'm experimenting to
post binary data to a website.
I do not find an specific
example to make this.

Did I had to encode the
binary data with urlencode or
base64encode, before posting the
data to the cgi in the website?

How could i interpret this html form
for using from within liburl in RunRev?

<form
action="http://www.yourserver.com/cgi-bin/upload.cgi" 
method="post" 
enctype="multipart/form-data">
<input type="File" name="FILE1">
<p>
<input type="Submit" value="submit">
</form> 

I understand that ftp is available,
to upload files, but using perl cgi 
has many advantages, like email
notification, etc.

In fact, Chipp Walters create code
to post files to a specific type of
server, but i test it with the server
i'm using and did not works.

Thanks in advance.

al

=====
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools


More information about the use-livecode mailing list