Possible to script sessions in parallel?

Advertisement

Kenundrum
Joined:
Posts:
1

Possible to script sessions in parallel?

Hi-
I'm trying to script file transfers that go to about 20 different sites. They have somewhat limited bandwidth but the central location has lots. when i'm in the GUI mode, i can connect to the sites and begin multiple transfers in the background in the queue. When i do the same thing using a script, everything happens in sequence, so it takes a much longer time to run- albeit with no interaction by me.
Is there a way to create a script that can open multiple sessions and then run commands in parallel? or would i be better off working some sort of magic in dos creating a batch that just calls multiple instances of winscp at the same time?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Possible to script sessions in parallel?

No it is not possible to transfer several files in parallel from script.
Of course you can run more instances of WinSCP. You can use windows shell command "start" for that.

Reply with quote

Advertisement

You can post new topics in this forum