WinSCP does not support move command for local files. Instead you can combine WinSCP script with batch file:
option batch abort option confirm off # Connect open mysession # Upload the files put *.*
Launch the above script from batch file like the one below:
winscp.com /script=example.txt if errorlevel 1 goto error echo Upload succeeded, moving local files move *.* c:\backup\ exit :error echo Upload failed, keeping local files
Site design by Black Gate