If you are doing what Miroslav said, I'd rather believe that it is your
'manual calculation' which is wrong. This should be with files of some size,
otherwise the difference might be related to different starting points
(e.g., with some firewalls that open/close ports automatically -but slowly-,
 passive mode can have quite different results for small files).

Why don't you check your transfer rate against the one that lftp or
filezilla report?






2011/8/10 Miroslav Pokorny <[email protected]>

> Dividing bits over seconds is quite simple, each xfer is not going to be
> exactly the same even if you send /get the same file from/to the same
> server. For whatever reason your xfer rates seem reasonable, so they are
> probably correct.
>
> On Wed, Aug 10, 2011 at 8:52 PM, bahar ertik <[email protected]>
> wrote:
>
> > I have tried that but this doesn't give the correct transfer rate.
> Because
> > the result I get is far away from the result I get when I do it manuallt,
> > stepwise!
> > Manually done the transfer rate for the put is 17.09 MB/sec and get 87.83
> > MB/sec.
> > Recording the time at start and end gives the result  put 11.11 MB/sec
> and
> > get 33 MB/sec.
> >
> > On Wed, Aug 10, 2011 at 10:45 AM, Miroslav Pokorny <
> > [email protected]> wrote:
> >
> > > Record the time at the start and end of the operation and divide tht
> with
> > > the file size.
> > >
> > > On Wed, Aug 10, 2011 at 5:50 PM, bahar ertik <[email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I am trying to transfer files from my server to a client using ftp in
> > > java
> > > > and this works without any problems.
> > > > My question is: Is there any way to find out the transfer rate, MB/s,
> > of
> > > > the
> > > > transfer?
> > > >
> > > > Best Regards
> > > >
> > >
> > >
> > >
> > > --
> > > mP
> > >
> >
>
>
>
> --
> mP
>

Reply via email to