Flajaxian FileUploader is .NET web control designed for asynchronous file upload of multiple files at the same time, without a page post back and with a progress bar indicating the current upload progress. This control does not require full trust environment. The control can be extended with the addition of server side and client side adapters. Flajaxian FileUploader uses Adobe Flash Player 8 for the file upload.
In order to install the control you need to follow these steps:
- Place com.flajaxian.FileUploader.dll in the BIN folder of your web server
-
Add the following tag at the top of your aspx page:
<%@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.FileUploader" %>
-
Add the following tags inside the BODY element of the ASPX page, where you would
like to see the FileUploader
<fjx:FileUploader ID="FileUploader1" runat="server" > <Adapters> <fjx:FileSaverAdapter Runat="server" FolderName="UploadFolder" /> </Adapters> </fjx:FileUploader>
As you can see here we use FileSaverAdapter. The files will be uploaded on a folder with name "UploadFolder".
You may want to redefine the values in web.config file for the request timeout and maximum file size. You can do that in the section configuration - system.web as follow:
<httpRuntime executionTimeout="1800" maxRequestLength="1048576" useFullyQualifiedRedirectUrl="false" />
In this case we set timeout to 1800 seconds or 30 minutes and file size to 1048576KB or 1GB