Error Listing Directory

Advertisement

Hineynu
Joined:
Posts:
7

Error Listing Directory

Hi,

I am having on odd error with Win 7 and WinSCP 4.2.7 which my web host says other clients of theirs are also having. The web/ftp server is running IIS 7 and when I login with FTP + TLS Encryption it provides the following error:

Could not retrieve directory listing
Server cannot accept argument.

I am able to login to the same server from the same computer with WinSCP 4.2.7 with FTP + No Encryption. I am able to login to the same server from the same computer with Filezilla using FTPES (FTP Explicit TLS). I am also able to login with FTP + TLS Encryption on my other computer running Win XP Pro SP3 and WinSCP 4.2.3. All sessions are Active not Passive. I have also added WinSCP to Windows 7 Firewall's Allowed Program list.

Here is the WinSCP Log:


--------------------------------------------------------------------------
WinSCP Version 4.2.7 (Build 758) (OS 6.1.7600)
Login time: Sunday, May 30, 2010 12:00:47 AM
--------------------------------------------------------------------------
Session name: Hineynu@ftp.Hineynu.com
Host name: ftp.Hineynu.com (Port: 21)
User name: Hineynu (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
FTP: FTPS: Explicit TLS; Passive: No [Force IP: No]
Local directory: default, Remote directory: home, Update: No, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
DST mode: 1
--------------------------------------------------------------------------
Connecting to ftp.Hineynu.com ...
Connected with ftp.Hineynu.com, negotiating SSL connection...
220 Microsoft FTP Service
AUTH TLS
234 AUTH command ok. Expecting TLS Negotiation.
SSL connection established. Waiting for welcome message...
USER Hineynu
331 Password required for Hineynu.
PASS *********
230 User logged in.
SYST
215 Windows_NT
FEAT
211-Extended features supported:
LANG EN*
UTF8
AUTH TLS;TLS-C;SSL;TLS-P;
PBSZ
PROT C;P;
CCC
HOST
SIZE
MDTM
REST STREAM
211 END
OPTS UTF8 ON
200 OPTS UTF8 command successful - UTF8 encoding now ON.
PBSZ 0
200 PBSZ command successful.
PROT P
200 PROT command successful.
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "/Hineynu" is current directory.
Getting current directory name.
Retrieving directory listing...
TYPE A
200 Type set to A.
PORT 192,168,15,2,198,210
501 Server cannot accept argument.
Could not retrieve directory listing
Retrieving directory listing...
TYPE A
200 Type set to A.
PORT 192,168,15,2,198,211
501 Server cannot accept argument.
Could not retrieve directory listing
(ECommand) Error listing directory '/Hineynu'.
Could not retrieve directory listing
Server cannot accept argument.
Startup conversation with host finished.
TYPE A
200 Type set to A.


Here is the Filezilla log:

Status: Resolving address of ftp.Hineynu.com
Status: Connecting to 208.101.62.114:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: AUTH TLS
Response: 234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER Hineynu
Status: TLS/SSL connection established.
Response: 331 Password required for Hineynu.
Command: PASS *********
Response: 230 User logged in.
Command: SYST
Response: 215 Windows_NT
Command: FEAT
Response: 211-Extended features supported:
Response: LANG EN*
Response: UTF8
Response: AUTH TLS;TLS-C;SSL;TLS-P;
Response: PBSZ
Response: PROT C;P;
Response: CCC
Response: HOST
Response: SIZE
Response: MDTM
Response: REST STREAM
Response: 211 END
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Command: PBSZ 0
Response: 200 PBSZ command successful.
Command: PROT P
Response: 200 PROT command successful.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/Hineynu" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PORT 192,168,15,2,200,77
Response: 501 Server cannot accept argument.
Command: PASV
Response: 227 Entering Passive Mode (208,101,62,114,162,126).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Response: 226 Transfer complete.
Status: Calculating timezone offset of server...
Command: MDTM dotTrace3.1.IA32.exe
Response: 213 20080610141748
Status: Timezone offsets: Server: -25200 seconds. Local: 10800 seconds. Difference: 36000 seconds.
Status: Directory listing successful
Error: Connection closed by server

Reply with quote

Advertisement

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

Re: Error Listing Directory

Try to switch to passive mode. Filezilla seems to fall back to passive mode automatically in your case.

Reply with quote

Advertisement

You can post new topics in this forum