How do I script WinSCP to only transmit specific files in a specific order
I have a task where a large file (300-500MB) must be sent to a remote directory, followed by three much smaller files (1K each). The files must be transmitted in a specific order, with the largest going first, followed by the remaining three. The order would look like this (for example):
001_Testfile_0001.zip
001_Testfile_0001.ack
04_Testfile_0001.csv
04_Testfile_0001.ack
I should add that the ZIP file has to be in place before the first ACK file, so the order above is important. I can't find anywhere in the help to advise how to write a script to do this with WinSCP. Is it possible? Any help would be appreciated. I'm new to SFTP and scripting in general, so please bear with me.
001_Testfile_0001.zip
001_Testfile_0001.ack
04_Testfile_0001.csv
04_Testfile_0001.ack
I should add that the ZIP file has to be in place before the first ACK file, so the order above is important. I can't find anywhere in the help to advise how to write a script to do this with WinSCP. Is it possible? Any help would be appreciated. I'm new to SFTP and scripting in general, so please bear with me.