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: 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" :)
irwright

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
irwright

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.