Using WinSCP for synchronisation
Hello!
I'm trying to use WinSCP synchronisation my project files with my remote server. I can create a folder at my local server, so it must be created at the remote server too after synchronisation. I'm using mkdir for every single file to create its folder if it isn't created yet. But if the folder exists, I've got an error that it's already exists (of course, because it's exists). I'm using
option before mktime, and
after. It's helped, but error message is shown all the same. Is there is way not to try to create a folder when it's exists, or flags to supress this error message, looks like -no-messages or -auto to automatic sunchro the files or something like this...
Thanks a lot!
P. S. And yes, I've read the https://winscp.net/eng/docs/script_checking_file_existence. There is so many files and I think it must be so slow to start WinSCP to check for every dir.
I'm trying to use WinSCP synchronisation my project files with my remote server. I can create a folder at my local server, so it must be created at the remote server too after synchronisation. I'm using mkdir for every single file to create its folder if it isn't created yet. But if the folder exists, I've got an error that it's already exists (of course, because it's exists). I'm using
option batch continue
option batch abort
Thanks a lot!
P. S. And yes, I've read the https://winscp.net/eng/docs/script_checking_file_existence. There is so many files and I think it must be so slow to start WinSCP to check for every dir.