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.