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

c20082005

Speed WinSCP.exe / WinSCPnet

Hello,

when downloading a 2GB file from an FTP server, I achieve 5 MB/s using WinSCP.exe; however, with WinSCPnet.dll and PowerShell, I only get 1.5 MB/s. Is this "normal"? If not - what can I change to get a higher download rate?
Regards,

Klaus

I used the following parameters:

$sessionOptions = New-Object WinSCP.SessionOptions

$sessionOptions.Protocol= [WinSCP.Protocol]::ftp
$sessionOptions.HostName=$WS_Host
$sessionOptions.PortNumber=$WS_Host_PortNumber
$sessionOptions.UserName=$WS_Host_UserName
$sessionOptions.Password=$passwd
$sessionOptions.FtpSecure=[WinSCP.FtpSecure]::Explicit
$sessionOptions.GiveUpSecurityAndAcceptAnyTlsHostCertificate=1
$sessionOptions.AddRawSettings("SendBuf", "0")
$sessionOptions.AddRawSettings("OptimizeBufferSize", "off")