Topic "could not retrieve directory listing illegal port command"

Author Message
chandan
[View user's profile]

Joined: 2011-01-28
Posts: 1
Location: INDIA
not able to open ftp using 41951 port. have gone through some website forum and found to to check passive mode and prob is still there....

sending you the logs .. pls help
2011-01-28 04:12:51.752 Using FTP protocol.
. 2011-01-28 04:12:51.752 Doing startup conversation with host.
> 2011-01-28 04:12:51.752 PWD
< 2011-01-28 04:12:52.063 257 "/" is the current directory
. 2011-01-28 04:12:52.063 Getting current directory name.
. 2011-01-28 04:12:52.063 Retrieving directory listing...
> 2011-01-28 04:12:52.063 TYPE A
< 2011-01-28 04:12:52.359 200 Type set to A
> 2011-01-28 04:12:52.359 PASV
< 2011-01-28 04:12:52.671 227 Entering Passive Mode (192,168,1,26,212,17).
> 2011-01-28 04:12:52.671 LIST -a
. 2011-01-28 04:13:07.725 Timeout detected.
. 2011-01-28 04:13:07.725 Could not retrieve directory listing
* 2011-01-28 04:13:07.725 (ESshFatal) Lost connection.
* 2011-01-28 04:13:07.725 Timeout detected.
* 2011-01-28 04:13:07.725 Could not retrieve directory listing
* 2011-01-28 04:13:07.725 Entering Passive Mode (192,168,1,26,212,17).
* 2011-01-28 04:13:07.725 Error listing directory '/'.
. 2011-01-28 04:13:29.682 --------------------------------------------------------------------------
. 2011-01-28 04:13:29.682 WinSCP Version 4.2.9 (Build 938) (OS 5.1.2600 Service Pack 2)
. 2011-01-28 04:13:29.682 Login time: Friday, January 28, 2011 4:13:29 AM
. 2011-01-28 04:13:29.682 --------------------------------------------------------------------------
. 2011-01-28 04:13:29.682 Session name: FTP@x.x.x.X
. 2011-01-28 04:13:29.682 Host name: 63.66.34.46 (Port: 41951)
. 2011-01-28 04:13:29.682 User name: porteck (Password: No, Key file: No)
. 2011-01-28 04:13:29.682 Tunnel: No
. 2011-01-28 04:13:29.682 Transfer Protocol: FTP
. 2011-01-28 04:13:29.682 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-01-28 04:13:29.682 Proxy: none
. 2011-01-28 04:13:29.682 FTP: FTPS: None; Passive: No [Force IP: No]
. 2011-01-28 04:13:29.682 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-01-28 04:13:29.682 Cache directory changes: Yes, Permanent: Yes
. 2011-01-28 04:13:29.682 DST mode: 1
. 2011-01-28 04:13:29.682 --------------------------------------------------------------------------
. 2011-01-28 04:13:29.682 Password prompt (no password provided or last login attempt failed)
. 2011-01-28 04:13:34.590 Connecting to 63.66.34.46:41951 ...
. 2011-01-28 04:13:34.902 Connected with 63.66.34.46:41951. Waiting for welcome message...
< 2011-01-28 04:13:35.214 220 ProFTPD 1.3.2e Server (ms1010 FTP Server) [::ffff:192.168.1.26]
> 2011-01-28 04:13:35.214 USER porteck
< 2011-01-28 04:13:35.525 331 Password required for porteck
> 2011-01-28 04:13:35.525 PASS ***********
< 2011-01-28 04:13:35.853 230-Welcome to FreeNAS FTP Server
< 2011-01-28 04:13:35.853 230 User porteck logged in
> 2011-01-28 04:13:35.853 SYST
< 2011-01-28 04:13:36.164 215 UNIX Type: L8
> 2011-01-28 04:13:36.164 FEAT
< 2011-01-28 04:13:36.460 211-Features:
< 2011-01-28 04:13:36.460 MDTM
< 2011-01-28 04:13:36.460 MFMT
< 2011-01-28 04:13:36.460 UTF8
< 2011-01-28 04:13:36.460 MFF modify;UNIX.group;UNIX.mode;
< 2011-01-28 04:13:36.460 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
< 2011-01-28 04:13:36.460 LANG en-US*
< 2011-01-28 04:13:36.460 REST STREAM
< 2011-01-28 04:13:36.460 SIZE
< 2011-01-28 04:13:36.460 211 End
> 2011-01-28 04:13:36.460 OPTS UTF8 ON
< 2011-01-28 04:13:36.772 200 UTF8 set to on
. 2011-01-28 04:13:36.772 Connected
. 2011-01-28 04:13:36.772 --------------------------------------------------------------------------
. 2011-01-28 04:13:36.772 Using FTP protocol.
. 2011-01-28 04:13:36.772 Doing startup conversation with host.
> 2011-01-28 04:13:36.772 PWD
< 2011-01-28 04:13:37.068 257 "/" is the current directory
. 2011-01-28 04:13:37.068 Getting current directory name.
. 2011-01-28 04:13:37.068 Retrieving directory listing...
> 2011-01-28 04:13:37.068 TYPE A
< 2011-01-28 04:13:37.364 200 Type set to A
> 2011-01-28 04:13:37.380 PORT 172,31,9,29,7,54
< 2011-01-28 04:13:37.692 500 Illegal PORT command
. 2011-01-28 04:13:37.692 Could not retrieve directory listing
. 2011-01-28 04:13:37.692 Retrieving directory listing...
> 2011-01-28 04:13:37.692 TYPE A
< 2011-01-28 04:13:37.988 200 Type set to A
> 2011-01-28 04:13:37.988 PORT 172,31,9,29,7,55
< 2011-01-28 04:13:38.284 500 Illegal PORT command
. 2011-01-28 04:13:38.284 Could not retrieve directory listing
* 2011-01-28 04:13:38.284 (ECommand) Error listing directory '/'.
* 2011-01-28 04:13:38.284 Could not retrieve directory listing
* 2011-01-28 04:13:38.284 Illegal PORT command
. 2011-01-28 04:14:09.731 Startup conversation with host finished.
> 2011-01-28 04:14:10.417 TYPE I
< 2011-01-28 04:14:10.417 200 Type set to I
. 2011-01-28 04:14:14.235 Disconnected from server
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
chandan wrote:
. 2011-01-28 04:13:29.682 FTP: FTPS: None; Passive: No [Force IP: No]

You have not enabled passive mode.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License