Jim, We had a similar requirement where we needed to support file names longer than what 4D's quirky length limitations allow. We had to grab the original filename before we processed it server side. We then used shell commands (w/ LEP, but in our case we used the Pluggers scripting plugin) to restore the long name after we'd stored the file. You could possibly do something similar to adjust the timestamp. I think the 'touch' command can do this. You may need to do some client-side Javascript to grab the file's date time and stuff those in a hidden variable sent with the upload submission.
hth, Brad Perkins Jim Rietz wrote: > Using 4D 2003, 4D Client as server, A4D 4.0.2... Mac OS X... Safari & > Firefox... I have searched the archives for an answer already and came up > blank. > > I would like to upload a file (which I can do now) and have the created & > modified dates and times remain the same as the original files. The files > have the time and date of the upload. > > I have tried using Copy Upload and the contents of the A4D_Upload blob and > the file A4D saves in Active4D Uploads briefly (upload_00000001.suffix). > Nothing seems to work. > > Since this project is for a law office, it would be nice to have the dates > correct when stored and retrieved... they are kind of funny that way. > > TIA, > > Jim > > > > (352) 350 7242 FL > (630) 910-7075 IL > World Headquarters > <http://www.JimRietz.com> > <mailto:[email protected]> > > > > > > > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ > > _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
