Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
LiTe

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
martin

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

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