Advertisement

04.23.2008 at 09:13AM PDT, ID: 23347214
[x]
Attachment Details

FTP Port command truncated somewhere from client to server

Asked by Sentax in FTP Servers, FTP Software, File Transfer Protocol (FTP)

Tags: 500 Syntax error, command unrecognized.

I have an FTP client that keeps getting a "500 Syntax error, command unrecognized." from the FTP server.  

With Windows Firewall enabled (On the client) I get a truncated PORT command at the server. "ORT x,x,x,x,19,137" and which the server promptly replies with unrecognized command.

I've been able to get around the error by disabling Windows Firewall (On the client) and then the "PORT" command is successfully received by the server "PORT x,x,x,x,111,228", then FTP works fine and I can do file transfers like normal.

I've tried opening TCP and UDP ports in the range of "5001-5050" (On the client), (If you do the math on "19,137", 5001 is the port it first tries to work on) with no success unless I completely disable the Windows Firewall and then the first port it tries starts at "28644".

So, what settings do I need to change on the Windows firewall (On the client end) so this doesn't happen?  Also note that I have many other clients out there nationwide that works fine with same FTP client version communicating with the same FTP server, it's only localized to this one client.

Also note the FTP server is Filezilla and the client is a in-house written FTP client.Start Free Trial
[+][-]04.23.2008 at 09:19AM PDT, ID: 21422389

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 09:44AM PDT, ID: 21422694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 06:36PM PDT, ID: 21587656

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: FTP Servers, FTP Software, File Transfer Protocol (FTP)
Tags: 500 Syntax error, command unrecognized.
Sign Up Now!
Solution Provided By: EE_AutoDeleter
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628