FTPS Connection using implicit TLS

Advertisement

prasadmatkar
Joined:
Posts:
3

FTPS Connection using implicit TLS

Hi, I am using the following code to connect to FTP server that uses implicit TLS
SessionOptions sessionOptions = new SessionOptions
{
Protocol = Protocol.Ftp,
HostName = uploaderConfiguration.FtpServer,
UserName = uploaderConfiguration.FtpUserName,
Password = uploaderConfiguration.FtpPassword,
FtpSecure = WinSCP.FtpSecure.Implicit,
GiveUpSecurityAndAcceptAnySslHostCertificate = true,
PortNumber = 990
};
After doing session.PutFiles I call trasferResult.Check() and that is when I get following exception - {WinSCP.SessionRemoteException: Error transferring file 'c:\test\Test_ForexRates_20150625.txt'. ---> WinSCP.SessionRemoteException: Copying files to remote side failed.
The specified network name is no longer available.

Could you please let me know what that means and what is causing this. The WINSCP DLL version is 5.5.6.0
I have also attached the debug file
Description: Debug file

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,095
Location:
Prague, Czechia

Re: FTPS Connection using implicit TLS

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

prasadmatkar
Joined:
Posts:
3

Re: FTPS Connection using implicit TLS

martin wrote:

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

I have already attached the debug file in my first message.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,095
Location:
Prague, Czechia

Re: FTPS Connection using implicit TLS

prasadmatkar wrote:

I have already attached the debug file in my first message. Is that not helpful?
I need the session log file too.

Reply with quote

Advertisement

You can post new topics in this forum