Re: Delete last uploaded file
I do not really understand your response. I mean the
-delete
.
-delete
.
-resume
and -resumesupport=on
?
-delete
switch?
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/command ^
"open ftp://XXXXXXX:XXXXXXX@192.X.X.X/ -rawsettings AddressFamily=1" ^
"lcd D:\SQLBackup\archive" ^
"cd /BACKUP/W_C" ^
"put -latest *.bak -resume -neweronly -speed=0 -resumesupport=on"