Hi,
Thanks for reply. Below i am write the Log file details.
2010-09-23 11:24:52.812 Opening log file.
2010-09-23 11:25:06.421 ERROR Ftp(1) Info: System.InvalidOperationException: Not connected to the server.
at Rebex.Net.Ftp.cOUusW()
at Rebex.Net.Ftp.FileExists(String remotePath)
9/23/2010 12:33:10 PM Trying to connect to FTP / SSL server....
9/23/2010 12:34:18 PM Rebex.Net.FtpException: Timeout exceeded while waiting for welcome message. Make sure you are connecting to an ordinary FTP or explicitly secured FTP/SSL server. ---> Rebex.Net.FtpException: Timeout exceeded.
at Rebex.Net.Ftp.QztfFZ()
at Rebex.Net.Ftp.cgrDQE(Int32 )
at Rebex.Net.Ftp.Connect(String serverName, Int32 serverPort, TlsParameters parameters, FtpSecurity security)
--- End of inner exception stack trace ---
at Rebex.Net.Ftp.Connect(String serverName, Int32 serverPort, TlsParameters parameters, FtpSecurity security)
at FTP_Client.Form1.connect(Ftp ftp) in C:\Inetpub\wwwroot\Transcription Manager\Form1.cs:line 509
9/23/2010 12:34:18 PM Timeout exceeded while waiting for welcome message. Make sure you are connecting to an ordinary FTP or explicitly secured FTP/SSL server.
2010-09-23 12:34:32.531 Opening log file.
2010-09-23 12:34:34.062 ERROR Ftp(1) Info: System.InvalidOperationException: Not connected to the server.
at Rebex.Net.Ftp.cOUusW()
at Rebex.Net.Ftp.FileExists(String remotePath)
It is the code on line 509
ftp.Connect(Convert.ToString(regKey.GetValue("IPAddress")), Convert.ToInt32(regKey.GetValue("PortNo")), tlsParameters, FtpSecurity.Explicit);
Thanks & regards
Shwetamber Chourey
India