PDA

View Full Version : Error : LIST command failed


kobusbeljaars
02-07-2004, 8:20 AM
Hello,

I am trying to set up a server, but I keep getting the same error. This is what the client says:

Trying to connect to 62.251.14.139 (62.251.14.139):2005 ...
220 kobus

Connected to remote host "62.251.14.139 (62.251.14.139):2005"
USER Rogier
331 Password required for Rogier.

PASS ******
230 User Rogier logged in.

Authentication OK
CLNT Testing from http://www.bpftpserver.com/?page=ftptest
500 Unknown command.

PWD
257 "/" is current directory.

Current directory is : /
PASV
227 Entering Passive Mode (62,251,14,139,225,37).

LIST
Trying to connect datasocket to 62.251.14.139:57637 ...
Error : Cannot open data connection to 62.251.14.139:57637
Error : Cannot connect to remote host
Error : LIST command failed


My Situation

I installed BullitproofFTP and Serv-U, both do not work. I am connected to the internet via another computer using a HUB. I forwarded port 2005 to my IP (192,168,0,155) I enabled Pass mode. And given the user all authorities. What is wrong???
By the way, a friend of mine tried connecting and he was able to create a directory on my hard disc, but he didn't get my filelist.
Strange isn't it?

Hope someone can help.

BBA
02-07-2004, 8:25 AM
Have you tried ftp through a dos command from a remote system yet?

You can also try putty.

It might be your connection...can another system you have access it?

It looks like the tester page is able to connect but not read anything.

I kind of have that feeling it's a unix FTP server or is using unix file system compatibility. Depending on the server, it may have file structure not compatible with gui applications.

kobusbeljaars
02-07-2004, 8:31 AM
Hello,

I haven't tried ftp through a dos command, because I don't know how. I also don't know what putty is. Sorry....
I have run Serv-u before, and it worked fine, but that time I was directly connected to the modem, now I am connected by LAN.

BBA
02-07-2004, 8:35 AM
Here is what mine gives:

Trying to connect to 68.209.128.242 (68.209.128.242):21 ...
220 Microsoft FTP Service

Connected to remote host "68.209.128.242 (68.209.128.242):21"
USER anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.

PASS test@test.com
230 Anonymous user logged in.

Authentication OK
CLNT Testing from http://www.bpftpserver.com/?page=ftptest
500 'CLNT Testing from http://www.bpftpserver.com/?page=ftptest': command not understood

PWD
257 "/" is current directory.

Current directory is : /
PASV
227 68,209,128,242,8,184).

LIST
Trying to connect datasocket to 68.209.128.242:2232 ...
125 Data connection already open; Transfer starting.

Datasocket connected to remote host
Directory listing :
11-01-03 11:17PM 4303951 Max Payne 2 Screenshots.zip
01-12-04 09:21AM
vette

Datasocket disconnected from remote host
226 Transfer complete.

QUIT
Disconnected from remote host


The difference from looking at the results is mine is a MS ftp server (everything can connect to MS servers) and Mine does not force the client to passive mode.

kobusbeljaars
02-07-2004, 8:40 AM
What kind are Serv-U and BullitproofFTP? UNIX? What kind of program are you using?

Are you saying I should disable passive mode?

BBA
02-07-2004, 8:56 AM
I am using IIS for FTP. This way I set permissions via FTP settings and NTFS settings. I find it's a lot easier to manage than third party FTP apps on a windows machine. (as long as you are using NTFS for a file system)

BBA
02-07-2004, 9:01 AM
BTW: IIS is an installable option in most any version of windows (not sure about XP home). And FTP is simply a part of IIS.

You install it from add/remove programs/windows components/Internet information services and make the selections you want.

Bulletproof FTP and Serv-U IO believe use unix structures.

kobusbeljaars
02-07-2004, 9:14 AM
Okay, so I can make my computer a server using this IIS? Thanks for the tip. But connecting isn't the problem (see my first thread) The only problem is the /list command doesn't work, according to me.

btw I checked, Bullitproof and Serv-U are UNIX types, and about 80 % of all servers are UNIX types, so that shouldn't be the problem.

Does anyone know wich properties I set wrong? Because in every program I need to set the properties. (IIS or UNIX)