Time/date display inconsistent

I can't explain this with much accuracy, so I'll just say this: the dates shown in the remote explorer pane don't match the dates given to you when you're prompted as to whether to overwrite that file or not. I am guessing this is to do with timezones. But it makes the dates on the prompt difficult to use effectively.

While I'm on the subject of dates, the sorting is inconsistent: the arrow pointing downwards on the listview column means ascending date order for local views and descending date order for remote views. Could this be fixed?

Hello ..

>1 date difference in remote browser and file exist dialog
Please provide a log of the FTP session with a screenshot from the listview and the file exist dialog. And post the system information as described in the bug report forum readme.

>2 sorting inconsistent
I cannot see this problem with the latest version:
https://www.smartftp.com/download

The arrow and the order is the same for the remote and the local browser.

-Mat

Hi, you are trying to connect to a MudOS ftpd? if yes, these servers are really buggy and unfinished, they must be fixed by mud admins.

No, I'm not, but thanks anyway. The problem here - or at least part of it - is in the client anyway - the time for the file is being reported correctly from the server as the log shows.

Hello ...

>1 problem
The date/time displayed in the listview comes directly from the LIST output. The date/time in the LIST output is in the local time of the server. The date/time from the MDTM reply is in the UTC format. The UTC time gets converted into the local time of the local computer and is displayed in the file exist dialog.
The solution: Modern FTP servers support the MLSD command instead of the LIST command which output the date/time in the UTC format. Another way would be by introducing a Time Zone setting into the FTP client.

>2
I need to debug the problem under Windows 98, because I cannot see it on my Windows XP system.

-Mat

Nice idea if the combination of MLST+LIST is common.

Update: I just finished the implementation but it doesn't work well for servers where no files with date/time from the current year are found. Because the unix listing doesn't return the date/time of files from last year or earlier.
-rw-r--r--    1 ftp      ftp           103 Mar 18  2004 robots.txt

Can you post the complete log of your FTP session?

Thanks
-Mat

Hi, I'm having the same time zone issue here, in when uploading to a FTP server and trying to preserve the date, SmartFTP sends the UTC time to the server,

eg

uploading coaprototype.log local datestamp 22/02/2006 7:03pm

[18:51:21] 220 Welcome to Quick 'n Easy FTP Server
[18:51:21] 211-Extensions supported
[18:51:21] SIZE
[18:51:21] MDTM
[18:51:21] XCRC
[18:51:21] 211 END
[19:37:19] Remote file exist check: "COAPrototype.log".
[19:37:19] TYPE I
[19:37:19] 200 Type set to BINARY
[19:37:19] SIZE COAPrototype.log
[19:37:19] 550 File not found.
[19:37:19] PASV
[19:37:19] 227 Entering Passive Mode (202,125,174,38,4,0)
[19:37:19] Opening data connection to 202.125.174.38 Port: 1024
[19:37:19] STOR COAPrototype.log
[19:37:19] 150 Opening BINARY mode data connection for file transfer.
[19:37:30] 334961 bytes transferred. (28.1 KB/s) (00:00:11)
[19:37:31] 226 Transfer complete
[19:37:31] MDTM 20060222080351 COAPrototype.log
[19:37:31] 213 Command successful.
[19:37:31] SIZE COAPrototype.log
[19:37:31] 213 334961
[19:37:31] Transfer successful.
[19:37:31] TYPE A
[19:37:31] 200 Type set to ASCII
[19:37:31] PASV
[19:37:31] 227 Entering Passive Mode (202,125,174,38,4,0)
[19:37:31] Opening data connection to 202.125.174.38 Port: 1024
[19:37:31] LIST -aL
[19:37:31] 150 Opening ASCII mode data connection for directory list.
[19:37:31] 18830 bytes transferred. (167 KB/s) (110 ms)
[19:37:31] 226 Transfer complete
[19:38:22] NOOP
[19:38:22] 200 OK

I'm at +10 with daylight saving, so that +11 hours on UTC.

The server now lists the file coaprototype.log with datestamp 22/02/2006 8:03am. The server is in the same time zone as me, but I don't think it has any option to control the time stamps settings.

Is there any option to get SmartFTP to use the local time in the MDTM command?

thanks

+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 1 (Build 2600)

CPU Speed : 2998 MHz
Total Memory : 1047276 KB
Free Memory : 272848 KB

+- SmartFTP ---------------------------
Version : 2.0.993.28
Time Stamp : 2006-02-03 07:54:14
Platform : x86

+- Application DLL --------------------
sfFTPLib.dll : 1.5.7.15
SmartHook.dll : 1.0.2.1

+- Language ---------------------------
SmartFTP.exe : 2.0.993.28

+- System DLL -------------------------
shell32.dll : 6.00.2800.1751 (xpsp2.050922-1653)
shlwapi.dll : 6.00.2800.1740 (xpsp2.050831-1533)
comctl32.dll : 6.0 (xpsp2.050831-1533)
riched20.dll : 5.30.23.1211
schannel.dll : 5.1.2600.1347 (xpsp2.040109-1800)

+- Internet Explorer ------------------
Version : 6.0.2800.1106

+- Winsock ----------------------------
Winsock : 2.2