Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: Monitor the progress of sending a file to client

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Thanked 0 Times in 0 Posts

    Default Monitor the progress of sending a file to client

    I am using a Java module in Wowza server (rtmp protocol) to send a bytearray
    to the client application (AS3).
    I need to Monitor the download of this file and the client application(AS3) does not allow it: There is a known bug in AS3 that prevents access to the Loader class when uploading certain files, if the loading of the file has not completed.
    Would it be possible for the server side Java script to somehow send the client some information about the "sending" of the file ?
    Does someone have any other idea how I "help" the client get progress information ?
    The Java wowza module is using the following line to send the bytearray:

    sendResult(client, params, AMFDataByteArray.wrap(fileBytes));

    I will be grateful even for a general answer such as: yes, it can be done and you should use the following mechanism, etc.
    Last edited by adumi; April 17th, 2010 at 07:04 AM.

Similar Threads

  1. [Swing-Progress Bar] Can't resize progress bar
    By Grabar in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 14th, 2010, 12:27 PM
  2. progress bar problem
    By LeonLanford in forum AWT / Java Swing
    Replies: 4
    Last Post: October 24th, 2009, 07:14 AM
  3. Download a file to client from server
    By mvittalreddy in forum Java Networking
    Replies: 4
    Last Post: October 5th, 2009, 04:23 AM
  4. sending an email with pdf file everyday
    By pradeepptp in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: June 21st, 2009, 10:49 AM
  5. Progress bar while uploading a file in web application
    By jazz2k8 in forum AWT / Java Swing
    Replies: 4
    Last Post: July 8th, 2008, 07:32 AM