Topic "FTPS Connection using implicit TLS"

Author Message
prasadmatkar
[View user's profile]

Joined: 2015-07-01
Posts: 3
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
SFTP.txt (54.8 KB) [Download]

Description: Debug file

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
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.
prasadmatkar
[View user's profile]

Joined: 2015-07-01
Posts: 3
prikryl 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.
prasadmatkar
[View user's profile]

Joined: 2015-07-01
Posts: 3
I have already attached the debug file in my first message. Is that not helpful?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
prasadmatkar wrote:
I have already attached the debug file in my first message. Is that not helpful?

I need the session log file too.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License