Object: | SoftArtisans.FileUp |
Syntax: | UseDateLastModified |
Type: | Boolean |
Read/Write: | Read/Write |
Description: |
If the "X-Last-Modified" header is sent in a request, and FileUp's Use one of the following properties to return the date:
The file on the server will have the same creation and modification date as the user's original file. This only works if the client upload software sends this information. Neither Netscape Navigator nor Microsoft Internet Explorer send the file's modification date. SoftArtisans XFile transmits this information by inserting the "X-Last-Modified" header in the Request, when XFile's [XFRequest].UseXLastModified property is set to True. |
Sending the needed header:
If you are using a different upload client, use the following header to send the Last Modified date:
Which can be defined as follows:
The file modification date is always sent in GMT format to account for time zone differences between the browser and server. |
Examples:
ASP | <%
|
---|---|
C# | //--- Instantiate FileUp
|
VB.NET | '--- Instantiate FileUp
|