cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Please Help - Posting

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 21 Jan 2004 08:40:42 +0100 (CET)

On Wed, 21 Jan 2004, xchris wrote:

> I used now -F because of the file upload.
>
> curl -b cookie.txt -F name=testing -F "file=@/IDE/p2p/movies/test.file" -F
> "descr=Prova Auto Uploader" -F type=2 -F html=no
> http://fwtorrent.mine.nu/take-upload.php > /home/xchris/result2.html

1. You forgot this:

> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" />

2. There's nothing in this HTML that sets 'html' to 'no' as you did:

> <input type="checkbox" name="html" value="yes" />

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-21