When we ftp to a linux box from a HP-UX box and perform a "dir" of a file it shows a time stamp of 13:59 but when a ls -l is performed on the linux box the time stamp is 8:59. The correct time stamp is 8:59, why does ftp dir show a 5 hour increase?
I think this must be due to different time zone settings, e.g. one machine has GMT, the other has GMT-5.
'date -u' should give you a hint.
HP-UX has a system variable $TZ, but I don't know of a Linux equivalent.
It seems then that my idea was not the right one, sorry.
For further investigation:
What happens if you try ftp from Linux to HP-UX? Is there a time mismatch too?
It seems similar problems are common with some implementations of ftp.
A Google search did't produce a solution;
but for a start you may want to look at these:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.