Hi<div><br></div><div>We use erlang ftp client library (specifically the recv_chunk function of the ftp module) to fetch large files which are generally several GBs in size. An fetch/connection error in the middle of a fetch requires us to start the fetch afresh. </div>
<div><br></div><div>The FTP RFC <a href="http://www.faqs.org/rfcs/rfc959.html">http://www.faqs.org/rfcs/rfc959.html</a> talks about the REST command which can be used to restart transmission from a specified point. Also it talks about the SIZE command which returns the size of a remote file. </div>
<div><br></div><div>Please find attached my patch proposal that adds the above functionalities to the existing client.</div><div><br></div><div>Regards,</div><div>-Arun</div><meta charset="utf-8">