Bug: Invalid argument to date encode
I get an error "Invalid argument to date encode" on any server directory even an empty one.
My installation is Win2000, WinSCP version 4.1.8 (Build 415). I upgraded because of the same error with the old version 3.7.6 (Build 306). The server is Linux Fedora 4.
When I boot into Windows 98 on the same computer, and when I use WinSCP 3.7.6 (Build 306), and I connect to the same server, then the error does not occur.
How can I fix this? Is there a way where I can erase all registry information to start from scratch?
Thanks
Bernard
The log output is:
. 2008-12-08 06:18:44.156 -------------------------------------------------------------------------- . 2008-12-08 06:18:44.156 WinSCP Version 4.1.8 (Build 415) (OS 5.0.2195 Service Pack 4) . 2008-12-08 06:18:44.156 Login time: Monday, 8 December 2008 06:18:44 . 2008-12-08 06:18:44.156 -------------------------------------------------------------------------- . 2008-12-08 06:18:44.156 Session name: session . 2008-12-08 06:18:44.156 Host name: 999.99.999.999 (Port: 22) . 2008-12-08 06:18:44.156 User name: root (Password: No, Key file: No) . 2008-12-08 06:18:44.156 Tunnel: No . 2008-12-08 06:18:44.156 Transfer Protocol: SFTP (SCP) . 2008-12-08 06:18:44.156 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec . 2008-12-08 06:18:44.156 Proxy: none . 2008-12-08 06:18:44.156 SSH protocol version: 2; Compression: No . 2008-12-08 06:18:44.156 Bypass authentication: No . 2008-12-08 06:18:44.156 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No . 2008-12-08 06:18:44.156 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No . 2008-12-08 06:18:44.156 SSH Bugs: -,-,-,-,-,-,-,- . 2008-12-08 06:18:44.156 SFTP Bugs: -,A . 2008-12-08 06:18:44.156 Return code variable: Autodetect; Lookup user groups: Yes . 2008-12-08 06:18:44.156 Shell: default, EOL: 0 . 2008-12-08 06:18:44.156 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes . 2008-12-08 06:18:44.156 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No . 2008-12-08 06:18:44.156 Local directory: default, Remote directory: home, Update: No, Cache: Yes . 2008-12-08 06:18:44.156 Cache directory changes: Yes, Permanent: Yes . 2008-12-08 06:18:44.156 DST mode: 1 . 2008-12-08 06:18:44.156 -------------------------------------------------------------------------- . 2008-12-08 06:18:44.171 Looking up host "999.99.999.999" . 2008-12-08 06:18:44.171 Connecting to 999.99.999.999 port 22 . 2008-12-08 06:18:44.453 Server version: SSH-1.99-OpenSSH_3.5p1 . 2008-12-08 06:18:44.453 We claim version: SSH-2.0-WinSCP_release_4.1.8 . 2008-12-08 06:18:44.453 AcquireCredentialsHandle: No credentials are available in the security package . 2008-12-08 06:18:44.453 GSSKEX disabled: The operation completed successfully. . 2008-12-08 06:18:44.453 Using SSH protocol version 2 . 2008-12-08 06:18:44.781 Doing Diffie-Hellman group exchange . 2008-12-08 06:18:45.328 Doing Diffie-Hellman key exchange with hash SHA-1 . 2008-12-08 06:18:46.531 Host key fingerprint is: . 2008-12-08 06:18:46.531 ssh-rsa 1024 41:c0:40:a4:a4:37:2c:9a:ed:8d:6a:7b:dd:c4:a3:ba . 2008-12-08 06:18:46.531 Initialised AES-256 CBC client->server encryption . 2008-12-08 06:18:46.531 Initialised HMAC-SHA1 client->server MAC algorithm . 2008-12-08 06:18:46.531 Initialised AES-256 CBC server->client encryption . 2008-12-08 06:18:46.531 Initialised HMAC-SHA1 server->client MAC algorithm ! 2008-12-08 06:18:46.890 Using username "root". . 2008-12-08 06:18:47.359 Keyboard-interactive authentication refused . 2008-12-08 06:18:47.359 Prompt (6, SSH password, , &Password: ) . 2008-12-08 06:18:51.437 Sent password . 2008-12-08 06:18:51.718 Access granted . 2008-12-08 06:18:51.937 Opened channel for session . 2008-12-08 06:18:52.171 Started a shell/command . 2008-12-08 06:18:52.171 -------------------------------------------------------------------------- . 2008-12-08 06:18:52.171 Using SFTP protocol. . 2008-12-08 06:18:52.171 Doing startup conversation with host. > 2008-12-08 06:18:52.171 Type: SSH_FXP_INIT, Size: 5, Number: -1 < 2008-12-08 06:18:52.390 Type: SSH_FXP_VERSION, Size: 5, Number: -1 . 2008-12-08 06:18:52.390 SFTP version 3 negotiated. . 2008-12-08 06:18:52.390 We believe the server has signed timestamps bug . 2008-12-08 06:18:52.390 We will use UTF-8 strings for status messages only . 2008-12-08 06:18:52.390 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes . 2008-12-08 06:18:52.390 Getting current directory name. . 2008-12-08 06:18:52.390 Getting real path for '.' > 2008-12-08 06:18:52.390 Type: SSH_FXP_REALPATH, Size: 10, Number: 1296 < 2008-12-08 06:18:52.609 Type: SSH_FXP_NAME, Size: 31, Number: 1296 . 2008-12-08 06:18:52.609 Real path is '/root' . 2008-12-08 06:18:52.609 Listing directory "/root". > 2008-12-08 06:18:52.609 Type: SSH_FXP_OPENDIR, Size: 14, Number: 1547 < 2008-12-08 06:18:52.812 Type: SSH_FXP_HANDLE, Size: 13, Number: 1547 > 2008-12-08 06:18:52.812 Type: SSH_FXP_READDIR, Size: 13, Number: 1804 < 2008-12-08 06:18:54.734 Type: SSH_FXP_NAME, Size: 3331, Number: 1804 > 2008-12-08 06:18:54.734 Type: SSH_FXP_READDIR, Size: 13, Number: 2060 > 2008-12-08 06:18:54.734 Type: SSH_FXP_CLOSE, Size: 13, Number: 2308 * 2008-12-08 06:18:54.734 (ECommand) Error listing directory '/root'. * 2008-12-08 06:18:54.734 Invalid argument to date encode . 2008-12-08 06:18:57.328 Startup conversation with host finished. . 2008-12-08 06:26:18.000 Network error: Software caused connection abort * 2008-12-08 06:27:26.578 (ESshFatal) Network error: Software caused connection abort