cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Unable to upload files of large size in Unix

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 2 May 2008 12:30:21 -0700

On Fri, May 02, 2008 at 03:09:13PM -0400, Salgar, Gowtam wrote:
> I have the -v option enabled and I dont have any errors on it. It just doesnt
> upload. Here is the script part.
>
> /usr/bin/curl -o /test/test_step7.htm -b /test/cookie -c /test/cookie -v -i -k
> -L -e https://xyz.com/test/test.aspx -A "Mozilla/4.0 (compatible; MSIE 6.0;
> Windows NT 5.1; SV1; .NET CLR 1.1.4322)" -F "</test/output/VIEWDATA_STEP7;type=
> text/html" -F btnWageUpload="Upload CSV File" -F inpWageUpload="@/test/
> test.csv" --limit-rate 500B https://xyz.com/test/test.aspx
>
> I tried putting the --limit-rate just to slow down the upload process as AIX
> upload was very fast. But this doesnt work too. I have pasted the moniter logs
> below.
[...]
> I am redirected to error page after this.
>
> Strage thing I find is the upload % never reaches 100% for this big file. But
> it does in windows. I have pasted the moniter for windows below.

So, it works under Windows but not under AIX? Are you using the same curl
version on both? Are you using exactly the same command-line arguments?
Are you data files exactly the same (no end-of-line character differences)?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-05-02