Topic "IsSuccess = true - but no file uploaded"

Author Message
danie.doboseru
[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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please post a log file showing both upload using .NET assembly (Session.SessionLogPath) and GUI.
_________________
Martin Prikryl
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