Examples Installation
The EAFlashUpload distribution package contains trial version of component and set of various examples. Installation process requires only extracting examples to appropriate folder and configuration of server-side scripts.
Extract downloaded archive and copy content of "Examples" folder to location on your web server where it will be accessible via a web browser (ex: "<% web server root folder %>\EAFlashUpload") and run default.html (ex: http:// localhost/EAFlashUpload/default.html).
Examples structure:
- SimpleUpload.html - a simple example how to use EAFlashUpload control.
- ImagesUpload.html - demonstrates how to upload multiple images to the web server. Generate and display thumbnails of uploaded images.
- JavaScriptInterface.html - shows how to create "pure" JavaScript/DHTML interface for EAFlashUpload.
- SwitchAmongView.html - displays available user interfaces and shows how to change EAFlashUpload property dynamically by using JavaScript.
- CollapsiblePanel.html - an example demonstrate how to place EAFlashUpload into collapsible panel.
- UploadDescription.html - an example demonstrates how to add a custom property for files and send additional form fields data to the web server.
- ServerScripts folder – contains server-side scripts examples for ASP.NET, PHP, ColdFusion, Perl, JSP server programming languages.
- Note before running the examples set uploader.uploadUrl property. Ex: "ServerScripts/ASP.NET/uploadfiles.aspx".
ASP.NET examples (ServerScripts\ASP.NET)
- uploadfiles.aspx – simple example demonstrates how to handle and store uploaded file on the server.
- imagesupload.aspx – example demonstrates how to upload images and create thumbnails.
- uploaddescriptions.aspx - example demonstrates how to retrieve form fields data on the server side. This file is a part of "Upload descriptions" example.
- Global.asax – example of global application class that handles each request and restores session by using cookie session variable.
- Web.config - a configuration file of ASP.NET application.
Before running ASP.NET examples please ensure ASP.NET was installed on your web server. You should create also ASP.NET Web Application for ServerScripts/ASP.NET virtual directory.
See also:
-
How to: Create and Configure Virtual Directories in IIS
http://msdn.microsoft.com/en-us/library/zwk103ab(VS.80).aspx -
Creating ASP.NET Web Application Root Directories in IIS
http://msdn.microsoft.com/en-us/library/ha2y9493.aspx -
How to upload a file to a Web server in ASP.NET
http://support.microsoft.com/kb/323246/EN-US
PHP examples (ServerScripts\PHP)
- uploadfiles.php – simple example demonstrates how to handle and store uploaded file on the server.
- imagesupload.php – example demonstrates how to upload images and create thumbnails.
- uploaddescriptions.php - example demonstrates how to retrieve form fields data on the server side. This file is a part of "Upload descriptions" example.
Before running examples please ensure your web server is configured to run PHP scripts.
See also:
-
PHP: Installation and Configuration
http://php.net/manual/en/install.php -
PHP: Handling file uploads
http://php.net/manual/en/features.file-upload.post-method.php
Examples for other languages: ColdFusion, JSP, Perl
Folders contain the basic example (uploadfiles.*) that aloows receive files on the server.

