in reply to How can I do a uninterrupted sending of a file

The complete answer should take into account other considerations. What if the socket times out? What if server goes down? What if during any of the above the file changes? What if the file is received corrupted? What if Comcast sends you a counterfeit RST packet?

RFC 959 only provides the API to be used for session management and the minimum handshaking for setting up a session. While it provides for a Restart command, it leaves error recovery, session resync and broken file reconstruction up to the application. These features may not be implemented the same across different systems. This becomes a problem when using a custom script to pull files from a third-party ftp server.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
  • Comment on Re: How can I do a uninterrupted sending of a file