hello, Iw ant to put files with winscp.com on a normal ftp-server. But i want that it only copy new files and skip existing files.
But if i use this script:
option batch on
option confirm off
open ftp://xxx:21
put e:\BackupServerD\Archiv\
exit
it will overwrite the existing files.
Maybe my english isnt good enought to understand but i have read :
By default an interactive mode is used (the user is prompted in the same way as in GUI mode). To switch to a batch mode (all prompts are automatically answered negatively) use the command option batch on. For the batch mode it is recommended to turn off confirmations using option confirm off to allow overwrites (otherwise the overwrite confirmation prompt would be answered negatively, making overwrites impossible).
I tought if i dont use the "option confirm off" it just will skip the file, but instead the script stops at the first existing file with a abordcommand. So, how can i automatically skip a file ?
the /syncronize option ist to slow for me, so i dont use it because winscp doent repeat if the connection is lost...
Maybe someone can help me...