Re: Perl + FTP + Windows -- Unable to capture the rate of Data Transfer.

From: Ben Morrow (usenet_at_morrow.me.uk)
Date: 02/23/04


Date: Mon, 23 Feb 2004 19:27:15 +0000 (UTC)


anand_rectian@yahoo.co.in (Anand Kumar V) wrote:
>
> I want to write a Perl code which does FTP to a server, does data
> transfer in both directions (get and put) and capture the rates in
> which data is getting transfered.
>
> I got the FTP module Net::FTP to open, get and put the files. But I am
> not able to capture the data rate in the Perl Module. Is there any
> method that supports this feature ?.
>
> The data rate (speed) is displayed normally when you run a FTP client
> in Windows platform.

See the thread http://groups.google.com/groups?
threadm=75e50dfd.0402031135.76d6e599%40posting.google.com
(excuse the wrapping) where there were two methods given for setting a
callback for every Kb of data transferred; from this and the time taken
you can calculate the data transfer rate.

Ben

-- 
               We do not stop playing because we grow old; 
                  we grow old because we stop playing.
                            ben@morrow.me.uk


Relevant Pages

  • Re: Hipersockets performance
    ... What sort of data rate do you see just copying this file to another using ... I have also had customers come to me with issues about slow FTP performance ... Also note that hipersocket performance is affected by CPU utilization ...
    (bit.listserv.ibm-main)
  • Re: Perl + FTP + Windows -- Unable to capture the rate of Data Transfer.
    ... >I want to write a Perl code which does FTP to a server, ... >transfer in both directions and capture the rates in ... >not able to capture the data rate in the Perl Module. ... >The data rate is displayed normally when you run a FTP client ...
    (comp.lang.perl.misc)
  • Perl + FTP + Windows -- Unable to capture the rate of Data Transfer.
    ... I want to write a Perl code which does FTP to a server, ... I got the FTP module Net::FTP to open, ... not able to capture the data rate in the Perl Module. ...
    (comp.lang.perl.misc)