UseDateLastModified Property

 Object: SoftArtisans.FileUp
 Syntax: UseDateLastModified
 Type: Boolean
 Read/Write: Read/Write
 Description: This property determines if an uploaded file will preserve the Last Modified Date of the user's original file. 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.

Both Netscape Navigator and Microsoft Internet Explorer do not send the file's modification date. SA-JFile (Version 1.2 or later) transmits this header (with the <param name="SendLastModified" value="1"> set).

By default, this property is false.

If you are developing other File Upload clients, here is the format of this header:
	X-Last-Modified: Fri Dec 04 10:29:02 GMT 1998

Which can be defined as follows:


     date-time   =  day date time 4DIGIT   ; Dow Mmm dd hh:mm:ss zzz yyyy

     day         =  "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun"

     date        =  month 2DIGIT         ; month day

     month       =  "Jan"  /  "Feb" /  "Mar"  /  "Apr"
                 /  "May"  /  "Jun" /  "Jul"  /  "Aug"
                 /  "Sep"  /  "Oct" /  "Nov"  /  "Dec"

     time        =  hour zone                    ; ANSI

     hour        =  2DIGIT ":" 2DIGIT ":" 2DIGIT ; 00:00:00 - 23:59:59

     zone        =  "UT"  / "GMT"                ; Universal Time

The file modification date is always sent in GMT format to account for time zone differences between the browser and server.

 

Previous Page Next Page