FTP query to Linux server time difference

Have a FTP server setup. Built on VMware with OS being Red Hat Linux.
Files copied to server show correct time on server.
When viewing server by ftping via Internet Explorer or even Mozilla, the files just copied are showing a time 4 hours later.  
Does anyone know how to fix this inconsistency?
slcoitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cjrmail2kCommented:
what is your time zone set to in red hat? it sounds as though this is a time zone issue
0
slcoitAuthor Commented:
Have checked and double checked date & time and time zone on Red Hat and all is correct.  File date and time is correct on Red Hat.  Am thinking problem is with either Windows or Browsers interpretation of the time code.  Any thoughts on that?
0
cjrmail2kCommented:
ok, so on the recipient ftp server (i guess its a wintel box) are their dates and timezones set correctly?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

cjrmail2kCommented:
the timestamp should be interpreted the same. Are they both set with the same date format? dd/MM/yyyy or whatever but as long as it is the same on both servers
0
slcoitAuthor Commented:
The FTP server is Red Hat Enterprise Linux 4 running on VMware running on vmnix.
Am trying to access the data via ftp through a browser on my Windows XP desktop.
Have attempted to access the data with both Internet Explorer and Mozilla Firefox.
Have also attempted on Windows 7.
The date format can be defined any which way you want on linux. The dates are correct on each side of this connection.  The time is 4 hours different.  I created a file and transferred another file at approx 2:00PM to the Linux FTP server.  On that server both files showed the 2:00PM time.  When accessed via ftp through the web, the two files were showing 6:00PM??  
Is there a place in either the browsers or in Windows to set the time differential from the International Time Standard?
0
PapertripCommented:
Which FTP server are you running?  Have you tried ftp'ing from the Linux box to your server and checking the timestamps?  Need to determine if it's the FTP server mangling the dates or a problem client-side.
0
PapertripCommented:
If you are using vsftpd, set the following to Yes
use_localtime

Open in new window


If you are using proftpd, turn the following off
TimesGMT

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
slcoitAuthor Commented:
Papertrip,  I am using vsftp on the linux box and added use_localtime=yes to /etc/vsftpd/vsftpd.conf file and then restarted the service.
This corrected my ftp query from my Windows XP and another Windows XP here in the office but when I have a couple others running Windows 7 try, the time is 4 hours early.  The one Windows 7 was working fine yesterday but is not now with this change????
0
PapertripCommented:
Hah!

Maybe it's showing cached info, toss a new file onto the server and check that.
0
slcoitAuthor Commented:
Have done that with same results.
0
PapertripCommented:
What client software are you trying with on windows 7?  Try something else and see if that works?

I'm pretty sure the vsftpd.conf change is what you wanted, so this issue could be something different.
0
slcoitAuthor Commented:
One of the Windows7 is version 6.1 Service Pack 1 using the Internet Explorer that comes with Windows and also the Windows Explorer that works with that Internet Explorer.
0
PapertripCommented:
Well I don't think I can help you with broken Windows 7, but at least your FTP server is now configured to display localtime instead of UTC!
0
PapertripCommented:
@slcoit are you content with the config changes that were made, or is this still a problem?
0
slcoitAuthor Commented:
Still not happy that Windows 7 not showing time correctly.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.