2

I am looking for a program that can test the connection speed (upload and download) between my computer and an FTP or SFTP server. The program should have as many following features as possible (approximately in descending order of priority):

  • can do a speed test of several FTP/SFTP servers sequentially
  • log all speed tests
  • can be set to run every X hours
  • can raise an alert (email/popup/etc.) if the speed is below a certain threshold (e.g. download below 500 KB/s)
  • works with Windows 7 SP1 x64 Ultimate
  • free

To perform the speedtest I can leave a large file (like 1GB) on each server.

Right now I simply use some usual FTP client (namely FileZilla FTP client) to test the speed of the servers, which is not very convenient. I don't have access to some of the FTP/SFTP servers so the speed test program has to be client-side.

  • 1
    Just script wget and cron. I could help you if this were Linux, it would be a matter of a few lines of script. I'm certain that Windows must have some equivalent. – dotancohen Jun 22 '14 at 5:30
  • 1
    Are you interested in throughput, latency, reliability? – Nicolas Raoul Jun 23 '14 at 2:10
  • The main priority is the throughput (by speed testing I meant measuring the throughput). Latency and reliability could be interesting as well but that's low priority. – Franck Dernoncourt Jun 23 '14 at 2:21
2

Install python then using urllib.urlretrieve you can do some thing like:

import urllib
import datetime

urls = ['ftp://someserver/path/to/file', ....]
times = []

for url in urls:
   started = datetime.datetime.now()
   urllib.urlretrieve(url, '/tmp/saved.bin') # You may wish to add a callback to time out slow connections
   ended = datetime.datetime.now()
   times.append(ended-started)
# Generate your log here
0

If you are willing to write few lines of script code, then you may consider Syncplify.me FTP Script. Its editor comes with a handy "wizard" that builds common test case scenarios for you, then you only have to customize such scripts for your own needs. Script execution can then be scheduled using the Windows scheduler. And it's free for personal use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.