Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Modifying dates with REBOL

From: mat::plothatching::com at: 25-Jan-2003 17:17

Folks, I did something foolish a few days ago. I moved a whole pile of files off a web server out of the content management system. Then moved them back some days later. Unfortunately I forgot that the php on the web server actually scans the file modified dates of those files to figure out the newest and hence which should be displayed at the top of the web page. Now, the files on my hard drive have the correct date. Yet when I upload them to the web server via FTP, the modified dates are reset to today's date. So it occurred to me that I could somehow alter the modified stamps via ftp after scanning the time stamps off the local files with REBOL. Yet... I can't seem to find any details in REBOL of modifying dates on files, let alone via FTP. Has anyone done this? Regards, Mat.