Problem copying directories using sftp
Hello!
Copying directories recursively to our AIX-4.3.3 host with sftp consistently fails with an error relating to SSH_FXP_NAME (see below in the log).
This happens with both WinSCP 3.6.8 and 3.7.0 beta dated 2004-10-12 with both the Norton and the Explorer interface. The problem does not occur using SCP as the protocol. The problem occurs from several client machines.
The server uses the SSH protocol version 2 with aes encryption and compression. The file transer protocol is SFTP(v3). The AIX-box runs OpenSSH-3.9p1.
The problem does not occur using a RedHat Linux 9.0 box, i.e. this does not HAVE to be a WinSCP problem. However, creating directories on the AIX machine using Cygwin sftp works fine.
I hope somebody can help with this.
Best regards,
Bernt Guldbrandtsen
The log file says:
Copying directories recursively to our AIX-4.3.3 host with sftp consistently fails with an error relating to SSH_FXP_NAME (see below in the log).
This happens with both WinSCP 3.6.8 and 3.7.0 beta dated 2004-10-12 with both the Norton and the Explorer interface. The problem does not occur using SCP as the protocol. The problem occurs from several client machines.
The server uses the SSH protocol version 2 with aes encryption and compression. The file transer protocol is SFTP(v3). The AIX-box runs OpenSSH-3.9p1.
The problem does not occur using a RedHat Linux 9.0 box, i.e. this does not HAVE to be a WinSCP problem. However, creating directories on the AIX machine using Cygwin sftp works fine.
I hope somebody can help with this.
Best regards,
Bernt Guldbrandtsen
The log file says:
. Startup conversation with host finished. . Copying 1 files/directories to remote directory "/h580/avl/bg/" . PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No; FnCs: N; RIC: Yes; Resume: S (102400); CalcS: Yes; Mask: *.* . TM: M; ExclM: . AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; * .tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml . File: "C:\Documents and Settings\bgu\Dokumenter\pdf" . Trying to open directory "/h580/avl/bg/pdf/". > Type: SSH_FXP_OPENDIR, Size: 27, Number: 2571 < Type: SSH_FXP_STATUS, Size: 29, Number: 2571 < Status/error code: 2, Message: 2571, Server: No such file, Language: . Creating directory "/h580/avl/bg/pdf/". . Canonifying: "/h580/avl/bg/pdf/" . Getting real path for '/h580/avl/bg/pdf/' > Type: SSH_FXP_REALPATH, Size: 28, Number: 3088 < Type: SSH_FXP_STATUS, Size: 24, Number: 3088 < Status/error code: 0 . Attempt to close connection due to fatal exception: * Received SSH_FXP_NAME packet with zero or multiple records. . Closing connection.