Thanks for your reply

Why can't your FTP server report the size of that file? It does
exist.

I was under the impression that this simply didn't work for directories
(like I said I'm not a FTP expert), so I thought that was a 'feature'..

If I look at https://tools.ietf.org/html/rfc3659#section-4.2 it says

The presence of the 550 error response to a SIZE command MUST NOT be
taken by the client as an indication that the file cannot be
transferred in the current MODE and TYPE.

and the '* The file does not exist' message actually (after browsing the
source a bit) originates in libCURL and not from the FTP (as a response
to the 550 error code..)

To be honest I'm not even sure why the SIZE command is issued at all (I'm not interested in that..)

Lukas
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to