Topic "Parallel Transfers Possible?"

Author Message
tbohon46

Guest


I have an sftp job running every morning that can have anywhere from 1 to 15 files to transfer. The files are extremely large and we've been having timeout problems.

To get around the disconnects and subsequent delays in the job I have winscp.com running from a batch file so that it opens a separate (new) session/connection for each file. So far that appears to work. However we're still looking at long transfer times because they process one at a time - first file completely transfers and ends the session, new session initiated and second file transfers then ends the session, etc.

Is there any way that I can force WinSCP to move the files in parallel, i.e., start transferring them all at once? I can do it manually but this has to be automated as my availability to do it each day isn't guaranteed.

Thanks in advance for any hints/ideas/suggestions.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
It is not possible.
_________________
Martin Prikryl
tbohon46

Guest


If you use a batch file with a for loop and a START command you can run sessions in parallel. For example the code below starts one (parallel) job for every file found in the working directory. Have had it up and running in production x1 week and it's working well.

Code:


CD d:\ftp\work88

for /f %%a IN ('dir /b *.zip') do (START winscp.exe /console /command "open Client44" "cd To_Be_Scored" "put -nopreservetime -nopermissions %%a" exit)

Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License