Cannot copy directory to remote server.

Advertisement

Guest
Guest

Cannot copy directory to remote server.

Hello,

I am unable to copy a directory from my local machine up to my UNIX host. I am trying to copy a directory "test" to the remote system which does not already contain a "test" directory. I receive the following error:

Can't create folder 'arpa/ns/n/nxg/test/".
No such file or directory.
Error code: 2
Error message from server: No such file (?)
Request code: 14

I receive this error using either the Norton or Explorer interface, and it is consistent in all directories on the remote host. I've tried every combination of permissions, and options I can think of. Am I missing something? :?

Thanks for your help!

Mark

A session log follows:
--------------------------------------------------------------------------
WinSCP Version 3.1.0 (Build 165)
Login time: Thursday, August 07, 2003 01:10:10
--------------------------------------------------------------------------
Session name: nxg@ftp.freeshell.org
Host name: ftp.freeshell.org (Port: 22)
User name: nxg (Password: Yes, Key file: No)
Transfer Protocol: SFTP (SCP)
SSH protocol version: 2 only; Compression: Yes
Agent forwarding: No; TIS/CryptoCard: No; KI: Yes
Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
Ping interval: 60 sec (0 = off); Timeout: 15 sec
SSH Bugs: A,A,A,A,A,A,A,
Proxy: none
Return code variable: Autodetect; Lookup user groups: Yes
Shell: default, EOL: 0
Local directory: D:\Data\WebSites\SDF1, Remote directory: /arpa/ns/n/nxg, Update: Yes, Cache: No
Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
--------------------------------------------------------------------------
Looking up host "ftp.freeshell.org"
Connecting to 192.94.73.2 port 22
Server version: SSH-1.99-OpenSSH_3.5p1
We claim version: SSH-2.0-PuTTY-Local: Jul 14 2003 13:14:02
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-rsa 1024 53:2a:b3:92:a6:88:ca:c0:ff:c2:1b:d1:53:11:fc:4e
Initialised zlib (RFC1950) compression
Initialised zlib (RFC1950) decompression
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Using username "nxg".
Keyboard-interactive authentication refused
Sent password
Access granted
Opened channel for session
Started a shell/command
--------------------------------------------------------------------------
Using SFTP protocol
Doing startup conversation with host.
Type: SSH_FXP_INIT, Size: 5, Number: -1
Type: SSH_FXP_VERSION, Size: 5, Number: -1
Changing directory to "/arpa/ns/n/nxg".
Type: SSH_FXP_REALPATH, Size: 25, Number: 16
Type: SSH_FXP_NAME, Size: 53, Number: 16
Type: SSH_FXP_OPENDIR, Size: 25, Number: 267
Type: SSH_FXP_HANDLE, Size: 13, Number: 267
Type: SSH_FXP_CLOSE, Size: 13, Number: 516
Type: SSH_FXP_STATUS, Size: 24, Number: 516
Getting current directory name.
Listing directory "/arpa/ns/n/nxg".
Type: SSH_FXP_OPENDIR, Size: 25, Number: 779
Type: SSH_FXP_HANDLE, Size: 13, Number: 779
Type: SSH_FXP_READDIR, Size: 13, Number: 1036
Type: SSH_FXP_NAME, Size: 2209, Number: 1036
Type: SSH_FXP_READDIR, Size: 13, Number: 1292
Reading symlink "html".
Type: SSH_FXP_READLINK, Size: 30, Number: 1555
Type: SSH_FXP_STAT, Size: 30, Number: 1809
Type: SSH_FXP_STATUS, Size: 28, Number: 1292
Type: SSH_FXP_NAME, Size: 51, Number: 1555
Type: SSH_FXP_ATTRS, Size: 37, Number: 1809
Type: SSH_FXP_CLOSE, Size: 13, Number: 2052
Type: SSH_FXP_STATUS, Size: 24, Number: 2052
Startup conversation with host finished.
Copying 1 files/directories to remote directory "/arpa/ns/n/nxg/"
PrTime: Yes; PrRO: Yes; Rght: rwxrwxrwx; PrR: Yes; FnCs: N; Resume: S (10240)
TM: B; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: "D:\Data\WebSites\SDF1\Norway\test"
Type: SSH_FXP_OPENDIR, Size: 31, Number: 2315
Type: SSH_FXP_STATUS, Size: 29, Number: 2315
Error status: 2, Message: 2315, Server: No such file, Language: ?
Creating directory "/arpa/ns/n/nxg/test/".
Type: SSH_FXP_REALPATH, Size: 31, Number: 2832
Type: SSH_FXP_STATUS, Size: 29, Number: 2832
Error status: 2, Message: 2832, Server: No such file, Language: ?
Type: SSH_FXP_REALPATH, Size: 30, Number: 3088
Type: SSH_FXP_NAME, Size: 63, Number: 3088
Type: SSH_FXP_MKDIR, Size: 43, Number: 2574
Type: SSH_FXP_STATUS, Size: 29, Number: 2574
Error status: 2, Message: 2574, Server: No such file, Language: ?
Asking user:
Can't create folder '/arpa/ns/n/nxg/test/'. ("No such file or directory.
Error code: 2
Error message from server: No such file (?)
Request code: 14")
Listing directory "/arpa/ns/n/nxg".
Type: SSH_FXP_OPENDIR, Size: 25, Number: 3339
Type: SSH_FXP_HANDLE, Size: 13, Number: 3339
Type: SSH_FXP_READDIR, Size: 13, Number: 3596
Type: SSH_FXP_NAME, Size: 2209, Number: 3596
Type: SSH_FXP_READDIR, Size: 13, Number: 3852
Reading symlink "html".
Type: SSH_FXP_READLINK, Size: 30, Number: 4115
Type: SSH_FXP_STAT, Size: 30, Number: 4369
Type: SSH_FXP_STATUS, Size: 28, Number: 3852
Type: SSH_FXP_NAME, Size: 51, Number: 4115
Type: SSH_FXP_ATTRS, Size: 37, Number: 4369
Type: SSH_FXP_CLOSE, Size: 13, Number: 4612
Type: SSH_FXP_STATUS, Size: 24, Number: 4612
Creating directory "test2".
Type: SSH_FXP_REALPATH, Size: 31, Number: 5136
Type: SSH_FXP_NAME, Size: 65, Number: 5136
Type: SSH_FXP_MKDIR, Size: 35, Number: 4878
Type: SSH_FXP_STATUS, Size: 24, Number: 4878
Listing directory "/arpa/ns/n/nxg".
Type: SSH_FXP_OPENDIR, Size: 25, Number: 5387
Type: SSH_FXP_HANDLE, Size: 13, Number: 5387
Type: SSH_FXP_READDIR, Size: 13, Number: 5644
Type: SSH_FXP_NAME, Size: 2315, Number: 5644
Type: SSH_FXP_READDIR, Size: 13, Number: 5900
Reading symlink "html".
Type: SSH_FXP_READLINK, Size: 30, Number: 6163
Type: SSH_FXP_STAT, Size: 30, Number: 6417
Type: SSH_FXP_STATUS, Size: 28, Number: 5900
Type: SSH_FXP_NAME, Size: 51, Number: 6163
Type: SSH_FXP_ATTRS, Size: 37, Number: 6417
Type: SSH_FXP_CLOSE, Size: 13, Number: 6660
Type: SSH_FXP_STATUS, Size: 24, Number: 6660
Pinging host to keep session alive.
Sending special code: 15

Reply with quote

Advertisement

GILL-X
Guest

Automatic Copy

Hi.

sorry, Im don know to good Englihs. :oops:

Im need automatic copy function, i dont know WinSCP can this function, if not, somebody know free program for this function ?

Thanks Gill-X

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,453
Location:
Prague, Czechia

Re: Cannot copy directory to remote server.

I have no clue. Can you upload any other directory? Have you tried SCP? Can you setup test account for me? I would like to solve this.

Reply with quote

Guest

Re: Cannot copy directory to remote server.

martin wrote:

I have no clue. Can you upload any other directory? Have you tried SCP? Can you setup test account for me? I would like to solve this.

Martin,

I cannot upload ANY directory using SFTP. I CAN upload a directory using SCP (both in WinSCP and with PUTTY.)

Since I am only a user on the system I'm accessing, I cannot give you an account, but you can create one for yourself! Telnet to: sdf.lonestar.org. At the prompt type "new", and follow the instructions. :-)

Thanks!

Mark

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,453
Location:
Prague, Czechia

Re: Cannot copy directory to remote server.

Anonymous wrote:

Since I am only a user on the system I'm accessing, I cannot give you an account, but you can create one for yourself! Telnet to: sdf.lonestar.org. At the prompt type "new", and follow the instructions. :-)
I've created account. I can telnet/SSH there, but I cannot SFTP there (using any client, not only WinSCP). They still urge my to pay some fee, maybe SFTP works only after I pay it???

Reply with quote

Advertisement

Guest

Re: Cannot copy directory to remote server.

martin wrote:

Anonymous wrote:

Since I am only a user on the system I'm accessing, I cannot give you an account, but you can create one for yourself! Telnet to: sdf.lonestar.org. At the prompt type "new", and follow the instructions. :-)
I've created account. I can telnet/SSH there, but I cannot SFTP there (using any client, not only WinSCP). They still urge my to pay some fee, maybe SFTP works only after I pay it???

Hi Martin,

Now that you mention it, I remember that this site had a problem a while ago with people abusing FTP. If you want to use FTP you have to pay them 1 (or 5) Euro... That is a ONE TIME fee. Once you pay that you have access to the system for LIFE (and the system has been around since 1987!, being a UNIX system since 1991.)

Here is all the information on WHY the fee, etc: https://sdf.org/index.cgi?why

Mark

Reply with quote

Advertisement

You can post new topics in this forum