Background transfers with a script

Advertisement

irwright
Joined:
Posts:
2
Location:
United Kingdom

Background transfers with a script

Hi
I am uploading a large number of small files using FTPS via a script, once a week.

I am trying to find how to select background transfers with the script.

Using the GUI:
Preferences/Transfer/Background/"Transfer on background by default"

With the setting off the GUI speed matches what I am getting using a script.
With the setting on, the GUI speed is approximately 10 times faster.

Currently it takes 20 hours for 100,000 files with the script.

Reply with quote

Advertisement

irwright
Joined:
Posts:
2
Location:
United Kingdom

Re: Background transfers with a script

Thank you very much for your quick reply.

So far I've avoided C#, powershell, etc, using only Windows CMD batch commands - I haven't coded properly for 20 years.
Although I can probably extract the relevant features from the code you linked to, it seems like the proverbial "sledgehammer to crack a nutshell".

Currently it only requires a few lines, which works, albeit slowly, even for a nested directory structure.

e.g.
open ftps://!Login! -rawsettings FtpForcePasvIp2=0 SendBuf=0 SshSimple=0 -explicit
put -delete -resume -noPreserveTime -transfer=binary TEMP\*.* %RemoteFolder%/ARCHIVE/

Can it be requested as a future feature?
It seems like fairly fundamental functionality.

Thanks for your help

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Background transfers with a script

irwright wrote:

Can it be requested as a future feature?
It seems like fairly fundamental functionality.
Sure we will consider it.
Though it's the proverbial "Pandora's box" :)

Reply with quote

Advertisement

You can post new topics in this forum