Topic "IsSuccess = true - but no file uploaded"

Author Message
[View user's profile]

Joined: 2014-04-28
Posts: 1
Hi, I'm using the WinSCPnet.dll to upload some files to a list of hosts, using a C# application. After I call the PutFiles() method, I follow-up with a Check(), and at this point the IsSuccess flag is 'true', in the trnResult.Transfers I have the list of transfered files, with no Failures, but when I connect with WinSCP (GUI) I cannot find the files. I have double-checked the directories, just to make sure, and they're ok.

I'm using Windows Server 2003, with .net framework 4 installed.

NOTE: Even if I go in the installation directory of my app, and upload the files using the WinSCP.exe, it works - only when I try to do it programatically it fails.

Any ideas? Neutral

Thank you!
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please post a log file showing both upload using .NET assembly (Session.SessionLogPath) and GUI.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License