Speed WinSCP.exe / WinSCPnet

Advertisement

c20082005
Joined:
Posts:
1
Location:
Deutschland

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

Reply with quote

Advertisement

You can post new topics in this forum