In versions of XFile prior to version 2.0, setting the UseXLastModifed property to "True" did not result in the creation of the "X-Last-Modified" Request Header as expected. Rather, it appended a "last modified date" parameter to the Content-Disposition header.
Content-Disposition: form-data; name="FileName1"; filename="C:\testfile.txt"; last modified date="1/9/2004 12:57:10 PM"
The proper format of a header including the "Date Last Modified" file information should be:
X-Last-Modified: 1/9/2004 12:57:10 PM
As a result, if an upload request is posted with a 1.x release of XFile, FileUp will not be able to parse the "Date Last Modified" information for uploaded files. FileUp's DateLastModified property will be ineffective, but this will not cause scripts to error.
|