I have a process that will generate anywhere between 5 and 17 files nightly. These files will have to be uploaded in a certain order. Since I cannot predict which files will be generated nightly I have hard time figuring out how to write a script to upload files in correct order. In what order, by default, does WinSCP upload files? Does it use timestamps and go in ascending order?
What would happen if I have a command in the script to upload a file that doesn't exist? Will the whole process fail?
Thanks for the help!
Reply with quote