IsSuccess = true - but no file uploaded

Advertisement

danie.doboseru
Joined:
Posts:
1

IsSuccess = true - but no file uploaded

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? :|

Thank you!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: IsSuccess = true - but no file uploaded

Please post a log file showing both upload using .NET assembly (Session.SessionLogPath) and GUI.

Reply with quote

Advertisement

You can post new topics in this forum