If you feel some confusion about any thing or if you do not find what you are looking for, please inform us so that we can improve our documentation accordingly. docs@aspfusion.net |
![]() |
The component provides you complete directory 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 directory management operations are restricted to the physical path mentioned in ASPFusion administration. It provides following operations for server side directory management.
Complete basic directory management operations, such as Create, Delete and Rename a directory.
Along with these basic operations, it provides List for getting listing of all files and directories under the given directory, and returns their Attributes, Size, Creation Date, Last Modified Date and Type, and also can sort the listing in ascending and descending given sorting criteria.
<%set
Obj = Server.CreateObject("AdvDirectory.Directory")%>
Property |
Description |
Dot |
Set
whether to show "."
or
".." directories in case of list method. Valid values are |
ErrorReason |
Reports
any errors that occur during the request |
Filter |
File
extension filter to be applied to returned names, for example: |
IsError |
Returns
1 if any error occur during the request otherwise 0 |
Sort |
List
of query columns to sort directory listing. Valid values are Name_ASC (default) |
Method |
Parameter |
Return Value |
Description |
Create |
strDirectory |
None |
Create
a directory |
Delete |
strDirectory |
None |
Delete
a directory |
|
strDirectory |
Array
of objects |
|
Rename |
oldDirectory |
None |
Rename
a directory |
Copyright © 2000, Advanced Communications |