Invalid argument to date encode [2010-2-29]

Advertisement

kilgore
Joined:
Posts:
2
Location:
KYOTO

Invalid argument to date encode [2010-2-29]

Hi Guys,

I use Winscp 4.2.7 (BUild 758) on windows XP.
The protocol is FTP.
The server is a netbsd

I use Winscp in GUI mode in Commander mode.

When requested to list a directory, the ftp server displays an incomplete without the year.

My problem is that apparently, when I want to access a directory that contains files dated from Feb 29 2008, Winscp interprets it as Feb 29 2010, and displays an error message, and aborts the parsong of the directory.

Here is the error message:
Error listing directory '/shadows'.
Unexpected directory listing line 'XXR22C21/drwxr-xr-x/0 0/0/1/0/2010/2/29/2/58/1/1'.
Invalid argument to date encode [2010-2-29]


Here is the log:

. 2010-03-18 14:55:25.750 Getting current directory name.
. 2010-03-18 14:55:25.750 Retrieving directory listing...
> 2010-03-18 14:55:25.750 TYPE A
< 2010-03-18 14:55:25.765 200 TYPE is now ASCII.
> 2010-03-18 14:55:25.765 PORT 172,19,31,152,9,160
< 2010-03-18 14:55:25.812 200 PORT command successful.
> 2010-03-18 14:55:25.812 LIST -a
< 2010-03-18 14:55:25.906 150 Starting ASCII transfer.
< 2010-03-18 14:55:26.046 226 Transfer complete.
. 2010-03-18 14:55:26.296 Session upkeep
. 2010-03-18 14:55:26.328 -rwxr-xr-- 1 0 0 176970 Nov 4 22:19 A2XPRBGX.IMG
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Feb 3 15:09 XX100203
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Mar 8 15:35 XX100308
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Mar 10 15:45 XX100310
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Mar 17 05:33 XX100317
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Feb 29 02:58 XXR22C21
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Jul 31 15:36 XXT450UP
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Dec 3 17:33 XXTHSDPA
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Jul 30 12:58 XXTMXU
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Jul 29 14:33 XXTOMU
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Nov 9 03:28 XXTRN22
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Mar 26 03:20 XXTTN55
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Jul 31 11:45 XXTVARI
. 2010-03-18 14:55:26.328 drwxr-xr-x 1 0 0 0 Dec 13 02:30 XXTVCCC
. 2010-03-18 14:55:26.343 Directory listing successful
. 2010-03-18 14:55:26.343 Got reply 1 to the command 2
* 2010-03-18 14:55:26.359 (ECommand) Error listing directory '/shadows'.
* 2010-03-18 14:55:26.359 Unexpected directory listing line 'XXR22C21/drwxr-xr-x/0 0/0/1/0/2010/2/29/2/58/1/1'.
* 2010-03-18 14:55:26.359 Invalid argument to date encode [2010-2-29]
. 2010-03-18 14:55:51.281 Session upkeep

Reply with quote

kilgore
Joined:
Posts:
2
Location:
KYOTO

Invalid argument to date encode [2010-2-29]

Hi,

I would like to complete the bug description on the problem "Invalid argument to date encode [2010-2-29] ".

The problem is not that winscp interprets the date correctly. the problem is that the command is aborted after this error and itis impossiblt to view the complete directory.


Best regards

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Invalid argument to date encode [2010-2-29]

Thanks for your post. I'll check it.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum