Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

bhadari

Re: parallel file copy

martin wrote:

Separate your script into two and run them in parallel.


Same was implemented. Thanks for the quick reply :)
martin

Re: parallel file copy

Separate your script into two and run them in parallel.
bhadari

parallel file copy

Hi Team,
I am using a winscp script to copy log file from multiple unix servers.

snippet:
option batch abort

option confirm off

open sftp://user:password@mysite1 -hostkey="xxx-xxx 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
cd /
cd /xxx/xxx
lcd c:\logs
option transfer binary
get SystemOut.log
close

open sftp://user:password@mysite2 -hostkey="xxx-xxx 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
cd /
cd /xxx/xxx
lcd c:\logs
option transfer binary
get SystemOut.log
close

---




But the log files are huge in size and it is taking very long time to copy 8 files from 8 servers.

Is there any way to copy all the files (which are located on different servers) parallely, instead of sequentially?