ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Post here if you experience file transfer problems or unexpected errors.
We are using the Script FTP tool for uploading files to our FTPS server with a 100MB connection. Although the server has a 100 mb connection the upload is limited at 1MB/sec. When i try to upload the same file with Filezilla i get an upload speed from 6 MB/sec. I tried to use the setspeed function but that does't help.
What is limiting the upload speed?

Greetings,
Arjan de Vries
Hello,

What is the parameter you are using with the SETPROTOCOL command.

Regards.

Zythan
SETUPLOADMODE(DIRECT)
SETPROTOCOL(FTPS_EXPLICIT_ENCRYPT_DATA)
OPENHOST('.......","......","......")
PUTFILE("C:\Documents and Settings\administrator\Desktop\games_test.7z",SUBDIRS)

Thanks for your effort...

Arjan
Last edited by freez on 22 Feb 2010, 13:27, edited 2 times in total.
Hello,

Try removing the "SUBDIRS" parameter from the PUTFILE command, since you would appear only to be uploading one file.

Is your FTPS server running on WIN32 or something else ?

Would you also run the script in VERBOSE mode and post the log.

Regards.

Zythan
When i look with verbose logging i can see that FileZilla and ScriptFTP are using the same commands for the upload and encryption. In this case a simple STOR command is used.

Also the CPU is not the bottleneck. I'm running it on a fast Window 2003 R2 sever (32 bit).

The FTPS server is an Unix server with vsftp. But that seems not to be the problem because the Filezilla client does seems to work 6 times faster on the same machine with the same FTP commands.

Thanks for your effort...

Arjan
I have done all kind of tests and it still seems there is an issue with ScriptFTP upload speed on my Windows 2003 server (VMware). I tried plain FTP and also FTPS but that does not matter.

--------- Upload speed to FTP server1 from several clients ---------
FTP clients on Server1(W2k3), Client1(WinXP), Server2(W2k3)

FileZilla 5 MB/s  7 MB/s 6 MB/s
ScriptFTP  1 MB/s  8 MB/s 1 MB/s

--------- Upload speed to FTP server2(different & better network connection) from several clients ---------
FTP clients on Server1(W2k3), Client1(WinXP), Server2(W2k3)

FileZilla 26 MB/s 16 MB/s  35 MB/s
ScriptFTP  14 MB/s 10 MB/s  14 MB/s
Done some more tests:

I have a Windows 7 Machine with also an upload speed from 1 MB/sec.

On this machine I host an virtual machine with XP. And now it comes:

In Bridged mode the virtual machine uploads also with 1 MB/sec.
In NAT mode the virtual machine uploads with 8 MB/sec!

It looks like some network parameters are changed that causes the upload speed to drop to only 1 MB/sec.

Greetings,
Arjan de Vries
I finally solved it!

After adding this registry key(and reboot) the speed increased from 1 MB/sec to 5 MB/sec on my W2k3 server:

Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters
Dword: DefaultSendWindow
Value: 64512

This links about it:
http://support.microsoft.com/kb/823764/
http://support.microsoft.com/kb/950326/
http://forum.filezilla-project.org/view ... f=6&t=3641
http://social.technet.microsoft.com/For ... 73b4cf07f0

Any comments Carlos?