curl-users
Re: Need help with error encountered uploading
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 22 Jul 2004 22:34:54 +0200 (CEST)
Date: Thu, 22 Jul 2004 22:34:54 +0200 (CEST)
On Tue, 20 Jul 2004, Hoog, Carl wrote:
> <form enctype="multipart/form-data" action="
> <https://dispatch.xxxxxxxxxx.com/scripts/cpshost.dll?PUBLISH>
> https://dispatch.xxxxxxxxxx.com/scripts/cpshost.dll?PUBLISH" method=post>
[...]
> curl -v -u userid:password -F my_file=@test.txt -F submit="Upload"
> <https://dispatch.xxxxxxxx.com/users/>
> https://dispatch.xxxxxxxx.com/users/destdir
>
> I get a connection to the destination with no problem but the Upload fails.
The 'action' field in the <form> tag tells you the URL you should upload to.
Your command line as shown here doesn't use that URL.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-07-22