[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTPAPI connection reset



FWIW....

>The FTP server is supposed to keep the command channel open until the 
>file transfer completes so it can send a '226 Transfer Complete' message.  
>This message is the only thing that tells us that the transfer completed 
>successfully.

IMO not correct.... depends on OS's. 
226 - Transfer Completed Successfully
250 - Transfer Completed Successfully
I did always test for both 226 AND 250 in my "build on the fly" FTP programs.

Typing from a link at www.tug.on.ca/AS400FTP.htm (seems not to work anymore):
<snip>
The text in the 250 code and other FTP codes can vary depending on the system
you are communicating with. It may say "Transfer completed successfully" in the 
case of an AS/400 to MVS system  or  "File transfer completed successfully" in 
the case of a transfer from AS/400 to AS/400. Also, in the case of a loopback to 
AS/400, the 250 message may appear twice.
</snip>

Oh well.... maybe a little off topic from the OP's question :-)

Leif
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------