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: Looking to gain performance. Syncronize taking 2.5 hours

You will have to first find our what causes the synchronization to take so long.
Does it take WinSCP long to find what files has changed?
Or does it take long to transfer the changed files? Does it take long because of a bandwidth? Or because of a network latency? Etc, etc.

Only once you understand that, it makes sense to start with any optimization.
jduenas99

Re: Looking to gain performance. Syncronize taking 2.5 hours

martin wrote:

The synchronize command transfers newer files only on its own. That's the point of the command.

What are you trying to achieve?


As a new team member, i have been tasked to see we can speed up our nightly Sync process from
our Hosting web server to our production We server. 2.5 - 3 hours to sync up folders. Was hoping Compression would help with overall process. Thinking "only" new files after certain date as well from
source as to not need to compare each folder etc. Looking at packet size limits see if anything there i can tweak. Trying to stay with WinSCP instead of replacing with other options. Thank you
jose
martin

Re: Looking to gain performance. Syncronize taking 2.5 hours

The synchronize command transfers newer files only on its own. That's the point of the command.

What are you trying to achieve?
jduenas99

Looking to gain performance. Syncronize taking 2.5 hours

open sftp://.../ -rawsettings Compression=1 did not help like i was hoping.

Looking into another option that would like to try. Not clear/sure where to add

Raw Transfer Settings

Thought it would go at end of Synchronize command?

In scripting, use -rawtransfersettings

synchronize local..... -rawtranfersettings NewerOnly=1

I get this

Script: Too many parameters for command 'synchronize'.

txs again in Advance
martin

Re: /console /script automation for enabling compression

I have removed your post that contained my answer only. If you intended to actually post something, please try again.
jduenas99

/console /script automation for enabling compression

Team, looking for correct syntax/option to enable SSH "compression" via command line/script.

currently my script file contains.

option batch off
option confirm off
open sftp:.....
option transfer binary
synchronize local ...........


Is it as simple as option compression on?

ty
jd