Error getting name of current remote directory

Advertisement

RhysGoodwin
Joined:
Posts:
2
Location:
Auckland, New Zealand

Error getting name of current remote directory

Hi,

I'm trying to connect to an ftp server on our local network. It's our PABX actually. I can connect and "get" using the normal windows ftp command but not with winscp. I always get this error: "Error getting name of current remote directory"; then it disconnects me.

I assume the user has no permission to PWD but I don't need to PWD I only need to "get" a single file.

If I try to PWD in a session with windows ftp command I get the same error but it doesn't disconnect me and it allows me to "get".

Any help would be much appreciated. I've pasted the log below

Cheers,
Rhys


. 2008-11-18 13:19:39.949 --------------------------------------------------------------------------
. 2008-11-18 13:19:39.949 WinSCP Version 4.1.7 (Build 413) (OS 6.0.6001 Service Pack 1)
. 2008-11-18 13:19:39.949 Login time: Tuesday, 18 November 2008 1:19:39 p.m.
. 2008-11-18 13:19:39.949 --------------------------------------------------------------------------
. 2008-11-18 13:19:39.950 Session name: cabuser@192.168.15.19
. 2008-11-18 13:19:39.950 Host name: 192.168.15.19 (Port: 21)
. 2008-11-18 13:19:39.950 User name: cabuser (Password: Yes, Key file: No)
. 2008-11-18 13:19:39.950 Tunnel: No
. 2008-11-18 13:19:39.950 Transfer Protocol: FTP
. 2008-11-18 13:19:39.950 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2008-11-18 13:19:39.950 Proxy: none
. 2008-11-18 13:19:39.950 FTP: Passive: No
. 2008-11-18 13:19:39.950 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-11-18 13:19:39.950 Cache directory changes: Yes, Permanent: Yes
. 2008-11-18 13:19:39.950 DST mode: 1
. 2008-11-18 13:19:39.951 --------------------------------------------------------------------------
. 2008-11-18 13:19:40.107 Connecting to 192.168.15.19 ...
. 2008-11-18 13:19:40.108 FtpControlSocket.cpp(1056): OnConnect(0)  OpMode=1 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:40.112 Connected with 192.168.15.19. Waiting for welcome message...
. 2008-11-18 13:19:40.112 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:40.206 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-1   caller=0x02d56c1c
< 2008-11-18 13:19:40.206 220 192.168.15.19 pSOSystem FTP server (NTL68K/1.0.4) ready.
> 2008-11-18 13:19:40.206 USER cabuser
. 2008-11-18 13:19:40.306 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=0   caller=0x02d56c1c
. 2008-11-18 13:19:40.505 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=0   caller=0x02d56c1c
< 2008-11-18 13:19:40.505 331 Password required for cabuser.
> 2008-11-18 13:19:40.505 PASS *******
. 2008-11-18 13:19:40.552 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=3   caller=0x02d56c1c
. 2008-11-18 13:19:40.745 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=3   caller=0x02d56c1c
< 2008-11-18 13:19:40.745 230 User cabuser logged in.
> 2008-11-18 13:19:40.745 SYST
. 2008-11-18 13:19:40.756 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-14   caller=0x02d56c1c
. 2008-11-18 13:19:40.955 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-14   caller=0x02d56c1c
< 2008-11-18 13:19:40.955 215 pSOSytem Type: L8
> 2008-11-18 13:19:40.955 FEAT
. 2008-11-18 13:19:40.966 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-13   caller=0x02d56c1c
. 2008-11-18 13:19:41.165 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-13   caller=0x02d56c1c
< 2008-11-18 13:19:41.165 500 'FEAT': command not understood.
. 2008-11-18 13:19:41.167 Connected
. 2008-11-18 13:19:41.167 FtpControlSocket.cpp(4198): ResetOperation(1)  OpMode=1 OpState=-13   caller=0x02d56c1c
. 2008-11-18 13:19:41.167 Got reply 1 to the command 1
. 2008-11-18 13:19:41.167 --------------------------------------------------------------------------
. 2008-11-18 13:19:41.167 Using FTP protocol.
. 2008-11-18 13:19:41.167 Doing startup conversation with host.
. 2008-11-18 13:19:41.170 FtpControlSocket.cpp(1283): FtpCommand(PWD)  OpMode=0 OpState=-1   caller=0x02d56c1c
> 2008-11-18 13:19:41.170 PWD
. 2008-11-18 13:19:41.181 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:41.375 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
< 2008-11-18 13:19:41.375 550 4.0/
. 2008-11-18 13:19:41.375 FtpControlSocket.cpp(4198): ResetOperation(4)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:41.375 Got reply 4 to the command 16
. 2008-11-18 13:19:41.375 Getting current directory name.
. 2008-11-18 13:19:41.375 FtpControlSocket.cpp(1283): FtpCommand(PWD)  OpMode=0 OpState=-1   caller=0x02d56c1c
> 2008-11-18 13:19:41.375 PWD
. 2008-11-18 13:19:41.386 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:41.585 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
< 2008-11-18 13:19:41.585 550 4.0/
. 2008-11-18 13:19:41.585 FtpControlSocket.cpp(4198): ResetOperation(4)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:41.585 Got reply 4 to the command 16
* 2008-11-18 13:19:41.585 (ECommand) Error getting name of current remote directory.
* 2008-11-18 13:19:41.585 4.0/
. 2008-11-18 13:19:42.488 Getting current directory name.
. 2008-11-18 13:19:42.488 FtpControlSocket.cpp(1283): FtpCommand(PWD)  OpMode=0 OpState=-1   caller=0x02d56c1c
> 2008-11-18 13:19:42.488 PWD
. 2008-11-18 13:19:42.498 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:42.695 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
< 2008-11-18 13:19:42.695 550 4.0/
. 2008-11-18 13:19:42.695 FtpControlSocket.cpp(4198): ResetOperation(4)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:42.695 Got reply 4 to the command 16
* 2008-11-18 13:19:42.695 (ECommand) Error getting name of current remote directory.
* 2008-11-18 13:19:42.695 4.0/
. 2008-11-18 13:19:43.135 Getting current directory name.
. 2008-11-18 13:19:43.139 FtpControlSocket.cpp(1283): FtpCommand(PWD)  OpMode=0 OpState=-1   caller=0x02d56c1c
> 2008-11-18 13:19:43.139 PWD
. 2008-11-18 13:19:43.149 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:43.345 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x02d56c1c
< 2008-11-18 13:19:43.345 550 4.0/
. 2008-11-18 13:19:43.345 FtpControlSocket.cpp(4198): ResetOperation(4)  OpMode=2 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:43.345 Got reply 4 to the command 16
* 2008-11-18 13:19:43.345 (ECommand) Error getting name of current remote directory.
* 2008-11-18 13:19:43.345 4.0/
. 2008-11-18 13:19:43.735 Attempt to close connection due to fatal exception:
* 2008-11-18 13:19:43.735 Internal error fz#list (0010).
. 2008-11-18 13:19:43.735 FtpControlSocket.cpp(1213): DoClose(0)  OpMode=1024 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:43.735 FtpControlSocket.cpp(4198): ResetOperation(4100)  OpMode=1024 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:43.735 Got reply 1004 to the command 16
. 2008-11-18 13:19:43.738 Disconnected from server
* 2008-11-18 13:19:43.765 (ESshFatal) Internal error fz#list (0010).
* 2008-11-18 13:19:43.765 Error listing directory ''.
. 2008-11-18 13:19:45.342 FtpControlSocket.cpp(181): ~CFtpControlSocket()   caller=0x02d56c1c
. 2008-11-18 13:19:45.342 FtpControlSocket.cpp(1213): DoClose(0)  OpMode=0 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:45.342 FtpControlSocket.cpp(4198): ResetOperation(4100)  OpMode=0 OpState=-1   caller=0x02d56c1c
. 2008-11-18 13:19:45.342 ControlSocket.cpp(89): ~CControlSocket()   caller=0x02d56c1c

Reply with quote

Advertisement

martin
Site Admin
martin avatar

WinSCP needs to know it current remote directory to work properly. You are right that to download single file it may not need to do so. But that's very special case. WinSCP is primarily GUI client.

Reply with quote

Advertisement

You can post new topics in this forum