Topic "Files seen six hours behind"

Author Message
Cris

Guest


(First of all: "server timezone offset" or "DST" didn't help)

Hi, I'm connecting to two different unix servers on my employer's network. In one of them (Production environment) I don't have write permissions, files are seen correctly. In the other (development environment) I have write permissions but files are seen with their timestamp six hours behind.

Example:

(typing on terminal software, not on WinSCP)

ls > showthetime

(creates file called showthetime)

-rw-rw-r-- 1 Cris 62 Sep 15 21:04 showthetime

but on WinSCP it shows as 15:04.

Messing with "server timezone offset" or DST settings didn't help.

Thanks a lot!!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
What protocol do you use? SCP or SFTP?
_________________
Martin Prikryl
Cris

Guest


prikryl wrote:
What protocol do you use? SCP or SFTP?


From the "Server and protocol information" command (this is the server with the 6-hrs diff)

SSH Protocol version=2
SSH Implem.=OpenSSH_3.7.1p2
Encryption alg.=aes
Compression=No
File transfer prot.=SFTP (v3)

"The server does not support any SFTP extension."


(and this is the server which looks OK)

SSH Protocol version=2
SSH Implem.=OpenSSH_3.4p1
Encryption alg.=aes
Compression=No
File transfer prot.=SFTP (v3)

"The server does not support any SFTP extension."

Also "SSH Implementation" is the difference between the two. Is there anything I could do?

Thanks
Cris
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Thanks. Also what is timezone of your servers (both) and your desktop?
_________________
Martin Prikryl
Guest




prikryl wrote:
Thanks. Also what is timezone of your servers (both) and your desktop?


Hi, it took a while but here is it:

Desktop: (GMT -03:00) Buenos Aires/Georgetown (Correct)

Server which looks OK:
a "echo $TZ" command yields "ARGENTINA3"

Server which looks wrong:
a "echo $TZ" command yields "GMT-3"

I don't know if I mentioned this earlier but I'm located in Argentina, Buenos Aires. (And so are all servers involved in this problem)

Greetings
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Have you tried setting $TZ same on both servers?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License