Topic "Error in reading folder which does not exist using winscp"

Author Message


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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
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.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License