2016年3月24日 星期四

Hinet FTP測試程式 Stress test

1. 測試網路流量可以透過Hinet的FTP伺服器來測試,以下是上傳下載的帳號密碼
2. 利用命令提示字元,ftp ftp.speed.hinet.net,帳號密碼為ftp:ftp。
C:\Users\user>ftp ftp.speed.hinet.net
已連線到 ftp.speed.hinet.net。
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 99 of 1000 allowed.
220-Local time is now 20:02. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 2 minutes of inactivity.
使用者 (ftp.speed.hinet.net:(none)): ftp
331 User ftp OK. Password required
密碼:
230-User ftp has group access to:  ftp
230 OK. Current restricted directory is /
ftp>
下載一個1M的檔案
ftp> get test_001m.zip
200 PORT command successful
150-Connecting to port 59437
150 1025.3 kbytes to download
226-File successfully transferred
226 0.622 seconds (measured here), 1.61 Mbytes per second
ftp: 1049903 位元組已接收,時間: 0.74秒數 1413.06KB/sec。
上傳一個1M的檔案
ftp> put test_001m.zip
200 PORT command successful
150 Connecting to port 60389
226-File successfully transferred
226 2.800 seconds (measured here), 366.18 Kbytes per second
ftp: 1049903 位元組已傳送,時間: 2.79秒數 376.71KB/sec。
3. 透過updownload-loop.bat重複呼叫updownload.txt,來重複上傳下載檔案的測試
新增一個txt檔updownload.txt,內容為測試步驟
open ftp.speed.hinet.net
ftp
ftp
hash
ls
get test_020m.zip
put test_020m.zip

bye
新增一個為bat檔為updownload-loop.bat,去執行updownload.txt的內容。
:123
ftp -s:updownload.txt
goto 123
4. 參考來源
http://speed.hinet.net/ftptest.htm

沒有留言:

張貼留言