Hi, For this you would use the FileReference in flash to upload and download a file to/from Red5, and with Red5 you would use a gateway servlet (HTTP protocol) along with the Apache commons-fileupload library. Make sure to use the "Streaming API" because flash, at least version 8, does not terminate the final MIME boundary causing a "Stream ended unexpectedly" exception. If you use the Streaming API you can grab the file before the exception occurs, and then catch and ignore the exception.
Downloading is going to be a lot easier than uploading, as described above. All you need to do is use the download function in FileReference to get the file from an HTTP protocol (default is on port 5080). -Luke On Aug 23, 2007, at 3:53 AM, Nauman Nasir wrote: > > Hello!!! > I want to develop, a netmeeting application. for that i > implemented the chat and video transfer... and its working fine. > but now i need to put a facility to transfer a file over the > network to other chatters..... i donot know how to implement that > thing... please tell me how to transfer a file from one client to > other... > i m using flash and red5 > -- > ************************************************* > The life is too short to Love. > I donot know how people manage to hate > ************************************************* > Ch. Nauman Bin Nasir > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
