Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Post a message here if you find anything wrong in ScriptFTP.
Below are two log file segments:
Code: Select all------------------------------ - File Size: 37535 Downloading................. door_20110910101000.jpg - File Count: 1 Elapsed: 41 Deleting remote file.......... door_20110910101000.jpg ------------------------------ - File Size: 37097 Downloading................. door_20110910101002.jpg - File Count: 2 Elapsed: 67 Deleting remote file.......... door_20110910101002.jpg ------------------------------ - File Size: 37114 Downloading................. door_20110910101009.jpg - File Count: 3 Elapsed: 96 Deleting remote file.......... door_20110910101009.jpg ------------------------------ - File Size: 37399 Downloading................. door_20110910101025.jpg - File Count: 4 Elapsed: 128 Deleting remote file.......... door_20110910101025.jpg ------------------------------ - File Size: 37723 Downloading................. door_20110910101144.jpg - File Count: 5 Elapsed: 162 Deleting remote file.......... door_20110910101144.jpg ------------------------------ - File Size: 37833 Downloading................. door_20110910101453.jpg - File Count: 6 Elapsed: 193 Deleting remote file.......... door_20110910101453.jpg ------------------------------ - File Size: 37730 Downloading................. door_20110910101456.jpg - File Count: 7 Elapsed: 221 Deleting remote file.......... door_20110910101456.jpg ------------------------------ - File Size: 37093 Downloading................. door_20110910102435.jpg - File Count: 8 Elapsed: 252 Deleting remote file.......... door_20110910102435.jpg ------------------------------ - File Size: 37780 Downloading................. door_20110910102443.jpg - File Count: 9 Elapsed: 291 Deleting remote file.......... door_20110910102443.jpg ------------------------------ - File Size: 36984 Downloading................. door_20110910102445.jpg - File Count: 10 Elapsed: 323 Deleting remote file.......... door_20110910102445.jpg
and
Code: Select all------------------------------ - File Size: 256500 Downloading................. gate_11091006191600.m4f - File Count: 1 Elapsed: 42 Deleting remote file.......... gate_11091006191600.m4f ------------------------------ - File Size: 323256 Downloading................. gate_11091006191601.m4f - File Count: 2 Elapsed: 70 Deleting remote file.......... gate_11091006191601.m4f ------------------------------ - File Size: 247132 Downloading................. gate_11091006191602.m4f - File Count: 3 Elapsed: 97 Deleting remote file.......... gate_11091006191602.m4f ------------------------------ - File Size: 244980 Downloading................. gate_11091006191603.m4f - File Count: 4 Elapsed: 126 Deleting remote file.......... gate_11091006191603.m4f ------------------------------ - File Size: 246072 Downloading................. gate_11091006191604.m4f - File Count: 5 Elapsed: 161 Deleting remote file.......... gate_11091006191604.m4f ------------------------------ - File Size: 253744 Downloading................. gate_11091006191605.m4f - File Count: 6 Elapsed: 192 Deleting remote file.......... gate_11091006191605.m4f ------------------------------ - File Size: 246892 Downloading................. gate_11091006191606.m4f - File Count: 7 Elapsed: 222 Deleting remote file.......... gate_11091006191606.m4f ------------------------------ - File Size: 249968 Downloading................. gate_11091006191607.m4f - File Count: 8 Elapsed: 253 Deleting remote file.......... gate_11091006191607.m4f ------------------------------ - File Size: 244848 Downloading................. gate_11091006191608.m4f - File Count: 9 Elapsed: 293 Deleting remote file.......... gate_11091006191608.m4f ------------------------------ - File Size: 724692 Downloading................. gate_11091006191609.m4f - File Count: 10 Elapsed: 329 Deleting remote file.......... gate_11091006191609.m4f
Note the elapsed times. Both log files were run at the same time (two cmd sessions and I had a torrent going). Note that each file d/l takes about the same amount of time even though the "gate" files are about ten times larger. ScriptFTP seems to take a lot of time just connecting to the FTP server.

Not really a big issue, but interesting. Though for a lot of files it could make a large difference.
Hello Bucket,

Thanks for reporting this. We are already aware of the longer download times that ScriptFTP has in some configurations. It seems that it is because ScriptFTP uses the same process for managing the data transfer and updating the user inteface. The command line version of ScriptFTP does not have this problem.
The command line version of ScriptFTP does not have this problem.
This is the command line version.

I don't think it is the d/l portion, but rather the portion that sends commands to the FTP server. I watched the output of the script and it seemed to take several seconds for each server command (I know that the torrent was saturating the Internet connection which explains the several seconds).

But the delay was the same for each session. Yet the actual d/l took the same amount of time, so that the aggregate time for each file transfer was about the same even though one file was about 10 times larger.
I have the same problem, over 30 seconds for a 4kb file. I'm using the command line and FTPS_EXPLICIT_ENCRYPT_DATA. The same file can be uploaded by SmartFTP (which we use for manual uploads) using FTPS in about a second.

Is there any fix for this yet..?
I just had about 500 files to d/l. These are about 35-45K.

I have an estimator for ScriptFTP which calculates the estimated time to completion (all files d/l and deleted from the server). The estimator showed about 22 minutes for this session (it is quite accurate as manual timings have shown).

I then killed the ScriptFTP session and used Filezilla to transfer the files and delete them from the server. This took 3 minutes. Now Filezilla uses three threads for the d/l, so three minutes times three threads would be about 9 minutes if there was only a single thread.

This would indicate that Filezilla is roughly 240% faster :shock: .

I sometimes have upwards of 1,500 files to d/l, so this can add up to quite a difference in times.

ANY improvement in speed would be greatly appreciated.
This problem has been fixed in the version 4 Beta