Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Big Ern

Re: We believe the server has signed timestamps bug

Wow, I feel kinda stupid. I changed this from FTP to SFTP and modified the script and forgot about that. Thanks for taking a look.
martin

Re: We believe the server has signed timestamps bug

There's no mput command. See documentation.
Big Ern

Re: We believe the server has signed timestamps bug

It doesn't perform the upload. I'll include the script that does the upload.
option batch on
option confirm off
option echo on
open Generic
lcd c:\Test\Generic
cd Test
mput .\*.txt *.txt -nopermissions -nopreservetime
exit
martin

Re: We believe the server has signed timestamps bug

I do not understand. So your only problem is that you see the "We believe the server has signed timestamps bug" entry in the log?
Big Ern

We believe the server has signed timestamps bug

I'm using version 4.1.9 build(416)
. 2009-11-04 11:00:00.799 --------------------------------------------------------------------------
. 2009-11-04 11:00:00.799 WinSCP Version 4.1.9 (Build 416) (OS 5.2.3790 Service Pack 2)
. 2009-11-04 11:00:00.799 Login time: Wednesday, November 04, 2009 11:00:00 AM
. 2009-11-04 11:00:00.799 --------------------------------------------------------------------------
. 2009-11-04 11:00:00.799 Session name: Generic
. 2009-11-04 11:00:00.799 Host name: sftp.generic.com (Port: 22)
. 2009-11-04 11:00:00.799 User name: generic (Password: Yes, Key file: Yes)
. 2009-11-04 11:00:00.799 Tunnel: No
. 2009-11-04 11:00:00.799 Transfer Protocol: SFTP (SCP)
. 2009-11-04 11:00:00.799 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-11-04 11:00:00.799 Proxy: none
. 2009-11-04 11:00:00.799 SSH protocol version: 2; Compression: No
. 2009-11-04 11:00:00.799 Bypass authentication: No
. 2009-11-04 11:00:00.799 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-11-04 11:00:00.799 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-11-04 11:00:00.799 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-11-04 11:00:00.799 SFTP Bugs: -,-
. 2009-11-04 11:00:00.799 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-11-04 11:00:00.799 Shell: default, EOL: 0
. 2009-11-04 11:00:00.799 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-11-04 11:00:00.799 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-11-04 11:00:00.799 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-11-04 11:00:00.799 Cache directory changes: Yes, Permanent: Yes
. 2009-11-04 11:00:00.799 DST mode: 1
. 2009-11-04 11:00:00.799 --------------------------------------------------------------------------
. 2009-11-04 11:00:00.799 Looking up host "sftp.generic.com"
. 2009-11-04 11:00:01.018 Connecting to 000.000.000.000 port 22
. 2009-11-04 11:00:01.190 Server version: SSH-2.0-JSCAPE
. 2009-11-04 11:00:01.190 We claim version: SSH-2.0-WinSCP_release_4.1.9
. 2009-11-04 11:00:01.205 SSPI: acquired credentials for: generic@GENERIC.COM
. 2009-11-04 11:00:01.205 Constructed service principal name 'host/sftp.generic.com'
. 2009-11-04 11:00:01.221 GSSKEX disabled: The specified target is unknown or unreachable
 
. 2009-11-04 11:00:01.221 Using SSH protocol version 2
. 2009-11-04 11:00:01.315 Using Diffie-Hellman with standard group "group1"
. 2009-11-04 11:00:01.315 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-11-04 11:00:01.690 Host key fingerprint is:
. 2009-11-04 11:00:01.690 ssh-rsa 1024 77:98:4c:cc:a4:b5:7e:fb:ca:8f:b4:af:11:1b:33:28
. 2009-11-04 11:00:01.690 Initialised Blowfish-128 CBC client->server encryption
. 2009-11-04 11:00:01.690 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-11-04 11:00:01.784 Initialised Blowfish-128 CBC server->client encryption
. 2009-11-04 11:00:01.784 Initialised HMAC-SHA1 server->client MAC algorithm
. 2009-11-04 11:00:01.862 Reading private key file "C:\Test\keys\Generic_private.ppk"
! 2009-11-04 11:00:01.862 Using username "Generic".
. 2009-11-04 11:00:01.940 Offered public key
! 2009-11-04 11:00:02.018 Server refused our key
. 2009-11-04 11:00:02.018 Server refused public key
. 2009-11-04 11:00:02.018 Prompt (6, SSH password, , &Password: )
. 2009-11-04 11:00:02.018 Using stored password.
. 2009-11-04 11:00:02.018 Sent password
. 2009-11-04 11:00:02.112 Access granted
. 2009-11-04 11:00:02.190 Opened channel for session
. 2009-11-04 11:00:02.268 Started a shell/command
. 2009-11-04 11:00:02.268 --------------------------------------------------------------------------
. 2009-11-04 11:00:02.268 Using SFTP protocol.
. 2009-11-04 11:00:02.284 Doing startup conversation with host.
> 2009-11-04 11:00:02.284 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-11-04 11:00:02.627 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-11-04 11:00:02.627 SFTP version 3 negotiated.
. 2009-11-04 11:00:02.627 We believe the server has signed timestamps bug
. 2009-11-04 11:00:02.627 We will use UTF-8 strings for status messages only
. 2009-11-04 11:00:02.627 Getting current directory name.
. 2009-11-04 11:00:02.627 Getting real path for '.'
> 2009-11-04 11:00:02.627 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-11-04 11:00:02.705 Type: SSH_FXP_NAME, Size: 84, Number: 16
. 2009-11-04 11:00:02.705 Real path is '/'
. 2009-11-04 11:00:02.705 Startup conversation with host finished.
. 2009-11-04 11:00:02.705 Cached directory change via "Test" to "/Test".
. 2009-11-04 11:00:02.705 Getting current directory name.
. 2009-11-04 11:00:02.705 Closing connection.
. 2009-11-04 11:00:02.705 Sending special code: 12
. 2009-11-04 11:00:02.705 Sent EOF message
martin

Re: We believe the server has signed timestamps bug

Big Ern wrote:

I am also getting this message and I'm able to download using sftp, but unable to upload.

What version of WinSCP are you using? Can you post a log file?
Big Ern

We believe the server has signed timestamps bug

I am also getting this message and I'm able to download using sftp, but unable to upload.
martin

scfd524 wrote:

What was the resolution for that? I'm getting the same message and it's setting the status/error code to 1.
. 2009-02-18 15:19:12.578 We believe the server has signed timestamps bug

. 2009-02-18 15:19:12.578 We will use UTF-8 strings for status messages only

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? You will find my address (if you log in) in my forum profile. Please include link back to this topic. Thanks.
scfd524

What was the resolution for that? I'm getting the same message and it's setting the status/error code to 1.
. 2009-02-18 15:19:12.578 We believe the server has signed timestamps bug

. 2009-02-18 15:19:12.578 We will use UTF-8 strings for status messages only

Thansk.
martin

Re: Bug: Invalid argument to date encode

I'll send you a debug version soon.
bht931

Bug: Invalid argument to date encode

Hi,

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