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

shcsbaker

Thanks!

Awesome! Thanks for the help! Just what I needed.
martin

Re: Powershell limit speed

$transferOptions = New-Object WinSCP.TransferOptions

$transferOptions.SpeedLimit = xxx
$session.PutFiles("C:\BackupTemp\*.rar", $remotePath1, $False, $transferOptions).Check()

See https://winscp.net/eng/docs/library_transferoptions

You need to use 5.6.x to have the SpeedLimit.
shcsbaker

Powershell limit speed

I'm trying to use the -speed switch and not sure how that works with powershell. Here is part of the code:

$session.PutFiles("C:\BackupTemp\*.rar", $remotePath1).Check()

Thanks
Kevin