Error in reading folder which does not exist using winscp

Advertisement

Mark1
Guest

Error in reading folder which does not exist using winscp

Reading files from the sFtp server using winscpnet.dll

it work fine when all folder exists.

In my case , List of folder from which to download the file created manually,
reading file using session.EnumerateRemoteFiles
if folder does not exist the error catches 'Log was closed already'.
And after this error no other folder or records can be read.
Need to re-run the application again.

Please help how to fix this issue

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Error in reading folder which does not exist using winscp

Please attach a full debug and session log file showing the problem (using the latest version of WinSCP).

To generate the log files, set Session.DebugLogPath and Session.SessionLogPath. Submit the logs with your post as an attachment. You may want to remove data you consider sensitive, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the logs publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum