Code 250 is returned from the mainframe after the "STOR" command is completed by uploading a file.
Since it wasn't listed in the release method that is used when dipose is called, an exception would be thrown that showed there was an IO error even though the mainframe was returning this "250 Transfer completed successfully". (When the FtpPassiveStream was diposed. )
Code 250 is returned from the mainframe after the "STOR" command is completed by uploading a file.
Since it wasn't listed in the release method that is used when dipose is called, an exception would be thrown that showed there was an IO error even though the mainframe was returning this "250 Transfer completed successfully". (When the FtpPassiveStream was diposed. )
Explains code 250. https://en.wikipedia.org/wiki/List_of_FTP_server_return_codes
Shows that code 250 is used for successful transfers to a mainframe. https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.cs3cod0/ftp250-30.htm