we are using session.SynchronizeDirectories() function within .NET, during Synchronization file from source directory successfully downloaded at destination within very short time but execution not finished and take lot of time to finalize.
is there any reason behind this are we missing something?
Please start a new thread and attach a full session and debug log files (using the latest version of WinSCP).
To generate the log files, set
Session.DebugLogPath. Submit the log with your post as an attachment. You may want to remove other data you consider sensitive though, 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 attachments as private.