Page 1 of 1

ReceiveFTPFile with Append option

Posted: Fri Sep 01, 2023 10:38 pm
by elwood
Hi,

From what I understand in the FTP RFC, it is possible to retrieve a few bytes, and not the whole file.
Can such option be added to ReceiveFTPFile? That would make the whole FTP commands more useful when you download several MBytes of data from a server.

Thanks for considering.

Re: ReceiveFTPFile with Append option

Posted: Sat Sep 02, 2023 10:14 am
by infratec
A temporary solution: libcurl directly

Look at the example: SFTP_uploadresume.pb
viewtopic.php?p=591235

https://curl.se/libcurl/c/CURLOPT_RESUME_FROM.html

Re: ReceiveFTPFile with Append option

Posted: Fri Sep 08, 2023 5:39 pm
by elwood
Thanks infratec, I'll look into it.
Even if it would be more elegant in the core functions.