Buffalo Forums

Products => Storage => Topic started by: p0k3y on May 23, 2009, 05:31:33 PM

Title: LS Pro FTP - Error 500 Illegal PORT command
Post by: p0k3y on May 23, 2009, 05:31:33 PM
   

I have a Linkstation Pro LS-1000GL.   I set up FTP and my router to forward ports 20 and 21 to the NAS.   That part seems fine.  But when I tried to connect with an FTP client (try FTP.EXE, IE, Firefox, and CuteFTP), I can't list the content of my share.  Here are the errors that I get on CuteFTP:

 

[L] 220 192.168.10.10 FTP server ready
[L] USER admin
[L] 331 Password required for admin.
[L] PASS (hidden)
[L] 230 User admin logged in.
[L] SYST
[L] 215 UNIX Type: L8
[L] FEAT
[L] 211-Features:
[L]  MDTM
[L]  REST STREAM
[L]  SIZE
[L] 211 End
[L] PWD
[L] 257 "/" is current directory.
[L] TYPE A
[L] 200 Type set to A
[L] Listening on PORT: 52558, Waiting for connection.
[L] PORT 192,168,10,2,205,78
[L] 500 Illegal PORT command
[L] List Error
[L] Listening on PORT: 52561, Waiting for connection.
[L] PORT 192,168,10,2,205,81
[L] 500 Illegal PORT command
[L] List Error

 

Can anyone please help?  TIA.

Title: Re: LS Pro FTP - Error 500 Illegal PORT command
Post by: Cristen on May 23, 2009, 07:04:08 PM
   According to the info in the error log, it appears as though you're logging in as admin. Try creating another user on the Linkstation (in gui, User Management -> Add) and logging in with those credentials, or as guest with no password.
Title: Re: LS Pro FTP - Error 500 Illegal PORT command
Post by: p0k3y on May 23, 2009, 07:55:55 PM
   

When I use a user that I created (who has full read/write rights to the folders), I get error 530 Login incorrect.  Yes, I double-checked the password.   I can map to the share via LAN using the same user/pass.

 

Any other thoughts?

Title: Re: LS Pro FTP - Error 500 Illegal PORT command
Post by: p0k3y on May 23, 2009, 07:59:42 PM
   Don't know why - but I create another user.   Now I can log into FTP with that user, but still get the same error 500.   I did make sure that the user has read/write permission to a folder with FTP support enabled.
Title: Re: LS Pro FTP - Error 500 Illegal PORT command
Post by: spektre1 on May 23, 2009, 08:14:20 PM
   

I just tested it on mine. I created a fresh user; Try ftping using ftp.exe; easiest to get a log off of.

Alot of the clients tend to act kind of funny, to be honest. I've run into quite a few that tend to cause problems. See if you're running in passive or active mode, as well. That usually makes a difference. Passive mode won't work properly with these devices alot of the time, unfortunately.

 

Methodology: I created a new user named test, and a share named test. FTP service was enabled. I then logged into the device using a my linux box, and the basic shell ftp command.  I ran an 'ls' command successfully, and was able to download files using the get command.

Message Edited by spektre1 on 05-23-2009 08:15 PM
Title: Re: LS Pro FTP - Error 500 Illegal PORT command
Post by: p0k3y on May 23, 2009, 10:31:21 PM
   

Thanks for all the ideas.

 

With windows ftp.exe, got the same 500 error, followed by a 425 error - unable to build data connection: connection refused.

 

I tried both CuteFTP and FlashFXP, with passive mode on and off.  All got the same result.  So I am pretty sure it's the NAS config.

 

Here are my config steps in LS Pro:

 

1. Created a new user named testuser

2. Create a share named FTP, with FTP service enabled, granted testuser read/write permission

 

So I am at a loss as to what could be wrong.

 

Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 70 (show)
Files included: 27 - 1055KB. (show)
Memory used: 744KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]