Hi,
We have a system that is raising an exception when the PASV command is issued. It also says 'Please contact us. (code=500)' in the EnterpriseDT generated exception.
DEBUG [FTPConnection] 10 Jan 2017 14:51:13.649 : Listed directory ''
DEBUG [FTPConnection] 10 Jan 2017 14:51:13.649 : Exists(MYFILE.TXT)
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:13.649 : ---> SIZE MYFILE.TXT
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:13.680 : 550 /Receive/MYFILE.TXT: No such file.
DEBUG [FTPConnection] 10 Jan 2017 14:51:13.680 : UploadFile(D:\SITES\MySite\docs\MYFILE.TXT,MYFILE.TXT,False)
DEBUG [FTPConnection] 10 Jan 2017 14:51:13.680 : Cancel resume
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:13.680 : ---> REST 0
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:13.711 : 350 Restarting at 0. Send STORE or RETRIEVE.
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:13.711 : ---> PASV
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:34.756 : 500 INTERNAL ERROR: 'RETR' is missing the response string for 1. Please contact us.
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:34.756 : Expected reply codes = [227] (strict=False)
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : Caught exception INTERNAL ERROR: 'RETR' is missing the response string for 1. Please contact us. (code=500)
DEBUG [FTPClient] 10 Jan 2017 14:51:34.756 : Closing source stream
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : Caught exception
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : EnterpriseDT.Net.Ftp.FTPException: INTERNAL ERROR: 'RETR' is missing the response string for 1. Please contact us. (code=500)
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketPASVInternal()
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketPASV()
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocket(FTPConnectMode connectMode)
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : at EnterpriseDT.Net.Ftp.FTPClient.InitPut(String remoteFile, Boolean append)
ERROR [FTPClient] 10 Jan 2017 14:51:34.756 : at EnterpriseDT.Net.Ftp.FTPClient.PutASCII(Stream srcStream, String remoteFile, Boolean append, Boolean alwaysCloseStreams)
DEBUG [FTPConnection] 10 Jan 2017 14:51:34.756 : Closing connection (instance=87)
DEBUG [FTPFileFactory] 10 Jan 2017 14:51:34.756 : Defaulting to Unix parsing
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:34.756 : ---> QUIT
DEBUG [FTPControlSocket] 10 Jan 2017 14:51:34.771 : 221 Goodbye, closing session.
Can anyone help point us in the right direction of what is causing this?
Thanks in advance,
Stuart