synchronize locally any directory with remote directory
Hi there,
It is the first time I use winscp, and I am a rookie. I'm trying to run the process as indicated in the help guide called "Shortcut to synchronize locally any directory with remote directory", but do not understand the section that says "First create wrapper batch file to store the paths you want to synchronize into environment variables".
How and where you create this batch file?
Could you show me an example as shown in this help section ??
And it would be possible to use this batch file wrapper in .NET Assembly ??
Examples:
For C #
This:
Or to VB.Net
This:
Thank you !!!
It is the first time I use winscp, and I am a rookie. I'm trying to run the process as indicated in the help guide called "Shortcut to synchronize locally any directory with remote directory", but do not understand the section that says "First create wrapper batch file to store the paths you want to synchronize into environment variables".
How and where you create this batch file?
Could you show me an example as shown in this help section ??
And it would be possible to use this batch file wrapper in .NET Assembly ??
Examples:
For C #
This:
For this:SynchronizationMode.Remote, @"d:\www","/home/martin/public_html ", false);
(I Do not know if the syntax is correct)SynchronizationMode.Remote,wrapper batch file, false);
Or to VB.Net
This:
For this:SynchronizationMode.Remote, "d:\www","/home/martin/public_html",False)
(I do not know if the syntax is correct)SynchronizationMode.Remote, wrapper batch file, False)
Thank you !!!