Jump to content

FTP upload speed


H3x
 Share

Recommended Posts

I've been looking around and I was wondering if there

was a way I could find out the speed which I'm uploading?

I'm using _FTP_ProgressUpload() from FTPEx.au3

and I need to find out how fast it's uploading

in kbps. Any direction or help is much appreciated.

=)

- H3x

Link to comment
Share on other sites

$CUR_Time = _Timer_Init()
    If $CUR_Time > $StartTime + 1000  Then
        $CUR_Size = ( $FileSize * $Percentage ) / 100
        $Size = $FileSize - $CUR_Size
        $Size = $CUR_Size / 1024
        GUICtrlSetData( $UDFileSpeed, Round( $Size, 1 ) & "/kbps" )
        $StartTime = _Timer_Init()
    EndIf

Meh, I've got myself completely confused on how this is going to work.

I'm looking to get the download speed but I'm getting inconsistent

numbers... as the download progresses the kbps decreases...

Any help would be great.

- H3x

Edited by H3x
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...