I have asked for WinSCP session log file.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Session.GetFiles()
detects the changed files, but it did not sync/ or copy in the local server (on my local computer).
session.SynchronizeDirectories()
method to synchronise my local server. Here the problem is setting time zone offset for day light saving. I can't see any option for setting this in the code. I set transfer options.FileMask = ">2022-04-04"
. This did not work either. Do you know the reason why it is not working?
Session.GetFiles
does not do any "modified files" detection, at least not with the default settings.
Session.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. 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 log publicly, you can mark the attachment as private.GetFiles()
in Session
class.
GetFiles()
method detects the modified files, but it does not transfer the file from the remote server to the local server. I don’t understand the reason. Has any of you experienced this problem, if so how you resolved this.
transferResult = s.GetFiles(ps.f_remote, ps.t_local, false, transferOptions);
transferResult.IsSuccess
was set and transfer count was nonzero, but no file was copied in the local server. Do you have any idea why it fails to copy in the local server?