![]() |
The component provides you complete file management on server. While turning on the component for a new website, the system takes physical path, which is usually the web root of that website. All file management operations are restricted to the physical path mentioned in ASPFusion Administration. The component is very easy to use and it uses very low memory to upload a large file. There is no restriction on the size of the file to be uploaded. It provides these operations for server side file management.
Complete basic file management operations such as Append, Copy, Delete, Move, Read, Rename and Write a file.
Along with these basic operations, it provides Upload and UploadAs operations. Upload operation allows uploading single or multiple files at a time form client browser to the server. It also allows resolving the problem of name conflicting through the property NameConflict with possible values as Error (default), Skip, OverWrite and MakeUnique. UploadAs operation allows uploading single or multiple files at a time form client browser to the server with specified name. Only few lines of code is all to provide browser based file upload on the server.
It also provides Download and DownloadAs operations. Download operation allows downloading a file to client browser with actual file name and DownloadAs operation allows downloading a file to client browser with specified name.
| Method Name | Method Description |
| Append | Append the given source file with given data |
| Copy | Copy the given source file to destination |
| Delete | Delete the given source file |
| Download | Download the given source file to client’s browser |
| DownloadAs | Download the given source file with given name to client’s browser |
| Move | Move the given source file to destination |
| Read | Read the given source file |
| Rename | Rename the given source file with new name |
| Upload1 Upload2 | Upload file(s) to the given path |
| UploadAs1 UploadAs2 | Upload file(s) to the given path with given filename |
| Write | Write the source file with given data |
| © 2005 ASPFusion |