Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-01-2005, 03:59 AM   #1
hankeyman
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 12
Default Timestamp-Bug

First i wondered why i couldnt set back the timestamp of folders. I checked all timestamps created, last accessed, modified. I was able to modify the day and month but the year stuck to the current.
Now i noticed an overall strange behavior.
For example:

windows-explorer-listing:
FolderA 2005-feb-05
FolderB 2005-jan-02
FolderC 2004-oct-02
FolderD 2004-mar-13
FolderE 2004-feb-28
FolderF 2004-jan-17
FolderG 2003-mar-15
FolderH 2003-feb-04
FolderI 2003-jan-04
FolderJ 2002-dec-03

ioftpd-ftpclient-window-listing:
FolderA 2005-feb-05
FolderB 2005-jan-02
FolderC 2004-oct-02
FolderD 2004-mar-13
FolderE 2005-feb-28<-- 2004 changed to 2005
FolderF 2005-jan-17<-- 2004 changed to 2005
FolderG 2004-mar-15<-- 2003 changed to 2004
FolderH 2005-feb-04<-- 2003 changed to 2005
FolderI 2005-jan-04<-- 2003 changed to 2005
FolderJ 2004-dec-03<-- 2002 changed to 2004

ioftpd-raw-listing:
0 Dec 03 08:11 FolderJ
0 Feb 04 08:12 FolderH
0 Jan 04 08:11 FolderI
0 Mar 15 08:33 FolderG
0 Feb 28 08:42 FolderE
0 Jan 17 08:31 FolderF
0 Mar 13 08:12 FolderD
0 Oct 02 08:11 FolderC
0 Feb 05 08:12 FolderA
0 Jan 02 08:11 FolderB


i also checked what happens with folders which are from dates in leap years:
windows-explorer-listing:
FolderA 2005-feb-05
FolderB 2005-jan-02
FolderC 2004-oct-02
FolderD 2004-mar-13
FolderE 2004-feb-29 <-- 2004 was a leap year
FolderF 2004-jan-17
FolderG 2003-mar-15
FolderH 2003-feb-04
FolderI 2003-jan-04
FolderJ 2002-dec-03

ioftpd-ftpclient-window-listing:
FolderA 2005-feb-05
FolderB 2005-jan-02
FolderC 2004-oct-02
FolderD 2004-mar-13
<---- missing FolderE---->
FolderF 2004-jan-17<-- 2004 didnt change to 2005
<---missing all other folders---->


ioftpd-raw-listing:
0 Dec 03 08:11 FolderJ
0 Feb 04 08:12 FolderH
0 Jan 04 08:11 FolderI
0 Mar 15 08:33 FolderG
0 Feb 29 08:12 FolderE
0 Jan 17 08:31 FolderF
0 Mar 13 08:12 FolderD
0 Oct 02 08:11 FolderC
0 Feb 05 08:12 FolderA
0 Jan 02 08:11 FolderB


i use ioFTPD-beta5-8-5r and ioBananav20

ps.: i tested several ftp-clients, its always the same
hankeyman is offline   Reply With Quote
Old 02-01-2005, 08:41 AM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default Re: Timestamp-Bug

Quote:

windows-explorer-listing:
FolderE 2004-feb-28

ioftpd-ftpclient-window-listing:
FolderE 2005-feb-28<-- 2004 changed to 2005

ioftpd-raw-listing:
0 Feb 28 08:42 FolderE
This is a client error. ioFTPD sent the right timestamp.
When no year is specified by the ftp daemon, the client should assume the specified day is the latest, in the past.
The latest Feb 28 is 2004-02-28, so your ftp client should show that.
That is, if your system clock is correct (not > 2005-02-28).
Since folder A is also a date in the future, and it was shown as 2005, I would guess your system clock was set to > 2005-02-28...
I tried in FlashFXP and the folder shows as 2/28/2004

Quote:

windows-explorer-listing:
FolderF 2004-jan-17
FolderG 2003-mar-15
FolderH 2003-feb-04
FolderI 2003-jan-04
FolderJ 2002-dec-03

ioftpd-ftpclient-window-listing:
FolderF 2005-jan-17<-- 2004 changed to 2005
FolderG 2004-mar-15<-- 2003 changed to 2004
FolderH 2005-feb-04<-- 2003 changed to 2005
FolderI 2005-jan-04<-- 2003 changed to 2005
FolderJ 2004-dec-03<-- 2002 changed to 2004

ioftpd-raw-listing:
0 Jan 17 08:31 FolderF
0 Dec 03 08:11 FolderJ
0 Feb 04 08:12 FolderH
0 Jan 04 08:11 FolderI
0 Mar 15 08:33 FolderG
Those are indeed bad. iofTPD should have sent years in the dates in the raw listing. I reproduced this behaviour.

Quote:

<---- missing FolderE---->
<---missing all other folders---->
Client issue. If ioFTPD sent correctly formated dates, then the client should parse them and show them.
FlashFXP doesn't have a problem showing all the folders with those dates here.
Mouton is offline   Reply With Quote
Old 02-01-2005, 08:57 AM   #3
hankeyman
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2004
Posts: 12
Default Re: Re: Timestamp-Bug

You were right with the missing folders. thats client-based. Ultrafxp doesnt show them, Flashfxp shows a crippled Timestamp on the 29.02.-Folder, but all other folder, and total commander shows them all correct.

Then there is just the issue with the year left. So ioftpd doesnt send a year. Is this my bad or does all ioftpd have that issue?
hankeyman is offline   Reply With Quote
Old 02-01-2005, 09:03 AM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

That's a io bug.
It should send the year when it's < latest day.
Mouton is offline   Reply With Quote
Reply

Tags
2005-feb-05, 2005-jan-02, foldera, folderc, folderd

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:47 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)