curl-users
Re: Skip/continue versus new FTP upload
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 3 Mar 2005 14:21:24 +0100 (CET)
Date: Thu, 3 Mar 2005 14:21:24 +0100 (CET)
On Wed, 2 Mar 2005, Ignacio Vazquez-Abrams wrote:
> I tried several ways. None of them worked, but here's the closest
> command I found:
>
> curl --ftp-create-dirs -C - -n ftp://HOST/DIR -v -T FILE
...
>> SIZE FILE
> < 550 Can't check for file existence
> * Couldn't get remote file size
Oh. Perhaps we should allow this operation and just make a 550 reply from the
SIZE command equal "the existing file is zero bytes"...
Can anyone think of any obvious drawbacks with such a change?
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-03-03