You are here: PSPad forum > Bug report / Hlášení chyb > FTP shows wrong date (2000 instead of 2017)

FTP shows wrong date (2000 instead of 2017)

#1 FTP shows wrong date (2000 instead of 2017)

Posted by: mgutt | Date: 02/02/2017 15:48 | IP: IP Logged

Since the first of february all dates are displayed wrong. This means if a file was modified "01.02.2017" PSPad shows the date "02.02.2000"

I'm using PSPad 4.6.1 (2730) with Windows 10 Pro 64-bit. I verified this Bug through Filezilla. It shows all dates correctly.

Screenshots:

PSPad
image

Filezilla
image

--
Windows 10 / PSPad 4.6.1 (2730)
www.programmierer-forum.de

Edited 2 time(s). Last edit at 02/02/2017 15:51 by mgutt.

Options: Reply | Quote | Up ^


#2 Re: FTP shows wrong date (2000 instead of 2017)

Posted by: pspad | Date: 02/02/2017 19:08 | IP: IP Logged

Hello

As first try change in PSPD FTP client settings file list to MLSD (switch off the old file listing)
If it doesn't help, connect to your FTP server, open LOG window (CTRL+L) and press LIST button on the side of FTP log window. Send me RAW file listing from LOG. The best form is TXT as attachement

Options: Reply | Quote | Up ^


#3 Re: FTP shows wrong date (2000 instead of 2017)

Posted by: mgutt | Date: 02/02/2017 21:54 | IP: IP Logged

No difference if LIST or MLSD. In the List Log the date is correct:

Quote:
drwx--x--- 5 *** mail 4096 Jan 31 16:22 .
drwx--x--- 5 *** mail 4096 Jan 31 16:22 ..
-rw------- 1 *** *** 9 Jan 31 16:13 .bash_history
-rw-r--r-- 1 *** *** 21 Feb 18 2013 .forward
-rw-r----- 1 *** mail 3121 Oct 7 22:59 passwd.cdb
-rw-r--r-- 1 *** *** 675 Apr 10 2010 .profile
drwx---r-x 38 *** users 20480 Feb 2 12:17 public_html
-rw-r--r-- 1 *** *** 21 Feb 18 2013 .qmail
-rw-r--r-- 1 *** *** 25 Feb 18 2013 .qmail-default
-rw-r--r-- 1 *** mail 13 Oct 13 2013 .spambucket.scores
drwxr-x--- 2 *** *** 4096 Feb 2 21:46 .tmp
drwxrwxr-x 4 *** mail 4096 Oct 7 22:59 users
-rw-r--r-- 1 *** *** 5047421 Jan 29 2015 users.tgz
drwxr-xr-x 2 *** *** 57344 Feb 2 00:35 www_logs

Compare with the screenshot and you see that tmp, public_html and www_logs have wrong dates:
image

Other logs:

Quote:
SSL library: OpenSSL 0.9.8g 19 Oct 2007
Connecting to: ***.your-server.de
220 FTP Server 1.0
AUTH TLS
234 AUTH TLS successful
USER xxxxxx
331 Password required for ***
PASS xxxxxx
230 User *** logged in
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
TYPE I
200 Type set to I
STRU F
200 Structure set to F
MODE S
200 Mode set to S
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
REST 1
350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
Certificate: /OU=GT60799501/OU=See www.rapidssl.com/resources/cps (c)14/OU=Domain Control Validated - RapidSSL(R)/CN=*.your-server.de
FEAT
211-Features:
CCC
PBSZ
AUTH TLS
MFF modify;UNIX.group;UNIX.mode;
REST STREAM
MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
UTF8
EPRT
EPSV
LANG en-US.UTF-8*;en-US;ru-RU.UTF-8;ru-RU
MDTM
SSCN
TVFS
MFMT
SIZE
PROT
211 End
CWD /
250 CWD command successful
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (78,**,8,57,***,195).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete
SYST
215 UNIX Type: L8
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (78,**,8,57,***,22).
LIST -la
150 Opening ASCII mode data connection for file list
226 Transfer complete

Edited 3 time(s). Last edit at 02/02/2017 21:58 by mgutt.

Options: Reply | Quote | Up ^


#4 Re: FTP shows wrong date (2000 instead of 2017)

Posted by: pspad | Date: 02/03/2017 06:05 | IP: IP Logged

Your server doesnt support MLSD command, what is file list standard few years already.
As you can see, it sends different format for files from this year and past years - for this year listing doesn't include year.
In the past each FTP server uses own format of listing files and this is a result.

I will try to fix it.

Options: Reply | Quote | Up ^


#5 Re: FTP shows wrong date (2000 instead of 2017)

Posted by: pspad | Date: 02/06/2017 08:23 | IP: IP Logged

mgutt:

Quote:
drwx--x--- 5 *** mail 4096 Jan 31 16:22 .
drwx--x--- 5 *** mail 4096 Jan 31 16:22 ..
-rw------- 1 *** *** 9 Jan 31 16:13 .bash_history
-rw-r--r-- 1 *** *** 21 Feb 18 2013 .forward
-rw-r----- 1 *** mail 3121 Oct 7 22:59 passwd.cdb
-rw-r--r-- 1 *** *** 675 Apr 10 2010 .profile
drwx---r-x 38 *** users 20480 Feb 2 12:17 public_html
-rw-r--r-- 1 *** *** 21 Feb 18 2013 .qmail
-rw-r--r-- 1 *** *** 25 Feb 18 2013 .qmail-default
-rw-r--r-- 1 *** mail 13 Oct 13 2013 .spambucket.scores
drwxr-x--- 2 *** *** 4096 Feb 2 21:46 .tmp
drwxrwxr-x 4 *** mail 4096 Oct 7 22:59 users
-rw-r--r-- 1 *** *** 5047421 Jan 29 2015 users.tgz
drwxr-xr-x 2 *** *** 57344 Feb 2 00:35 www_logs

Sorry, but this list is useless. I wrote you to send me list as is without changes in TXT attachement to mail. I need to check list output parser. Each space or character is important in LIST output. What did you do? You put is here, you replaced part of list with asterisks.
If you want me to fix your problem, please cooperate.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák