Problem with sending files to the Nas
When starting .bat error occurs
Please tell me who knows.
For example, someone has a file open. How can I write in the script so that such errors are ignored and files are skipped. The script itself:The process cannot access the file because this file is occupied by another process.
option batch on option confirm on open sftp://sshd:[email protected] cd / synchronize remote \\dc\Рабочая_new /mnt/HD/HD_a2/BackUpShare/ echo %TIMESTAMP#YYYY-MM-DD HH:NN:SS% close exit