Topic "SynchronizeDirectories transfer speed limit"

Author Message
[View user's profile]

Joined: 2013-07-16
Posts: 2
Is it possible to set the transfer speed limit for synchronizing directories using the .net assembly?

In the output it looks like it's running the synchronize scripting command, which has the -speed switch. Is it possible to add the switch to the command somehow, or is it not implemented?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
Location: Prague, Czechia
This is not supported with .NET assembly yet. But you can easily add it as the assembly is open source.
See similar example:

Anyway, this request has been added to the tracker:
[View user's profile]

Joined: 2013-07-16
Posts: 2
Ah, I didn't know the source was available for the assembly.

I've attached how I implemented it. Added an int property called TransferSpeed, setting it as zero when initializing the TransferOptions, then later if TransferSpeed is greater than zero it will add the switch.
TransferOptions.cs (2.73 KB) [Download]

Description: (none)


You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License