Draft for Information Only
Content
File Object Methods Properties Remarks
File Object
File object of FileSystemObject component is related to
manipulating file of a file system of the web server located.
Methods
Method |
Description |
Copy |
to copy the specified file object instance to the destination location. |
Delete |
to delete the specified
file object instance. |
Move |
to move the specified file object instance to the destination location. |
OpenAsTextStream |
to return a TextStream object corresponding to the specified file after
opening
for text manipulation. |
Properties
Property |
Description |
Attributes |
to set or get the folder attributes of
the specified file object instance. |
DateCreated |
a read only property
to get the created date and time attribute of the specified file object instance. |
DateLastAccessed |
a read only property
to get the last accessed date and time attribute of the specified file object instance. |
DateLastModified |
a read only property
to get the last modified date and time attribute of the specified file object instance. |
Drive |
a read only property
to get the drive letter on which the specified file object instance resides. |
Name |
to set or get the name of the specified
file object instance. |
ParentFolder |
a read only property
to return the folder object of the parent of the specified file object instance. |
Path |
to get the path of
the specified file object instance |
ShortName |
to get the short name with 8.3 naming convention of
the specified file object instance |
ShortPath |
to get the short path with 8.3 naming convention of
the specified file object instance |
Size |
to get the size, in bytes, of
the specified file object instance. |
Type |
to get the
type information of
the specified file object instance |
Remarks
The
methods and properties of File object can be grouped into
- File Inforamtion
- File Space: Size
- File Details:
Drive;
Name; Path; ShortName; ShortPath; Type
- File Properties:
Attributes;
DateCreated;
DateLastAccessed;
DateLastModified;
- File Manipulation
- File operation:
Copy;
Delete;
Move
- File Object Manipulation:
OpenAsTextStream; ParentFolder
©sideway
ID: 130300018 Last Updated: 3/16/2013 Revision: 0 Ref:
References
- Active Server Pages, , http://msdn.microsoft.com/en-us/library/aa286483.aspx
- ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx
- ASP Best Practices, , http://technet.microsoft.com/en-us/library/cc939157.aspx
- ASP Built-in Objects, , http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx
- Response Object, , http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx
- Request Object, , http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx
- Server Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx
- Application Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx
- Session Object (IIS), , http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx
- ASPError Object, , http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx
- ObjectContext Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx
- Debugging Global.asa Files, , http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx
- How to: Debug Global.asa files, , http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx
- Calling COM Components from ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx
- IIS ASP Scripting Reference, , http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx
- ASP Keywords, , http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx
- Creating Simple ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx
- Including Files in ASP Applications, , http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx
- ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx
- FileSystemObject Object, , http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, , ADO Object Model
- ADO Fundamentals, , http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx
|
|