Why Does File Upload Control Change the Modified Date/Time of the Uploaded File?

Does anyone know why using the Domino File Upload control changes a file’s modified date/time when a user uploads the file via the Web?

Is there a good (or at least valid) reason for this, or is it a bug? Or, is this normal web browser behavior and not actually caused by the Upload control?

It seems odd to me that it would be considered acceptable that simply uploading a file changes the file itself.

Thanks,

Joe

Subject: Why Does File Upload Control Change the Modified Date/Time of the Uploaded File?

Im not sure if its the file upload which causes this. If you’re checking the modified date by downloading the file after its been uploaded i think this is normal web browser behavior. Anytime you download a file from the web, the date/times are set to the time of download.

Subject: RE: Why Does File Upload Control Change the Modified Date/Time of the Uploaded File?

Hi Ernesto,

Thanks for your reply!

I see what you mean about the date/time being set for a file being downloaded from the web. I just downloaded an image file from this website, and the modified date is (as you said) the time I downloaded the file.

Perhaps the same thing is happening for files uploaded from the web, making my issue a standard browser operating procedure. If so, this is unfortunate, because it prevents people from knowing the last time the file attachment’s data (not just the metadata) was modified.

As for how I am checking the modified date, I am uploading the file to the Notes document via the Web (with the File Upload control), and then immediately checking the attachment properties in the document via the Notes Client. This means that the problem is occurring even before downloading the file again (as you mentioned).

I have tried attaching the same file to a document using the Notes client (by attaching the file to a Rich Text field), and then attaching the same exact file to a document using the File Upload control. When I attach the file via the Notes client, the modification date remains the same as it was. But when I upload the same file with the Upload control, the date changes to the upload time/date.

Can anybody confirm that it is standard browser operating procedure to time stamp an uploaded file with the current time and date?

Thanks!

Joe