Joesph Lamoree... you are my new hero. - Alex
On 9/14/06, Joseph Lamoree <[EMAIL PROTECTED]> wrote: > > On 14 Sep 2006, at 10:54, Alex wrote: > > > Is there a way to preserve the date of the uploaded file? > > I don't believe that the CFFILE tag supports retaining that date. The > result structure, named CFFILE by default, contains a property named > timeLastModified, however in my tests that is not the actual last > modified time from the client's machine. In inspecting the HTTP > traffic between client and server during a file upload, I did not see > Safari or Firefox communicate the true last modified time of the file > in the Content-Disposition header of the multipart POST. I'd guess > that MSIE behaves similarly. > > > Or, better yet, is there a way for ColdFusion to change the Date > > Modified on > > a file? > > I don't believe a ColdFusion mechanism exists to do this, but it's > fairly simple with a bit of Java. There is some sample code on my blog: > http://www.sneakybastard.com/machblog/index.cfm? > event=showEntry&entryId=ADD7324C-A613-78C3-9E720E5FC4C6EF44 > > -- > Joseph Lamoree > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

