[ CC'ing this back to -questions, and not trimming original message.
  Please CC [EMAIL PROTECTED] with your replies! ]

Grant Peel wrote to Ryan Thompson:

> OK here goes....
>
> I have 3 machines.
>
> enterprise
> excelsior
> voyager
>
> each have clients /usr/bin/ftp
>
> the forst two are running ProFTPD daemons.
> (I have since set the TimeGMT off in those two).

It could be a ProFTPD issue, although I run ProFTPD, here, and was not
able to reproduce the problem. One way to find out quickly is to
re-enable the stock ftpd on one of the machines and retry your tests. If
the problem goes away with a different server, it's a ProFTPD issue.

> I can PUT a file from any server to another and the timestamp on the file
> will match from the client to the server machine.
>
> When I GET a file, the file I GET has its timestamp set 4 hours
> backwards.

Hmm. That really reeks of time zone issues somewhere in the chain.
Try simpler testing--the stock ftpd, rcp/scp, and see if you can obtain
different results.

So far, it's not obvious to *me* where the specific problem is, but
further testing will help, and maybe someone else on the list has
encountered this before.

> Here are some clues:
>
> enterprise# date
> Thu Oct 23 18:27:36 EDT 2003
>
> excelsior# date
> Thu Oct 23 18:27:03 EDT 2003
>
> voyager# date
> Thu Oct 23 18:27:34 EDT 2003
>
>
> I have a file on enterprise "ent_orig.txt"
>
> -rw-r--r--    1 root       grant            0 Oct 23 17:33 orig_ent.txt
>
> When I log in from excelsior, and GET it, the timestamp shows:
>
> -rw-r--r--   1 grant     wheel         0 Oct 23 13:33 orig_ent.txt
>
> Yet, when I PUT if (Loggin into excelsior FROM enterprise) it shows:
>
> -rw-r--r--   1 grant     wheel         0 Oct 23 18:30 orig_ent.txt
>
> (Note, of course, it really was 18:30 when I did this, so that stamp is OK)
>
> Any ideas?
>
> -Grant
>
> Grant W. Peel
> Server Admin
> [EMAIL PROTECTED]
> http://thenetnow.com
> ----- Original Message -----
> From: "Ryan Thompson" <[EMAIL PROTECTED]>
> To: "Grant Peel" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, October 23, 2003 6:09 PM
> Subject: Re: Ftp changing times of files.
>
>
> > Grant Peel wrote to [EMAIL PROTECTED]:
> >
> > > Hello all,
> > >
> > > The default ftp client from one of my servers
> >
> > You mean /usr/bin/ftp?
> >
> > > , seems to be changing the time and datestamps of files it gets from
> > > other servers.
> >
> > To what? From what? Which time zones? mtime? ctime? atime?
> >
> > > All my servers are set to the same time (within a minute) and set to
> > > the same timezone (EDT | EST).
> >
> > Please send us a concrete example. (screen(1) or similar, from an actual
> > session showing the problem).
> >
> > - Ryan
> >
> > --
> >   Ryan Thompson <[EMAIL PROTECTED]>
> >
> >   SaskNow Technologies - http://www.sasknow.com
> >   901-1st Avenue North - Saskatoon, SK - S7K 1Y4
> >
> >         Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
> >   Toll-Free: 877-727-5669     (877-SASKNOW)     North America
> >
>
>

-- 
  Ryan Thompson <[EMAIL PROTECTED]>

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

        Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to