3 Replies Latest reply on Apr 20, 2006 9:39 AM by spinmar

    Speed line

    spinmar Level 1
      Hi all,
      I read some messagges on yhis forum about how to discover download speed client.
      Well it's quite clear to me...
      So using a movieclip and loadmovie, with methods getBytesLoaded and getBytesTotal and getTimer I can discover download speed.
      But what is not clear to me is how to discover upload speed.
      For example http://www.speakeasy.net/speedtest/ ccan discover download and upload speed.
      Discovering upload speed ....
      Any hints?
      Can you give me some advice?

      Thanks

        • 1. Re: Speed line
          Level 7

          "spinmar" <webforumsuser@macromedia.com> wrote in message
          news:e1o6cb$83a$1@forums.macromedia.com...
          > Hi all,
          > I read some messagges on yhis forum about how to discover download speed
          > client.
          > Well it's quite clear to me...
          > So using a movieclip and loadmovie, with methods getBytesLoaded and
          > getBytesTotal and getTimer I can discover download speed.
          > But what is not clear to me is how to discover upload speed.
          > For example http://www.speakeasy.net/speedtest/ ccan discover download and
          > upload speed.
          > Discovering upload speed ....
          > Any hints?
          > Can you give me some advice?

          Pretty cool app, as far as display and presentation.

          For the upload speed....
          Without being positive, the first thing I would think of is using LoadVars
          to send some large amount of POST data to the server.



          • 2. Re: Speed line
            spinmar Level 1
            Well, I should be able to print the upload speed, so I shoud be able to get TotalBytes, bytes sent every X seconds.
            I think that Filereferce should be ok, but I don't understand how to choose a file without user. Being clear, I have a movieclip, so I should sent this to my server. Can I create a filereference with this movieclip?
            Loadvars seems to be fine but with the method sendAndLoad can you send a movieclip? Can you check the upload getting the bytes sent every X seconds?
            • 3. Re: Speed line
              spinmar Level 1
              Can I attach a listener to my Loadvars object?
              Can I send (with the method sendAndLoad ) a jpg file to my sever? In this way with the listener object (listener.onProgress) I could monitor upload process....
              What do you think?