Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I'm new here and I'm a linux newbie I have to test the upload/download speed of the ftp server, I use ftp command "get" and "put" to test the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    4

    Asking about FTP command


    Hello, I'm new here and I'm a linux newbie

    I have to test the upload/download speed of the ftp server, I use ftp command "get" and "put" to test the speed, but the result is 4.3e_02 seconds (2.3e+02 Kbytes/s), how can I change them to a format that human can read (maybe change it to MB/s)?

    Thanks so much

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,529
    2.3e+02 KBps = 230 KBytes per second

    IE, about 2 mbps
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    It is reporting the rate in scientific notation (God knows why). See here and here for more info about ftp and SN.

    To convert to MB, first convert from SN to floating point, then divide by 1024 to get MB/sec.

    OR, just use wget (or probably anything else, lftp, ncftpget) which uses nicer output to display speed, e.g.:

    Code:
    wget ftp://server/path/to/file.txt

  4. #4
    Just Joined!
    Join Date
    Jun 2011
    Posts
    4
    thanks for the reply and advice
    Finally know what e+02 means, and I'm going to use wget-wput if I have to test the speed next time

    thanks so much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •