Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Re: Timed execution of multiple commands

Thanks not what I'm finding.
The date/time stamp of the TIF file once to the SFTP site is later than the date/time stamp of the TXT file, even when the put for the TIF is executed first (as in my example).
martin

Re: Timed execution of multiple commands

That's what it does. WinSCP executes the commands one-by-one. No parallel transfers (or anything else) ever happens in WinSCP scripting.
todda.jones@kmbs

Timed execution of multiple commands

Thanks for all your input Martin!

I am running a script that has the following commands:
put -delete *.tif<=1N
put -delete *.txt<=2N

The tif file in question is considerably larger than the text file, so it takes longer to upload to the SFTP site in question. However, the tif file is needed in order to process the text tile successfully.

Is there a command for the script to wait until the first command is successful prior to the second commend executing?
Or a confirmation command of some sort?

Thanks.