Uploading File Process
C1Upload provides automatic file storing for uploaded files. Files are first uploaded to the TempFolder and then are moved into the TargetFolder or TargetPhysicalFolder once they meet the required conditions and if an existing path is specified for the TempFolder, TargetPhysicalFolder, and/or TargetFolder. Required conditions include: the allowed file extensions specified in the ValidFileExtensions property, the allowed MIME type specified in the ValidMimeTypes property, the allowed maximum file size specified in MaximumFileSize property, or custom validating logic performed in the ValidatingFile event. For more information about these conditions, see Validating Files.
The valid files will be named with their original names from the client computer. A file name with the same name as an existing one in the TargetFolder or PhysicalTargetFolder may be overwritten depending on the value of the OverwriteExistingFiles property.
C1Upload provides two properties so you can automatically save uploaded files to an existing virtual path or physical path if the required conditions are met:
If both properties are set, C1Upload uses the TargetPhysicalFolder to save the uploaded files to the physical path if the required conditions are met.
|