curl-users
Re: FTP upload status bar patch
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 23 Apr 2005 23:31:14 +0200 (CEST)
Date: Sat, 23 Apr 2005 23:31:14 +0200 (CEST)
On Sat, 23 Apr 2005, Alex Suykov wrote:
>>> out the progress meter to get mixed with the output.
> By the way, do you mean only visual effect on the screen here? As far as I
> can see, output may go into stdout, status bar is written into stderr, and
> there's no way for them to mix.
Yes, I meant pure visually since as you say, they are stdout and stderr
separated.
> + if(checkprefix("http://", url))
> + return 1; /* HTTP upload */
Since a mistake here is not that alarming, I don't think we need to consider
the fact that curl can do HTTP even without a http:// prefix. I also made this
check for HTTPS.
I committed this now. Thanks a lot!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-04-23