Step 2 of 4: Set Up Target and Temp Folders
In this step you will create two folders on your drive, for example your C drive to store the temporary and valid uploaded files. You will also change the default value of the MaximumFiles property to 5 to allow up to 5 files to be added to C1Upload.
1. Create a folder (C:\UploadFolder) on disk [C:].
2. Create two sub folders under that folder, one with name, “Temp”, the other with name “Target” as below:
C:\UploadFolder\Temp
C:\UploadFolder\Target
3. In your project open the .aspx file and change the value of the TempFolder property to “C:\UploadFolder\Temp” and change the value of the TargetPhysicalFolder property to “C:\UploadFolder\Target” like shown below:
TempFolder="C:\UploadFolder\Temp"
TargetPhysicalFolder="C:\UploadFolder\Target"
4. Set the MaximumFiles property to “5” to enable 5 files to add to C1Upload.
Step 2 of 4 Completed ![]()
In this step, you set up the folders on your drive for the uploaded files, assigned the file paths to TempFolder and TargetPhysicalFolder properties, and set the MaximumFiles property to 5 to enable 5 files to be added at run time.
|