Operating System - HP-UX
1834158 Members
2599 Online
110064 Solutions
New Discussion

file time attributes changes while rcp -p to W2k server

 
Cem Tugrul
Esteemed Contributor

file time attributes changes while rcp -p to W2k server

Hi Gurus,
i want to put and get some files to one of my W2k serves fom my hp-ux11i
and i am using eval copy of Denicomp Systems
software Winsock RSHD/NT installed on my W2k.
The problem is when i run the rcp -p from UX
transfered files time attributes become +1 or -1 hour different.
Any precious suggestions...
Thank's all for your kind concern,
Our greatest duty in this life is to help others. And please, if you can't
5 REPLIES 5
Elmar P. Kolkman
Honored Contributor

Re: file time attributes changes while rcp -p to W2k server

I'm afraid this is caused by win2k not using daylight saving time like Unix does.
Every problem has at least one solution. Only some solutions are harder to find.
Cem Tugrul
Esteemed Contributor

Re: file time attributes changes while rcp -p to W2k server

Hi Elmar,

but on my server it is still checked "Automatically adjust clock for daylight saving changes"
Our greatest duty in this life is to help others. And please, if you can't
Cem Tugrul
Esteemed Contributor

Re: file time attributes changes while rcp -p to W2k server

i have also changed sysclock time on UX
but not reboot yet..could it be the reason?
Our greatest duty in this life is to help others. And please, if you can't
Elmar P. Kolkman
Honored Contributor

Re: file time attributes changes while rcp -p to W2k server

Unix runs its clock in GMT time, and only displays it in local time. It has a table that is used when displaying the local time, how much difference there is between local time and GMT time, depending on the current date and time and the local timezone definition in the TZ environment variable, filled through a file in /etc, TIMEZONE.

Windows does it in another way. It will set the system clock in local time, and in the past changed that clock when your switched between daylight saving time... I'm not sure about W2k, but I think it still does it this way.

I think you can prove it by looking at the files that have been copied and were from before and after the lates change from winter- to summertime.
Every problem has at least one solution. Only some solutions are harder to find.
Cem Tugrul
Esteemed Contributor

Re: file time attributes changes while rcp -p to W2k server

found a third party softare solution...
Our greatest duty in this life is to help others. And please, if you can't