Problem during download of files

Advertisement

LiTe
Guest

Problem during download of files

Hi,
I have some problems with downloading folders with files from a SFTP server over WinSCPnet.dll.
The download stops in the middle of the process without any error, and in the end, the files are missing from the target directory or are present but with incorrect extensions.
I've tried out several methods (GetFiles, GetFile, GetFilesToDirectory) and all produce the same results. I've also used the Check method for TransferResult. There are no exceptions thrown and the Windows event log doesn't show anything either.
I've attached the debug and session log with some data redacted for legal reasons.

Best regards
LiTe

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,852
Location:
Prague, Czechia

Re: Problem during download of files

Neither log is complete. Was WinSCP process still running at the time you have collected the logs? Or was the process somehow killed? How are you using the .NET assembly?

Reply with quote

LiTe
Guest

Re: Problem during download of files

It's hard to say if process still running, the code is executed in the background. So we also had the idea, that probably the process is killed, but we are missing any information for this.

The .NET assembly is loaded into a wrapper over nuget and than we pass through the calls over the wrapper. The wrapper is just an abstraction to enable unit testing.

Best regards
LiTe

Reply with quote

martin
Site Admin
martin avatar

Re: Problem during download of files

Cannot you check running processes?
Sorry, but "wrapper" is not very useful description of the environment in which the assembly is used. Please be much more specific.

Reply with quote

Advertisement

You can post new topics in this forum