curl-library
Re: FTP Upload
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Nov 2007 16:36:02 +0100 (CET)
Date: Mon, 19 Nov 2007 16:36:02 +0100 (CET)
On Mon, 19 Nov 2007, Conrad wrote:
>> Can you show us a full command/response sequence that libcurl sends and
>> receives when it hits this problem?
>
> I'm using 7.16.2 on Windows XP. I sending the file to a Linux machine.
> Here's what happens:
>
> PWD
>
> 257 "/"
>
> successful.
> Entry path is '/'
> MDTM test.txt
>
> 550 Could not get file modification time.
Why is it sending a MDTM on an upload? It implies that you ask for the time
somehow and that's why you get a failure: you ask for the time for the file
that you haven't put there yet!
I guess we should rather avoid that code path on uploads...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-11-19