preserve mtime in ftp account
Posted by: MajorGeek
Posted on: 2009-05-29 11:32:00
I set up a ftp account for a group colleagues so they could exchange drafts and data while working on a project. They use PCs and windows FTP apps or windows explorer to move files in and out of the directories on the ftp site. One of these guys was just asking me if there was a way to preserve his file dates for new stuff he puts into the ftp directories so everyone can see which drafts are the newest. My first thought was "No, you can't" but if you tarred up the files then untarred them on the FTP host, the mtimes would be preserved, like the old UNIX trick to move files around with tar to preserve mtimes and permissions. I initially thought if he tars or zips the files and moves them to the ftp directory, I could ssh in and unpack the files. But, crap, how can I log into an FTP only user account? Maybe I need to set up a shell account for these guys to FTP to, so I can get in and unpack stuff. Or is there an easier way?
This signature line intentionally blank.