Posted: 2012-04-26 16:19
I am having trouble setting up bat driven synchronization.
First off - I know I should post a log, but I am unable to get that to work
Here is my bat
winscp.com /script=synchronize.script /log=Sync.log /parameter %1 "/var/www/%~n1%~x1"
Here is my script
# Being intended for interactive session, we are not enabling batch mode
# Synchronize paths provided via environment variables
synchronize remote "%1%" "%2%"
cmd window pops up and immediately closes - no synchronization takes place
log file does not appear with in send to where the script lives
log file does not appear in parallel with dir I tried to syncrhonize
log file does not appear within the dir I tried to synchronize
log file does not appear at the drive root where I tried to syncronize
placing the log command after the params for the script does not change the behaviour
assistance is most welcome
Location: Prague, Czechia
Run the winscp.com from cmd.exe console window to see the output.
You can post new topics in this forum
And it's free!