Posted: 2015-04-17 15:20
I am doing somthing very simple: I have a batch upload.bat
if %ERRORLEVEL% neq 0 goto error
blat -body "OK" -subject "WinSCP Success" -to email@example.com
blat -body "FEHLER" -subject "WinSCP Fehler" -to firstname.lastname@example.org
and the script file
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
# Upload new files
synchronize remote -criteria=time -transfer=binary -filemask=*.jpg D:\UPLOAD /IMAGES
Basically, it works. The Problem is that winscp after execution won't return the prompt to the batch (it does not terminate) and batch processing stops.
I can not figure out what ist wrong.
Thank you in advance for help
Location: Prague, Czechia
You have to add an
You can post new topics in this forum
And it's free!