ReceiveFTPFile with Append option

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
elwood
User
User
Posts: 30
Joined: Tue Dec 27, 2016 4:40 pm
Location: Lyon, France

ReceiveFTPFile with Append option

Post 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.
AmigaOS betatester
French Amiga Translation Team
Team for the Planet member
infratec
Always Here
Always Here
Posts: 7583
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: ReceiveFTPFile with Append option

Post 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
elwood
User
User
Posts: 30
Joined: Tue Dec 27, 2016 4:40 pm
Location: Lyon, France

Re: ReceiveFTPFile with Append option

Post by elwood »

Thanks infratec, I'll look into it.
Even if it would be more elegant in the core functions.
AmigaOS betatester
French Amiga Translation Team
Team for the Planet member
Post Reply