ICE

TCP/IP Products => TCP-PLUS => Topic started by: fhticetcp on October 26, 2004, 03:04:54 pm

Title: FTP pro
Post by: fhticetcp on October 26, 2004, 03:04:54 pm
When files are transferred from unix to windows the date of the files in the windows explorer is wrong i.e. 26-10-2003 instead of 26-10-2004 for a file that is transferred today
Title: FTP pro
Post by: Bob on October 26, 2004, 04:53:53 pm
One of the clocks is off (the PC or the Unix Machine). If you set them to the right time the problem should go away. It's most likely in this case that the clock on the unix machine is behind the one on the windows machine.
Title: FTP pro
Post by: fhticetcp on October 27, 2004, 04:41:54 am
The clocks on both computers have the same time. The problem is on the screen displayed by FTP pro of the unix directory. When the files are arranged by date a file on the unix computer that is made today 27-10-2004 is not the first in the listing. This file is on the screen betweeen the files from oktober 2003. When I transfer a file from yesterday or earlier to windows the date is right; the problem is with files of today.
Title: FTP pro
Post by: Bob on October 28, 2004, 10:48:28 am
What version of PLUS are you running? It should be on the CD label.
Title: Re:FTP pro
Post by: fhticetcp on October 29, 2004, 03:14:59 am
There is no version number on the cd of ICETCP-PLUS.
Copyright 1998-2002
Dejawin version 7.10a/32, windows inerface 8.0
About FTPPro: Copyright 2002, no version number
Title: FTP pro
Post by: eye on February 28, 2005, 06:46:39 pm
i have the same problen the date is one year behind on
when i transfer files from the sco server
Title: FTP pro
Post by: Bob on March 01, 2005, 09:36:04 am
What is the build number in the dejawin screen? (help -> about dejawint)?
Title: FTP pro
Post by: eye on March 01, 2005, 03:08:11 pm
the build number is 23
Title: FTP pro
Post by: fhticetcp on May 12, 2005, 05:22:03 am
I think the problem is a bug in FTPPro.
I have made a file in unix 12-05-2005 09.00
Local time is GMT+2 (GMT+1 and 1h DST) GMT at that moment is 07.00
In the left pane of FTPPro the year is 2004. When the file is copied to windows the year is 2004.
After 2 hours, when the GMT reaches the time of the file 09.00 the year in the left pane changes from 2004 in 2005. Copying the file to the windows computer gives then the year 2005.
When there is no DST the local time is GMT+1.
Then already after 1 hour the year 2005 is displayed
Title: FTP pro
Post by: Bob on May 12, 2005, 11:34:01 am
I think the problem is a bug in FTPPro.
I have made a file in unix 12-05-2005 09.00
Local time is GMT+2 (GMT+1 and 1h DST) GMT at that moment is 07.00
In the left pane of FTPPro the year is 2004. When the file is copied to windows the year is 2004.
After 2 hours, when the GMT reaches the time of the file 09.00 the year in the left pane changes from 2004 in 2005. Copying the file to the windows computer gives then the year 2005.
When there is no DST the local time is GMT+1.
Then already after 1 hour the year 2005 is displayed

I've tried every way possible to duplicate this without success. I've also read the ftp spec and tried different tests to try to track this down. I even set my unix clock ahead a couple of hours so that the file created on the Unix side is in the PC's future but it STILL gets the date right on transfer.
Now the only way that date can be set from my reading of the spec is from the date in the file list that the ftp server sends.

Please try the following and report back the results:
Make a file that will show the problem on the unix machine.
Use ftp pro to connect. Show the detailed listing. Note the file date and time.
Use the windows command line ftp clent to do the same thing and note the file date and time.
Transfer the file and right-click properties to show the date and time.
What version of ftp server are you using on sco? (use command line client to find out).

I'm thinking that the server listing will show the wrong data and time.

Let us know...
Title: FTP pro
Post by: Bob on May 14, 2005, 04:38:40 pm
From your last reply, it looks like it's the server as I suspected.

A little googling around gave this:

http://www.wu-ftpd.org/wu-ftpd-faq.html#QA22
Title: FTP pro
Post by: fhticetcp on May 16, 2005, 05:20:23 am
I don't think that the problem is in the unix-server because:

1. The unix-server and the windows client have the same timezone CETDST (= GMT+2)
On the unix-server when the creation of the file is in the year 2005 and is less then 6 months old the year is not displayed in the directory.

2. With another ftp-program like WS FTP the right year 2005 is displayed
Title: FTP pro
Post by: Bob on May 16, 2005, 05:19:38 pm
If the command line client shows the wrong data/time at any point (which you said it did in your last email) the server is broken for sure.
Title: FTP pro
Post by: fhticetcp on May 17, 2005, 04:51:00 am
I didn't write that the commandline ftp client showed wrong data or time.
You can see on the screenprints I send you by email that ftppro displays the wrong year 2004 and after 2 hours the year changes to 2005.
The display of the commandline ftp client doesn't change after 2 hours.
Title: FTP pro
Post by: fhticetcp on May 17, 2005, 07:50:26 am
Local time CETDST = 14.40

This is the view of the commandline ftp client:

total 4
-rw-rw-rw-   1 sys           38 May 17 12:29 test1229
-rw-rw-rw-   1 sys           41 May 17 14:34 test1434


This is the view of the FTPPro pane

test1229   38   17-05-2005 12:29:00   File
test1434   41   17-05-2004 14:34:00   File

Title: FTP pro
Post by: Bob on May 17, 2005, 09:28:52 am
Thanks, that helps. We'll look at it more.
Title: FTP pro
Post by: Bob on May 24, 2005, 09:21:43 am
Could you try turning off the (convert future file dates) option in "advanced" settings and see if that helps? It appears there may be a flaw in the logic there dealing with timezones >GMT. Let us know the results please.
Title: FTP pro
Post by: fhticetcp on May 24, 2005, 10:25:13 am
When the option 'convert future file dates' is turned off the year is still 2004.
There is no difference between option on or off.
Title: FTP pro
Post by: Bob on May 24, 2005, 11:13:01 am
You did retransfer the file, right??

And what is the TZ variable in your unix /etc/TIMEZONE file set to?

(or just echo $TZ at a unix prompt)
Title: Re:FTP pro
Post by: fhticetcp on May 24, 2005, 02:18:29 pm
$TZ gives:   CET-1CETDST,M3.5.0/1,M10.5.0/1
file is transferred from unix to windows and then retransferred to unix.
on the FTPPro pane for the unix site the first moment the year is 2005 and the time has changed to the time of the ftransfer.
After F5 (refresh) the year is 2004 again.
file on unix: May 24  20.56
on FTPPro pane 24-05-2004 20.56.00
after transfer to windows 24-05-2004 20.56
after retransfer to unix FTP pane 24-05-2005 20.59.52
after refresh (F5) FTP pane 24-05-2004 20.59.00
on unix screen May 24 20.59
Title: FTP pro
Post by: Bob on May 24, 2005, 04:08:44 pm
What vendor/version of unix??
Title: Re:FTP pro
Post by: fhticetcp on May 25, 2005, 03:10:20 am
SCO release 3.2v5.0.6
Title: FTP pro
Post by: Bob on May 31, 2005, 09:15:20 am
Ok, thanks. I'm trying with your parameters to duplicate the problem.
Title: FTP pro
Post by: Bob on May 31, 2005, 05:00:01 pm
Ok, Verified the problem. Jim will be looking at it in detail tomorrow.
Title: FTP pro
Post by: Bob on September 01, 2005, 03:37:52 pm
Did the version I sent you solve the problem??
Title: Re:FTP pro
Post by: fhticetcp on September 02, 2005, 09:41:55 am
yes, thank you
With the new version the problem is solved.