23 June 2008
Uploading files to the server (PDF, 111K)
Uploading and downloading files from the client to the server are operations that are often indispensable in an application. Uploading files that reside on the client's computer is a feature on which many web applications have founded their success. Would YouTube or Flickr (two of the most well-known web applications) be as successful if they did not offer the possibility of uploading files from the user's computer to the web server?
Flex and Flash Player allow developers to create upload and download functions through the FileReference class. Each file that is selected by the user represents a FileReference object and contains the information relative to the file size, type, name, creation date, and modification date.