Re: SynchronizeDirectories Path Error
First, you have the arguments (named?) wrong. It's
Then, your
This does not seem to be a WinSCP question, but generic programming issue. If you believe otherwise, please attach a full session log file showing the problem (using the latest version of WinSCP).
localPath, remotePath
, not the other way around.
Then, your
Config.remotepath
(which actually seem to contain a local path) probably contains that \u0027
. I'm not sure where/how did you get that error message. \u0027
is a single quote. But were it a single quote, it would probably be printed as an actual single quote. So maybe the Config.remotepath
actually contains that literal sequence "\u0027"
.
This does not seem to be a WinSCP question, but generic programming issue. If you believe otherwise, please attach a full session log file showing the problem (using the latest version of WinSCP).
To generate the session log file, set
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.