AspUpload 1.4

User Manual

Copyright (c) 1998 Persits Software, Inc.

Introduction Installing AspUpload and Samples Getting Started Working with FILES and FORM Collections Setting a Limit on File Size Forcing Unique File Names Manipulating File Attributes and Access Control Lists Moving, Copying and Deleting Files Saving Files in Database Preserving "Last Modified" Date/Time Information of Uploaded Files
Currently, browsers do not send the "Last Modified" information along with the files being uploaded as it is not part of the RFC-1867 specification, so if you use form-based uploading the file dates cannot be preserved. However, if you use the Persits Software client upload tools XUpload ActiveX control or JUpload Java applet (the latter is currently under development) the files' dates can be preserved as these tools do send the files' "Last Modified" information to the server. A custom MIME header, X-File-Date, is used as follows: X-File-Date: Wkd Mon DD HH:MM:SS YYYY. The time is converted to Greenwich Meridian Time (GMT) to account for possible time difference between the client and server machines. For example:

X-File-Date: Sun May 01 20:27:01 1994

To capture and use this information with AspUpload, simply set the PreserveFileTime property to True before calling Upload.Save, as follows:

Upload.PreserveFileTime = True

Complimentary Features: Directory Listing, Downloading, and ActiveX Registration Disabling Advanced Features in a Web-Hosting Environment