Topic "Transfer rates"

Author Message
jmsmny
[View user's profile]

Joined: 2014-05-09
Posts: 3
Sending multiple 20meg pdf files. Sent 9 files out of 36 in 3 hours. Trying to send the rest over a cable modem, even slower. Is there someway to change the script to increase the speed?

Sub BuildScript ()
fromFolder = PrintQueuePath
'build input file for ftp command
sFTPScript = sFTPScript & "option echo on" & vbCRLF
sFTPScript = sFTPScript & "option batch on" & vbCRLF
sFTPScript = sFTPScript & "option confirm off"& vbCrLf
sFTPScript = sFTPScript & "option transfer binary" & vbCrLf
sFTPScript = sFTPScript & "open sftp://" & "XX" & ":" & "XX" & "@" & "XX.XX.XXX.XXX" & " -privatekey=D:\Spool\VBControl\Policy_FTP\XXX_XXXX.ppk" & vbCrLf
sFTPScript = sFTPScript & "cd /Policies" & vbCrLf

sFTPScript = sFTPScript & "put " & fromFolder & "\*.pdf" & vbCRLF

sFTPScript = sFTPScript & "close" & vbCrLf
sFTPScript = sFTPScript & "exit" & vbCrLf
Set oFTPScript = oFTPScriptFSO.CreateTextFile(sFTPTempFile, True)
oFTPScript.WriteLine(sFTPScript)
oFTPScript.Close
Set oFTPScript = Nothing

End Sub



Sub SendFile()

sCmd = """C:\Program Files\WinSCP\WinSCP.com"" -script=" & sFTPTempFile

End Sub
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
The script is not deliberately decreasing transfer speed, so there's no configuration to increase it.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License