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

Jeff C.

Long File Names

I had 5 files I could not copy ranging in filename length from 88 to 70 characters on Win XP. I shorten them by less than half and they all copied fine.
martin

zskillz wrote:

well.. it turns out that both the local and remote systems are using NTFS. However, I get an error when trying to copy the file using the simple windows sharing...

Sorry, no idea.
zskillz

well.. it turns out that both the local and remote systems are using NTFS. However, I get an error when trying to copy the file using the simple windows sharing...

thoughts?

-Z
martin

To me it seems like the remote filesystem (or operating system) does not support that long filenames. I suppose that you are uploading the files to FAT, where there is about 256 characters limit for path length.

I've checked the OpenSSH source code and it indeed returns "Bad message" error for ENAMETOOLONG error. I believe that it is bit confusing.
zskillz

. 2005-04-04 14:13:33.811 --------------------------------------------------------------------------

. 2005-04-04 14:13:33.811 WinSCP Version 3.7.4 (Build 271) (OS 5.1.2600 Service Pack 2)
. 2005-04-04 14:13:33.811 Login time: Monday, April 04, 2005 2:13:33 PM
. 2005-04-04 14:13:33.811 --------------------------------------------------------------------------
. 2005-04-04 14:13:33.811 Session name: XXXXXX
. 2005-04-04 14:13:33.811 Host name: XXXXXXXXXXXXX (Port: 22)
. 2005-04-04 14:13:33.811 User name: group (Password: Yes, Key file: No)
. 2005-04-04 14:13:33.811 Transfer Protocol: SFTP
. 2005-04-04 14:13:33.811 SSH protocol version: 2; Compression: No
. 2005-04-04 14:13:33.811 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2005-04-04 14:13:33.811 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2005-04-04 14:13:33.811 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2005-04-04 14:13:33.811 SSH Bugs: -,-,-,-,-,-,-,-
. 2005-04-04 14:13:33.811 SFTP Bugs: -,-,-
. 2005-04-04 14:13:33.811 Proxy: none
. 2005-04-04 14:13:33.811 Return code variable: Autodetect; Lookup user groups: Yes
. 2005-04-04 14:13:33.811 Shell: default, EOL: 0
. 2005-04-04 14:13:33.811 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2005-04-04 14:13:33.811 Cache directory changes: Yes, Permanent: Yes
. 2005-04-04 14:13:33.811 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2005-04-04 14:13:33.811 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2005-04-04 14:13:33.811 --------------------------------------------------------------------------
. 2005-04-04 14:13:33.811 Looking up host "XXXXXXXXXXXXX"
. 2005-04-04 14:13:33.811 Connecting to XXXXXXXXXXXXX port 22
. 2005-04-04 14:13:34.662 Server version: SSH-2.0-OpenSSH_3.8.1p1
. 2005-04-04 14:13:34.662 We claim version: SSH-2.0-WinSCP_release_3.7.4
. 2005-04-04 14:13:34.662 Using SSH protocol version 2
. 2005-04-04 14:13:34.662 Doing Diffie-Hellman group exchange
. 2005-04-04 14:13:34.942 Doing Diffie-Hellman key exchange
. 2005-04-04 14:13:35.543 Host key fingerprint is:
. 2005-04-04 14:13:35.543 ssh-rsa 1024 f9:e6:3b:a8:18:ba:48:27:4e:1f:7d:5e:86:3c:68:58
. 2005-04-04 14:13:35.543 Initialised AES-256 client->server encryption
. 2005-04-04 14:13:35.543 Initialised HMAC-SHA1 client->server MAC algorithm
. 2005-04-04 14:13:35.543 Initialised AES-256 server->client encryption
. 2005-04-04 14:13:35.543 Initialised HMAC-SHA1 server->client MAC algorithm
! 2005-04-04 14:13:35.733 Using username "group".
! 2005-04-04 14:13:35.783                             ****USAGE WARNING****
! 2005-04-04 14:13:35.783 This is a private computer system. This computer system, including all
! 2005-04-04 14:13:35.783 related equipment, networks, and network devices (specifically including
! 2005-04-04 14:13:35.783 Internet access) are provided only for authorized use. This computer system
! 2005-04-04 14:13:35.783 may be monitored for all lawful purposes, including to ensure that its use
! 2005-04-04 14:13:35.793 is authorized, for management of the system, to facilitate protection against
! 2005-04-04 14:13:35.793 unauthorized access, and to verify security procedures, survivability, and
! 2005-04-04 14:13:35.793 operational security. Monitoring includes active attacks by authorized entities
! 2005-04-04 14:13:35.793 to test or verify the security of this system. During monitoring, information
! 2005-04-04 14:13:35.793 may be examined, recorded, copied and used for authorized purposes. All
! 2005-04-04 14:13:35.793 information, including personal information, placed or sent over this system
! 2005-04-04 14:13:35.793 may be monitored.
! 2005-04-04 14:13:35.793 Use of this computer system, authorized or unauthorized, constitutes consent
! 2005-04-04 14:13:35.793 to monitoring of this system. Unauthorized use may subject you to criminal
! 2005-04-04 14:13:35.793 prosecution. Evidence of unauthorized use collected during monitoring may be
! 2005-04-04 14:13:35.793 used for administrative, criminal, or other adverse action. Use of this system
! 2005-04-04 14:13:35.793 constitutes consent to monitoring for these purposes.
. 2005-04-04 14:13:35.793 Keyboard-interactive authentication refused
. 2005-04-04 14:13:35.793 Session password prompt (group@XXXXXXXXXXXXX's password: )
. 2005-04-04 14:13:35.793 Using stored password.
. 2005-04-04 14:13:35.793 Sent password
. 2005-04-04 14:13:35.954 Access granted
. 2005-04-04 14:13:35.974 Opened channel for session
. 2005-04-04 14:13:36.024 Started a shell/command
. 2005-04-04 14:13:36.024 --------------------------------------------------------------------------
. 2005-04-04 14:13:36.034 Using SFTP protocol.
. 2005-04-04 14:13:36.034 Doing startup conversation with host.
> 2005-04-04 14:13:36.034 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2005-04-04 14:13:36.615 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2005-04-04 14:13:36.615 SFTP version 3 negotiated.
> 2005-04-04 14:13:36.615 Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
< 2005-04-04 14:13:36.655 Type: SSH_FXP_STATUS, Size: 38, Number: 200
< 2005-04-04 14:13:36.655 Status/error code: 8
. 2005-04-04 14:13:36.655 Server does not recognise WinSCP.
. 2005-04-04 14:13:36.655 We believe the server has signed timestamps bug
. 2005-04-04 14:13:36.655 Getting current directory name.
. 2005-04-04 14:13:36.655 Getting real path for '.'
> 2005-04-04 14:13:36.655 Type: SSH_FXP_REALPATH, Size: 10, Number: 528
< 2005-04-04 14:13:36.685 Type: SSH_FXP_NAME, Size: 77, Number: 528
. 2005-04-04 14:13:36.685 Real path is '/cygdrive/d/Data/Data_Shared'
. 2005-04-04 14:13:36.685 Listing directory "/cygdrive/d/Data/Data_Shared".
> 2005-04-04 14:13:36.685 Type: SSH_FXP_OPENDIR, Size: 37, Number: 779
< 2005-04-04 14:13:36.715 Type: SSH_FXP_HANDLE, Size: 13, Number: 779
> 2005-04-04 14:13:36.715 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< 2005-04-04 14:13:36.895 Type: SSH_FXP_NAME, Size: 1257, Number: 1036
> 2005-04-04 14:13:36.895 Type: SSH_FXP_READDIR, Size: 13, Number: 1292
< 2005-04-04 14:13:36.925 Type: SSH_FXP_STATUS, Size: 28, Number: 1292
< 2005-04-04 14:13:36.925 Status/error code: 1
> 2005-04-04 14:13:36.925 Type: SSH_FXP_CLOSE, Size: 13, Number: 1540
. 2005-04-04 14:13:36.925 Startup conversation with host finished.
. 2005-04-04 14:13:38.708 Detected incoming data while idle
. 2005-04-04 14:13:46.879 Cached directory change via "ZEXD" to "/cygdrive/d/Data/Data_Shared/ZEXD".
. 2005-04-04 14:13:46.879 Getting current directory name.
. 2005-04-04 14:13:46.879 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD".
> 2005-04-04 14:13:46.879 Type: SSH_FXP_OPENDIR, Size: 42, Number: 1803
< 2005-04-04 14:13:46.879 Type: SSH_FXP_STATUS, Size: 24, Number: 1540
. 2005-04-04 14:13:46.879 Discarding reserved response
< 2005-04-04 14:13:46.909 Type: SSH_FXP_HANDLE, Size: 13, Number: 1803
> 2005-04-04 14:13:46.909 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
< 2005-04-04 14:13:47.060 Type: SSH_FXP_NAME, Size: 5479, Number: 2060
> 2005-04-04 14:13:47.060 Type: SSH_FXP_READDIR, Size: 13, Number: 2316
< 2005-04-04 14:13:47.080 Type: SSH_FXP_STATUS, Size: 28, Number: 2316
< 2005-04-04 14:13:47.080 Status/error code: 1
> 2005-04-04 14:13:47.080 Type: SSH_FXP_CLOSE, Size: 13, Number: 2564
. 2005-04-04 14:13:47.941 Detected incoming data while idle
. 2005-04-04 14:13:49.764 Cached directory change via "Research" to "/cygdrive/d/Data/Data_Shared/ZEXD/Research".
. 2005-04-04 14:13:49.764 Getting current directory name.
. 2005-04-04 14:13:49.764 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research".
> 2005-04-04 14:13:49.764 Type: SSH_FXP_OPENDIR, Size: 51, Number: 2827
< 2005-04-04 14:13:49.764 Type: SSH_FXP_STATUS, Size: 24, Number: 2564
. 2005-04-04 14:13:49.764 Discarding reserved response
< 2005-04-04 14:13:49.794 Type: SSH_FXP_HANDLE, Size: 13, Number: 2827
> 2005-04-04 14:13:49.794 Type: SSH_FXP_READDIR, Size: 13, Number: 3084
< 2005-04-04 14:13:50.114 Type: SSH_FXP_NAME, Size: 1943, Number: 3084
> 2005-04-04 14:13:50.114 Type: SSH_FXP_READDIR, Size: 13, Number: 3340
< 2005-04-04 14:13:50.144 Type: SSH_FXP_STATUS, Size: 28, Number: 3340
< 2005-04-04 14:13:50.144 Status/error code: 1
> 2005-04-04 14:13:50.144 Type: SSH_FXP_CLOSE, Size: 13, Number: 3588
. 2005-04-04 14:13:50.184 Detected incoming data while idle
. 2005-04-04 14:13:54.030 Cached directory change via "Literature" to "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature".
. 2005-04-04 14:13:54.030 Getting current directory name.
. 2005-04-04 14:13:54.030 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature".
> 2005-04-04 14:13:54.030 Type: SSH_FXP_OPENDIR, Size: 62, Number: 3851
< 2005-04-04 14:13:54.030 Type: SSH_FXP_STATUS, Size: 24, Number: 3588
. 2005-04-04 14:13:54.030 Discarding reserved response
< 2005-04-04 14:13:54.050 Type: SSH_FXP_HANDLE, Size: 13, Number: 3851
> 2005-04-04 14:13:54.050 Type: SSH_FXP_READDIR, Size: 13, Number: 4108
< 2005-04-04 14:13:54.330 Type: SSH_FXP_NAME, Size: 6455, Number: 4108
> 2005-04-04 14:13:54.330 Type: SSH_FXP_READDIR, Size: 13, Number: 4364
< 2005-04-04 14:13:54.370 Type: SSH_FXP_STATUS, Size: 28, Number: 4364
< 2005-04-04 14:13:54.370 Status/error code: 1
> 2005-04-04 14:13:54.370 Type: SSH_FXP_CLOSE, Size: 13, Number: 4612
. 2005-04-04 14:13:54.440 Detected incoming data while idle
. 2005-04-04 14:14:04.345 Changing directory to "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR".
. 2005-04-04 14:14:04.345 Getting real path for '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR'
> 2005-04-04 14:14:04.345 Type: SSH_FXP_REALPATH, Size: 66, Number: 4880
< 2005-04-04 14:14:04.345 Type: SSH_FXP_STATUS, Size: 24, Number: 4612
. 2005-04-04 14:14:04.345 Discarding reserved response
< 2005-04-04 14:14:04.365 Type: SSH_FXP_NAME, Size: 135, Number: 4880
. 2005-04-04 14:14:04.365 Real path is '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR'
. 2005-04-04 14:14:04.365 Trying to open directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR".
> 2005-04-04 14:14:04.365 Type: SSH_FXP_LSTAT, Size: 66, Number: 5127
< 2005-04-04 14:14:04.405 Type: SSH_FXP_ATTRS, Size: 37, Number: 5127
. 2005-04-04 14:14:04.405 Getting current directory name.
. 2005-04-04 14:14:04.405 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR".
> 2005-04-04 14:14:04.405 Type: SSH_FXP_OPENDIR, Size: 66, Number: 5387
< 2005-04-04 14:14:04.435 Type: SSH_FXP_HANDLE, Size: 13, Number: 5387
> 2005-04-04 14:14:04.435 Type: SSH_FXP_READDIR, Size: 13, Number: 5644
< 2005-04-04 14:14:04.595 Type: SSH_FXP_NAME, Size: 5641, Number: 5644
> 2005-04-04 14:14:04.595 Type: SSH_FXP_READDIR, Size: 13, Number: 5900
< 2005-04-04 14:14:04.625 Type: SSH_FXP_STATUS, Size: 28, Number: 5900
< 2005-04-04 14:14:04.625 Status/error code: 1
> 2005-04-04 14:14:04.625 Type: SSH_FXP_CLOSE, Size: 13, Number: 6148
. 2005-04-04 14:14:05.316 Detected incoming data while idle
. 2005-04-04 14:14:07.759 Cached directory change via "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature" to "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature".
. 2005-04-04 14:14:07.759 Getting current directory name.
. 2005-04-04 14:14:07.790 Directory content loaded from cache.
. 2005-04-04 14:14:16.162 Cached directory change via "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR" to "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR".
. 2005-04-04 14:14:16.162 Getting current directory name.
. 2005-04-04 14:14:16.212 Directory content loaded from cache.
. 2005-04-04 14:14:21.649 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR', mode = 0, params = 3
. 2005-04-04 14:14:21.659 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR".
> 2005-04-04 14:14:21.659 Type: SSH_FXP_OPENDIR, Size: 66, Number: 6411
< 2005-04-04 14:14:21.659 Type: SSH_FXP_STATUS, Size: 24, Number: 6148
. 2005-04-04 14:14:21.659 Discarding reserved response
< 2005-04-04 14:14:21.689 Type: SSH_FXP_HANDLE, Size: 13, Number: 6411
> 2005-04-04 14:14:21.689 Type: SSH_FXP_READDIR, Size: 13, Number: 6668
< 2005-04-04 14:14:21.740 Type: SSH_FXP_NAME, Size: 5641, Number: 6668
> 2005-04-04 14:14:21.740 Type: SSH_FXP_READDIR, Size: 13, Number: 6924
< 2005-04-04 14:14:21.760 Type: SSH_FXP_STATUS, Size: 28, Number: 6924
< 2005-04-04 14:14:21.760 Status/error code: 1
> 2005-04-04 14:14:21.760 Type: SSH_FXP_CLOSE, Size: 13, Number: 7172
. 2005-04-04 14:14:21.760 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\CIDEP' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/CIDEP', mode = 0, params = 3
. 2005-04-04 14:14:21.770 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/CIDEP".
> 2005-04-04 14:14:21.770 Type: SSH_FXP_OPENDIR, Size: 72, Number: 7435
< 2005-04-04 14:14:21.800 Type: SSH_FXP_STATUS, Size: 24, Number: 7172
. 2005-04-04 14:14:21.800 Discarding reserved response
< 2005-04-04 14:14:21.830 Type: SSH_FXP_HANDLE, Size: 13, Number: 7435
> 2005-04-04 14:14:21.830 Type: SSH_FXP_READDIR, Size: 13, Number: 7692
< 2005-04-04 14:14:21.860 Type: SSH_FXP_NAME, Size: 3445, Number: 7692
> 2005-04-04 14:14:21.870 Type: SSH_FXP_READDIR, Size: 13, Number: 7948
< 2005-04-04 14:14:21.890 Type: SSH_FXP_STATUS, Size: 28, Number: 7948
< 2005-04-04 14:14:21.890 Status/error code: 1
> 2005-04-04 14:14:21.890 Type: SSH_FXP_CLOSE, Size: 13, Number: 8196
. 2005-04-04 14:14:21.890 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\Hoffman' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Hoffman', mode = 0, params = 3
. 2005-04-04 14:14:21.890 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Hoffman".
> 2005-04-04 14:14:21.890 Type: SSH_FXP_OPENDIR, Size: 74, Number: 8459
< 2005-04-04 14:14:21.920 Type: SSH_FXP_STATUS, Size: 24, Number: 8196
. 2005-04-04 14:14:21.920 Discarding reserved response
< 2005-04-04 14:14:21.960 Type: SSH_FXP_HANDLE, Size: 13, Number: 8459
> 2005-04-04 14:14:21.960 Type: SSH_FXP_READDIR, Size: 13, Number: 8716
< 2005-04-04 14:14:21.990 Type: SSH_FXP_NAME, Size: 811, Number: 8716
> 2005-04-04 14:14:21.990 Type: SSH_FXP_READDIR, Size: 13, Number: 8972
< 2005-04-04 14:14:22.020 Type: SSH_FXP_STATUS, Size: 28, Number: 8972
< 2005-04-04 14:14:22.020 Status/error code: 1
> 2005-04-04 14:14:22.020 Type: SSH_FXP_CLOSE, Size: 13, Number: 9220
. 2005-04-04 14:14:22.020 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\PDI' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/PDI', mode = 0, params = 3
. 2005-04-04 14:14:22.020 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/PDI".
> 2005-04-04 14:14:22.020 Type: SSH_FXP_OPENDIR, Size: 70, Number: 9483
< 2005-04-04 14:14:22.050 Type: SSH_FXP_STATUS, Size: 24, Number: 9220
. 2005-04-04 14:14:22.050 Discarding reserved response
< 2005-04-04 14:14:22.080 Type: SSH_FXP_HANDLE, Size: 13, Number: 9483
> 2005-04-04 14:14:22.080 Type: SSH_FXP_READDIR, Size: 13, Number: 9740
< 2005-04-04 14:14:22.130 Type: SSH_FXP_NAME, Size: 2363, Number: 9740
> 2005-04-04 14:14:22.130 Type: SSH_FXP_READDIR, Size: 13, Number: 9996
< 2005-04-04 14:14:22.330 Type: SSH_FXP_STATUS, Size: 28, Number: 9996
< 2005-04-04 14:14:22.330 Status/error code: 1
> 2005-04-04 14:14:22.330 Type: SSH_FXP_CLOSE, Size: 13, Number: 10244
. 2005-04-04 14:14:22.330 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\rotation' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/rotation', mode = 0, params = 3
. 2005-04-04 14:14:22.340 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/rotation".
> 2005-04-04 14:14:22.340 Type: SSH_FXP_OPENDIR, Size: 75, Number: 10507
< 2005-04-04 14:14:22.370 Type: SSH_FXP_STATUS, Size: 24, Number: 10244
. 2005-04-04 14:14:22.370 Discarding reserved response
< 2005-04-04 14:14:22.421 Type: SSH_FXP_HANDLE, Size: 13, Number: 10507
> 2005-04-04 14:14:22.421 Type: SSH_FXP_READDIR, Size: 13, Number: 10764
< 2005-04-04 14:14:22.461 Type: SSH_FXP_NAME, Size: 2541, Number: 10764
> 2005-04-04 14:14:22.461 Type: SSH_FXP_READDIR, Size: 13, Number: 11020
< 2005-04-04 14:14:22.491 Type: SSH_FXP_STATUS, Size: 28, Number: 11020
< 2005-04-04 14:14:22.491 Status/error code: 1
> 2005-04-04 14:14:22.491 Type: SSH_FXP_CLOSE, Size: 13, Number: 11268
. 2005-04-04 14:14:22.491 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\Spin Correlation' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Spin Correlation', mode = 0, params = 3
. 2005-04-04 14:14:22.501 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Spin Correlation".
> 2005-04-04 14:14:22.501 Type: SSH_FXP_OPENDIR, Size: 83, Number: 11531
< 2005-04-04 14:14:22.521 Type: SSH_FXP_STATUS, Size: 24, Number: 11268
. 2005-04-04 14:14:22.521 Discarding reserved response
< 2005-04-04 14:14:22.561 Type: SSH_FXP_HANDLE, Size: 13, Number: 11531
> 2005-04-04 14:14:22.561 Type: SSH_FXP_READDIR, Size: 13, Number: 11788
< 2005-04-04 14:14:22.591 Type: SSH_FXP_NAME, Size: 3183, Number: 11788
> 2005-04-04 14:14:22.591 Type: SSH_FXP_READDIR, Size: 13, Number: 12044
< 2005-04-04 14:14:22.621 Type: SSH_FXP_STATUS, Size: 28, Number: 12044
< 2005-04-04 14:14:22.621 Status/error code: 1
> 2005-04-04 14:14:22.621 Type: SSH_FXP_CLOSE, Size: 13, Number: 12292
. 2005-04-04 14:14:22.621 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\Triplet' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet', mode = 0, params = 3
. 2005-04-04 14:14:22.631 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet".
> 2005-04-04 14:14:22.631 Type: SSH_FXP_OPENDIR, Size: 74, Number: 12555
< 2005-04-04 14:14:22.651 Type: SSH_FXP_STATUS, Size: 24, Number: 12292
. 2005-04-04 14:14:22.651 Discarding reserved response
< 2005-04-04 14:14:22.691 Type: SSH_FXP_HANDLE, Size: 13, Number: 12555
> 2005-04-04 14:14:22.691 Type: SSH_FXP_READDIR, Size: 13, Number: 12812
< 2005-04-04 14:14:22.741 Type: SSH_FXP_NAME, Size: 9937, Number: 12812
> 2005-04-04 14:14:22.741 Type: SSH_FXP_READDIR, Size: 13, Number: 13068
< 2005-04-04 14:14:22.771 Type: SSH_FXP_STATUS, Size: 28, Number: 13068
< 2005-04-04 14:14:22.771 Status/error code: 1
> 2005-04-04 14:14:22.771 Type: SSH_FXP_CLOSE, Size: 13, Number: 13316
. 2005-04-04 14:14:22.931 Detected incoming data while idle
. 2005-04-04 14:14:23.122 Copying 3 files/directories to remote directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet"
. 2005-04-04 14:14:23.122   PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No; FnCs: N; RIC: Yes; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2005-04-04 14:14:23.122   TM: M; ClAr: No; ExclM:
. 2005-04-04 14:14:23.122   AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2005-04-04 14:14:23.152 File: "D:\MyDocs\Research\Literature\EPR\Triplet\Calculation of the ESR Line Shape of Randomly Oriented Molecules in a Triplet State. II. Correlation of the Spectrum with the Zero-Field Splittings. Introduction of an Orientation-Dependent Linewidth.pdf"
. 2005-04-04 14:14:23.162 Copying "D:\MyDocs\Research\Literature\EPR\Triplet\Calculation of the ESR Line Shape of Randomly Oriented Molecules in a Triplet State. II. Correlation of the Spectrum with the Zero-Field Splittings. Introduction of an Orientation-Dependent Linewidth.pdf" to remote directory started.
. 2005-04-04 14:14:23.162 Binary transfer mode selected.
. 2005-04-04 14:14:23.162 Checking existence of file.
> 2005-04-04 14:14:23.162 Type: SSH_FXP_LSTAT, Size: 278, Number: 13575
< 2005-04-04 14:14:23.162 Type: SSH_FXP_STATUS, Size: 24, Number: 13316
. 2005-04-04 14:14:23.162 Discarding reserved response
< 2005-04-04 14:14:23.192 Type: SSH_FXP_STATUS, Size: 28, Number: 13575
< 2005-04-04 14:14:23.192 Status/error code: 5, Message: 13575, Server: Bad message, Language: 
. 2005-04-04 14:14:23.192 Checking existence of partially transfered file.
> 2005-04-04 14:14:23.192 Type: SSH_FXP_LSTAT, Size: 287, Number: 13831
< 2005-04-04 14:14:23.222 Type: SSH_FXP_STATUS, Size: 28, Number: 13831
< 2005-04-04 14:14:23.222 Status/error code: 5, Message: 13831, Server: Bad message, Language: 
. 2005-04-04 14:14:23.222 Opening remote file.
> 2005-04-04 14:14:23.222 Type: SSH_FXP_OPEN, Size: 303, Number: 14083
< 2005-04-04 14:14:23.252 Type: SSH_FXP_STATUS, Size: 28, Number: 14083
< 2005-04-04 14:14:23.252 Status/error code: 5, Message: 14083, Server: Bad message, Language: 
* 2005-04-04 14:14:23.252 (ETerminal) Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:23.252 Error code: 5
* 2005-04-04 14:14:23.252 Error message from server: Bad message
* 2005-04-04 14:14:23.252 Request code: 3
. 2005-04-04 14:14:23.262 Asking user:
. 2005-04-04 14:14:23.262 Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/Calculation of the ESR Line Shape of Randomly Oriented Molecules in a Triplet State. II. Correlation of the Spectrum with the Zero-Field Splittings. Introduction of an Orientation-Dependent Linewidth.pdf.filepart'. ("Bad message (badly formatted packet or protocol incompatibility).
. 2005-04-04 14:14:23.262 Error code: 5
. 2005-04-04 14:14:23.262 Error message from server: Bad message
. 2005-04-04 14:14:23.262 Request code: 3")
> 2005-04-04 14:14:26.036 Type: SSH_FXP_OPEN, Size: 303, Number: 14339
< 2005-04-04 14:14:26.066 Type: SSH_FXP_STATUS, Size: 28, Number: 14339
< 2005-04-04 14:14:26.066 Status/error code: 5, Message: 14339, Server: Bad message, Language: 
* 2005-04-04 14:14:26.066 (ETerminal) Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:26.066 Error code: 5
* 2005-04-04 14:14:26.066 Error message from server: Bad message
* 2005-04-04 14:14:26.066 Request code: 3
. 2005-04-04 14:14:26.066 Asking user:
. 2005-04-04 14:14:26.066 Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/Calculation of the ESR Line Shape of Randomly Oriented Molecules in a Triplet State. II. Correlation of the Spectrum with the Zero-Field Splittings. Introduction of an Orientation-Dependent Linewidth.pdf.filepart'. ("Bad message (badly formatted packet or protocol incompatibility).
. 2005-04-04 14:14:26.066 Error code: 5
. 2005-04-04 14:14:26.066 Error message from server: Bad message
. 2005-04-04 14:14:26.066 Request code: 3")
* 2005-04-04 14:14:27.558 (EScpSkipFile) Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/Calculation of the ESR Line Shape of Randomly Oriented Molecules in a Triplet State. II. Correlation of the Spectrum with the Zero-Field Splittings. Introduction of an Orientation-Dependent Linewidth.pdf.filepart'.
* 2005-04-04 14:14:27.558 Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:27.558 Error code: 5
* 2005-04-04 14:14:27.558 Error message from server: Bad message
* 2005-04-04 14:14:27.558 Request code: 3
. 2005-04-04 14:14:27.598 File: "D:\MyDocs\Research\Literature\EPR\Triplet\Dynamical Effects in Triplet ESR Spectra of Solid Solutions. II. Correlation of the Rate of Intermolecular Triplet Excitation Transfer with the Line Shape - Aromatic Phosphorescent Hydrocarbons in a Rigid Matrix.pdf"
. 2005-04-04 14:14:27.598 Copying "D:\MyDocs\Research\Literature\EPR\Triplet\Dynamical Effects in Triplet ESR Spectra of Solid Solutions. II. Correlation of the Rate of Intermolecular Triplet Excitation Transfer with the Line Shape - Aromatic Phosphorescent Hydrocarbons in a Rigid Matrix.pdf" to remote directory started.
. 2005-04-04 14:14:27.608 Binary transfer mode selected.
. 2005-04-04 14:14:27.608 Checking existence of file.
> 2005-04-04 14:14:27.608 Type: SSH_FXP_LSTAT, Size: 290, Number: 14599
< 2005-04-04 14:14:27.638 Type: SSH_FXP_STATUS, Size: 28, Number: 14599
< 2005-04-04 14:14:27.638 Status/error code: 5, Message: 14599, Server: Bad message, Language: 
. 2005-04-04 14:14:27.638 Checking existence of partially transfered file.
> 2005-04-04 14:14:27.638 Type: SSH_FXP_LSTAT, Size: 299, Number: 14855
< 2005-04-04 14:14:27.668 Type: SSH_FXP_STATUS, Size: 28, Number: 14855
< 2005-04-04 14:14:27.668 Status/error code: 5, Message: 14855, Server: Bad message, Language: 
. 2005-04-04 14:14:27.668 Opening remote file.
> 2005-04-04 14:14:27.668 Type: SSH_FXP_OPEN, Size: 315, Number: 15107
< 2005-04-04 14:14:27.698 Type: SSH_FXP_STATUS, Size: 28, Number: 15107
< 2005-04-04 14:14:27.698 Status/error code: 5, Message: 15107, Server: Bad message, Language: 
* 2005-04-04 14:14:27.708 (ETerminal) Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:27.708 Error code: 5
* 2005-04-04 14:14:27.708 Error message from server: Bad message
* 2005-04-04 14:14:27.708 Request code: 3
. 2005-04-04 14:14:27.708 Asking user:
. 2005-04-04 14:14:27.708 Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/Dynamical Effects in Triplet ESR Spectra of Solid Solutions. II. Correlation of the Rate of Intermolecular Triplet Excitation Transfer with the Line Shape - Aromatic Phosphorescent Hydrocarbons in a Rigid Matrix.pdf.filepart'. ("Bad message (badly formatted packet or protocol incompatibility).
. 2005-04-04 14:14:27.708 Error code: 5
. 2005-04-04 14:14:27.708 Error message from server: Bad message
. 2005-04-04 14:14:27.708 Request code: 3")
* 2005-04-04 14:14:28.760 (EScpSkipFile) Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/Dynamical Effects in Triplet ESR Spectra of Solid Solutions. II. Correlation of the Rate of Intermolecular Triplet Excitation Transfer with the Line Shape - Aromatic Phosphorescent Hydrocarbons in a Rigid Matrix.pdf.filepart'.
* 2005-04-04 14:14:28.760 Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:28.760 Error code: 5
* 2005-04-04 14:14:28.760 Error message from server: Bad message
* 2005-04-04 14:14:28.760 Request code: 3
. 2005-04-04 14:14:28.760 File: "D:\MyDocs\Research\Literature\EPR\Triplet\The D Parameter (EPR Zero-Field Splitting) of Localized 1,3-Cyclopentanediyl Triplet Diradicals as a Measure of Electronic Substituent Effects on the Spin Densities in Para-Substituted Benzyl-Type Radicals.pdf"
. 2005-04-04 14:14:28.760 Copying "D:\MyDocs\Research\Literature\EPR\Triplet\The D Parameter (EPR Zero-Field Splitting) of Localized 1,3-Cyclopentanediyl Triplet Diradicals as a Measure of Electronic Substituent Effects on the Spin Densities in Para-Substituted Benzyl-Type Radicals.pdf" to remote directory started.
. 2005-04-04 14:14:28.770 Binary transfer mode selected.
. 2005-04-04 14:14:28.770 Checking existence of file.
> 2005-04-04 14:14:28.770 Type: SSH_FXP_LSTAT, Size: 284, Number: 15367
< 2005-04-04 14:14:28.800 Type: SSH_FXP_STATUS, Size: 28, Number: 15367
< 2005-04-04 14:14:28.800 Status/error code: 5, Message: 15367, Server: Bad message, Language: 
. 2005-04-04 14:14:28.800 Checking existence of partially transfered file.
> 2005-04-04 14:14:28.800 Type: SSH_FXP_LSTAT, Size: 293, Number: 15623
< 2005-04-04 14:14:28.830 Type: SSH_FXP_STATUS, Size: 28, Number: 15623
< 2005-04-04 14:14:28.830 Status/error code: 5, Message: 15623, Server: Bad message, Language: 
. 2005-04-04 14:14:28.830 Opening remote file.
> 2005-04-04 14:14:28.830 Type: SSH_FXP_OPEN, Size: 309, Number: 15875
< 2005-04-04 14:14:28.860 Type: SSH_FXP_STATUS, Size: 28, Number: 15875
< 2005-04-04 14:14:28.860 Status/error code: 5, Message: 15875, Server: Bad message, Language: 
* 2005-04-04 14:14:28.860 (ETerminal) Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:28.860 Error code: 5
* 2005-04-04 14:14:28.860 Error message from server: Bad message
* 2005-04-04 14:14:28.860 Request code: 3
. 2005-04-04 14:14:28.860 Asking user:
. 2005-04-04 14:14:28.860 Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/The D Parameter (EPR Zero-Field Splitting) of Localized 1,3-Cyclopentanediyl Triplet Diradicals as a Measure of Electronic Substituent Effects on the Spin Densities in Para-Substituted Benzyl-Type Radicals.pdf.filepart'. ("Bad message (badly formatted packet or protocol incompatibility).
. 2005-04-04 14:14:28.860 Error code: 5
. 2005-04-04 14:14:28.860 Error message from server: Bad message
. 2005-04-04 14:14:28.860 Request code: 3")
* 2005-04-04 14:14:29.621 (EScpSkipFile) Cannot create remote file '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/Triplet/The D Parameter (EPR Zero-Field Splitting) of Localized 1,3-Cyclopentanediyl Triplet Diradicals as a Measure of Electronic Substituent Effects on the Spin Densities in Para-Substituted Benzyl-Type Radicals.pdf.filepart'.
* 2005-04-04 14:14:29.621 Bad message (badly formatted packet or protocol incompatibility).
* 2005-04-04 14:14:29.621 Error code: 5
* 2005-04-04 14:14:29.621 Error message from server: Bad message
* 2005-04-04 14:14:29.621 Request code: 3
. 2005-04-04 14:14:29.631 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\waz' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/waz', mode = 0, params = 3
. 2005-04-04 14:14:29.671 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/waz".
> 2005-04-04 14:14:29.671 Type: SSH_FXP_OPENDIR, Size: 70, Number: 16139
< 2005-04-04 14:14:29.701 Type: SSH_FXP_HANDLE, Size: 13, Number: 16139
> 2005-04-04 14:14:29.701 Type: SSH_FXP_READDIR, Size: 13, Number: 16396
< 2005-04-04 14:14:29.741 Type: SSH_FXP_NAME, Size: 1885, Number: 16396
> 2005-04-04 14:14:29.741 Type: SSH_FXP_READDIR, Size: 13, Number: 16652
< 2005-04-04 14:14:29.761 Type: SSH_FXP_STATUS, Size: 28, Number: 16652
< 2005-04-04 14:14:29.761 Status/error code: 1
> 2005-04-04 14:14:29.761 Type: SSH_FXP_CLOSE, Size: 13, Number: 16900
. 2005-04-04 14:14:29.761 Synchronizing local directory 'D:\MyDocs\Research\Literature\EPR\ZnTPP' with remote directory '/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/ZnTPP', mode = 0, params = 3
. 2005-04-04 14:14:29.771 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR/ZnTPP".
> 2005-04-04 14:14:29.771 Type: SSH_FXP_OPENDIR, Size: 72, Number: 17163
< 2005-04-04 14:14:29.801 Type: SSH_FXP_STATUS, Size: 24, Number: 16900
. 2005-04-04 14:14:29.801 Discarding reserved response
< 2005-04-04 14:14:29.831 Type: SSH_FXP_HANDLE, Size: 13, Number: 17163
> 2005-04-04 14:14:29.831 Type: SSH_FXP_READDIR, Size: 13, Number: 17420
< 2005-04-04 14:14:29.861 Type: SSH_FXP_NAME, Size: 1677, Number: 17420
> 2005-04-04 14:14:29.861 Type: SSH_FXP_READDIR, Size: 13, Number: 17676
< 2005-04-04 14:14:29.891 Type: SSH_FXP_STATUS, Size: 28, Number: 17676
< 2005-04-04 14:14:29.891 Status/error code: 1
> 2005-04-04 14:14:29.891 Type: SSH_FXP_CLOSE, Size: 13, Number: 17924
. 2005-04-04 14:14:29.891 Cached directory not reloaded.
. 2005-04-04 14:14:29.891 Listing directory "/cygdrive/d/Data/Data_Shared/ZEXD/Research/Literature/EPR".
> 2005-04-04 14:14:29.891 Type: SSH_FXP_OPENDIR, Size: 66, Number: 18187
< 2005-04-04 14:14:29.921 Type: SSH_FXP_STATUS, Size: 24, Number: 17924
. 2005-04-04 14:14:29.921 Discarding reserved response
< 2005-04-04 14:14:29.961 Type: SSH_FXP_HANDLE, Size: 13, Number: 18187
> 2005-04-04 14:14:29.961 Type: SSH_FXP_READDIR, Size: 13, Number: 18444
< 2005-04-04 14:14:30.011 Type: SSH_FXP_NAME, Size: 5641, Number: 18444
> 2005-04-04 14:14:30.011 Type: SSH_FXP_READDIR, Size: 13, Number: 18700
< 2005-04-04 14:14:30.031 Type: SSH_FXP_STATUS, Size: 28, Number: 18700
< 2005-04-04 14:14:30.031 Status/error code: 1
> 2005-04-04 14:14:30.031 Type: SSH_FXP_CLOSE, Size: 13, Number: 18948
. 2005-04-04 14:14:30.142 Detected incoming data while idle
. 2005-04-04 14:14:37.192 Closing connection.



That should help. Essentially, I just opened the connection, tried to synchronize folders that I know have long filenames, skipped the file when errors occured, and closed the session.

thanks,
-Z
martin

Re: long filename problem...

Please post (or send me) a log file.
zskillz

long filename problem...

v. 3.7.4
SFTP
SSH Protocol v. 2
ssh implementation openssh_3.8.1p1
encryption - aes
compression - no
file transfer protocol - SFTP(v3)

Norton Commander interface

I have some filenames that are extremly long. winSCP seems to be having some problem with transferring these files even though they fall within the restrictinos of windows filenaming.

thoughts?
I have a screenshot that I can email to you if you wuold like
-Z