NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
A question about "Timestamp" and "Created Time"Hi, I have a FTP server that is outside my company and the users on my But when anyone puts a file in there, or even if I transfer the file And when anyone puts a file via FTP, the "Created Time" changes too. Does anybody knows how can I keep it to original?? Thanks -- |
A question about "Timestamp" and "Created Time"
On 01.12.06 10:22, Eduardo wrote:
> Hi, I have a FTP server that is outside my company and the users on my
> network (inside the company) must put their files at this FTP vwith
> the help of a NFS mounted directory that I shared with SAMBA.
>
> But when anyone puts a file in there, or even if I transfer the file
> using SFTP, the "Created Time" attribute changes to the current date.
>
> And when anyone puts a file via FTP, the "Created Time" changes too.
>
> Does anybody knows how can I keep it to original??
linux and unix filesystems do not support "created time". They are emulated
using the "last-modified" timestamp.
--
Matus UHLAR - fantomas, ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.
--
A question about "Timestamp" and "Created Time"
Yeap, anyways...the "Last Modified" is in the current date too, any ideas?
On 12/1/06, Matus UHLAR - fantomas wrote:
> On 01.12.06 10:22, Eduardo wrote:
> > Hi, I have a FTP server that is outside my company and the users on my
> > network (inside the company) must put their files at this FTP vwith
> > the help of a NFS mounted directory that I shared with SAMBA.
> >
> > But when anyone puts a file in there, or even if I transfer the file
> > using SFTP, the "Created Time" attribute changes to the current date.
> >
> > And when anyone puts a file via FTP, the "Created Time" changes too.
> >
> > Does anybody knows how can I keep it to original??
>
> linux and unix filesystems do not support "created time". They are emulated
> using the "last-modified" timestamp.
> --
> Matus UHLAR - fantomas, ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> 42.7 percent of all statistics are made up on the spot.
>
>
> --
A question about "Timestamp" and "Created Time"
On Friday, 1. December 2006 15:25, Eduardo wrote:
> Yeap, anyways...the "Last Modified" is in the current date too, any ideas?
This solution may be quite lame and difficult to implement but you could use
extended attributes on some filesystems. See package attr and man pages for
mount.
--
-=[JT]=-
--
A question about "Timestamp" and "Created Time"
On 01.12.06 11:25, Eduardo wrote:
> Yeap, anyways...the "Last Modified" is in the current date too, any ideas?
if you modify a file, the 'last modified' time is set to actual time. You
would need extension that will change the time to the one client provides.
Note that basic FTP protocol does not support time changes. Maybe there's an
FTP extension (I'm not sure) but the client and server both will have to
support it.
> On 12/1/06, Matus UHLAR - fantomas wrote:
> >On 01.12.06 10:22, Eduardo wrote:
> >> Hi, I have a FTP server that is outside my company and the users on my
> >> network (inside the company) must put their files at this FTP vwith
> >> the help of a NFS mounted directory that I shared with SAMBA.
> >>
> >> But when anyone puts a file in there, or even if I transfer the file
> >> using SFTP, the "Created Time" attribute changes to the current date.
> >>
> >> And when anyone puts a file via FTP, the "Created Time" changes too.
> >>
> >> Does anybody knows how can I keep it to original??
> >
> >linux and unix filesystems do not support "created time". They are emulated
> >using the "last-modified" timestamp.
--
Matus UHLAR - fantomas, ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name.
--
A question about "Timestamp" and "Created Time"
On Fri, Dec 01, 2006 at 10:22:08AM -0200, Eduardo wrote:
> Hi, I have a FTP server that is outside my company and the users on my
> network (inside the company) must put their files at this FTP vwith
> the help of a NFS mounted directory that I shared with SAMBA.
>
> But when anyone puts a file in there, or even if I transfer the file
> using SFTP, the "Created Time" attribute changes to the current date.
>
> And when anyone puts a file via FTP, the "Created Time" changes too.
>
> Does anybody knows how can I keep it to original??
>
Always upload files as zip or tar files. When the files are extracted
they will have the original timestamps.
--
This sentence contradicts itself -- no actually it doesn't.
-- Douglas Hofstadter
--