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

martin

Re: Transfer multiple files with automation

john23 wrote:

Is there a way I can move more then one file at a time?

Not using a single script. You can split your transfer into several batches and run them in parallel.
Guest

Re: Transfer multiple files with automation

john23 wrote:

I'm trying to keep a directory up-to-date on my server. For that every 10 minutes I have to transfer abut 380 files every 10 minutes (total size 65MB)

Now the problem is that with FTP (automation with keepuptodate script) it can transfer only one file at a time. Is there a way I can move more then one file at a time?

I have a 1Gbit server and home connection is about 20Mb but the transfer of each file happens only around 105KB.



.
Something like this would do it, modify for your purpose.

automate.bat
C:\"Program Files"\WinSCP\WinSCP.exe /script=putfiles
close
exit

putfiles
open sftp://logon:password@xxx.yyyy.com:port
option confirm off
option transfer binary
cd folder (remote folder)
lcd folder (local folder)
put -delete *.*

The above can be changed to get on the receiving side if you wish.
Just change put to get

.
john23

Transfer multiple files with automation

I'm trying to keep a directory up-to-date on my server. For that every 10 minutes I have to transfer abut 380 files every 10 minutes (total size 65MB)

Now the problem is that with FTP (automation with keepuptodate script) it can transfer only one file at a time. Is there a way I can move more then one file at a time?

I have a 1Gbit server and home connection is about 20Mb but the transfer of each file happens only around 105KB.