all groups > iis ftp > december 2004 >
You're in the

iis ftp

group:

Connected to to FPT server but can't list folder or files!


Connected to to FPT server but can't list folder or files! <tomsav>
12/9/2004 10:12:08 PM
iis ftp:
Hi



I have W2003 server and he is NAT (RRAS) for internal clients. He has two
NIC, one for LAN & one for WAN. Firewall on WAN NIC in RRAS is disabled.
NIC on WAN side is connected to router.



So if I try to connect to branch office FTP server from W2003 Server or any
other client behind NAT, after enter Login & password information I get the
following message:



200 Type set to A.
500 Invalid PORT Command.
500 "LPRT 6,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,113,2,7,184':command
not understood





If RRAS is disabled and if I use Router to share Internet on private
network,

FTP connection to branch office FTP server just works fine.



So obviously, W2003 Server acting like NAT is the problem probably high port
translation, but just can't find any solutions for that problem.



I would appreciate any idea to work around this



Regards,



Tomsav


Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/10/2004 8:41:17 AM
Hi Bernard

In IIS Managers on my W2003 server, ftp is set to port 21. Behind the NAT
all clients computer start FTP session with port 21
using command like ftp://81.56.xx.xx
Remote FTP server ( W2000 Server SP4) use also port 21

I saw this 2 KB articles from microsoft but could'n find any solution in it.
I'm just dumb enough to don't understand it :(

More precision: in past my W2003 Server used ISA 2000 for a while but for
some compatibility issue with company software I have had to remove it.
I know that ISA server just adore to change http port from 80 to 8080 in
IIS. Does he change FTP port also?

Format & reinstall of my W2003 server is impossible (they'll kill me
:-/ ) but i can make any kind of test during the night with possibility
to use Disaster Recovery if Server crash.

Q? how can I find out which ftp port my server use when he act like client
and NAT for others LAN users.



[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! Bernard
12/10/2004 11:42:31 AM
Hmm.. is the ftp bind to default port 21 ?

Read -
Information About the IIS File Transmission Protocol (FTP) Service
http://support.microsoft.com/?id=283679
FTP Error: 500 Invalid PORT Command
http://support.microsoft.com/?id=281193


--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! Mohammed A. Raslan
12/11/2004 8:59:42 PM
Are you enabling IPV6 in RRAS on the server? or on the WAN connection
properties?

--
Yours truly,
Mohammed A. Raslan
Systems Engineer / Consultant
MCSE+I NT4, MCSA: Security , MCSE: Security, MCDBA, CCNA
Mobile: +20 (12) 36 26 112 / +965 978 1969
E-Mail: m_raslan@link.net.removethis


[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/12/2004 1:14:39 AM

nop man

It drive my crazy that problem







[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! Mohammed A. Raslan
12/12/2004 5:15:09 PM
According to your first mail
you mentioned that you get an error

LPRT 6,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,113,2,7,184

this means that you are working with IPv6, the first number "6" is the
version number if the IP protocol you use, and in this case it's IPv6, the
number 16 is the number of bytes the describes the network address and in
your case it's zero's and i don't understand how, the rest are the port
length and the port number, the command is Long PORT (LPRT) which is used to
specify the data port that will be used to transfeer data

look, bring your WAN interface properties and tell me what are listed in it
other than "Client for Microsoft Networks" and "Internet Protocol" and "File
and Printer sharing for Microsoft Network". Also do the same thing on the
internal LAN interface.

and tell me what is listed under "IP Routing" in routing and remote access
console
Another thing, what is the client you are using? the command prompt, or
other program?

--
Yours truly,
Mohammed A. Raslan
Systems Engineer / Consultant
MCSE+I NT4, MCSA: Security , MCSE: Security, MCDBA, CCNA
Mobile: +20 (12) 36 26 112 / +965 978 1969
E-Mail: m_raslan@link.net.removethis


[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/13/2004 12:22:14 AM

Hello Mohammed
bellow you can find the informations you asked.

properties of :

Lan Interface: 192.168.5.1/24
Client For Ms network - checked
QoS Packet Scheduler - checked
Network load Balancing - not checked
File and Printer sharing for MS network - checked
network monitor driver - checked
Internet Protocole (TCP/IP) - checked

Wan Interface: 192.168.0.1/24
Client For Ms network - unchecked
QoS Packet Scheduler - checked
Network load Balancing - not checked
File and Printer sharing for MS network - unchecked
network monitor driver - unchecked
Internet Protocole (TCP/IP) - checked


RRAS
Network Interfaces
WAN dedicated - Enabled - Connected
Loopback - loopback - enabled - connected
LAN - Dedicated - Enabled - Connected
Internal - Internal - Enabled- Connected

Ip Routing
General : WAN dedicated - 192.168.0.1 - up
Loopback - loopback - 127.0.0.1 - up
LAN - Dedicated - 192.168.5.1 - up
Internal - Internal - not availlable - Unknown

Static Routes - There are no items

IGMP WAN Proxy - UP 0.0.0.0
LAN Router V3 - Querier - 192.168.5.1

NAT/ Basic Firewall
WAN mapings 1 inbound packed translated 27606 - inbound
packet rejected 0
LAN 0
0 0
Internal 0
0 0
Basic firewall is deactivated
there is no inbound / outbond filters aplied
There in only Service port open to be accessible from outside by remote
desktop & HTTP forwared to WAN interface
This properties is on Server 2003 Enterprise
FTP client is simple IE6

On client side I have 1 member server W2000 and few PC with Win XP Pro (
IP 192.168.5.xx)
If I change IP setting to be in same subnet like router (192.168.0.253) all
clients can open FTP folders on branch office.

It is only impossible when I use W2003 Server with RRAS and NAT enabled.

I never installed any IPv6 add-on










[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/13/2004 9:06:09 AM


In my opinion it is only NAT related opinion.
More precision: in past my W2003 Server used ISA 2000 for a while but for
some compatibility issue with company software I have had to remove it.
I know that ISA server just adore to change http port from 80 to 8080 in
IIS. Does he change FTP port also?






[quoted text, click to view]
http://groups.google.com/groups?hl=en&lr=&q=IIS+FTP+500+Invalid+PORT+Command
+LPRT
[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! Bernard
12/13/2004 11:55:14 AM
[quoted text, click to view]

this could mean that the client ftp app support IPv6 LPRT but not necessary
that it's based on v6 protocol.

while I'm don't what to config, but the error is definitely related to NAT
and routing issue. Also I have read that if ISA2000 is in placed, there's
hotfix for such error. I would recommend you read some of the old posts here
http://groups.google.com/groups?hl=en&lr=&q=IIS+FTP+500+Invalid+PORT+Command+LPRT

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/13/2004 1:51:12 PM


***** There in no more ISA server installed on this box.******

I have just 2 NIC adapters and in RRAS NAT is configured to share internet
for client PC

After ISA server is been removed, IIS services were reinstalled. In Internet
service Manager FTP port is set to 21 and WWW is 80

Is there any tool from MS to remove ISA server completly (in case there is
some trace of old installation)?









[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! Bernard
12/13/2004 4:51:44 PM
Yes, I meant NAT :)
Changing http port 8080 and etc all depend on the box setup, e.g. how many
IP available. since ISA need port 80 for http traffic as well, if you have 2
or more IPs you can disable socket pooling, and make one listen for ISA and
others for IIS.

you just using RRAS, right ? and not running NAT from ISA.

I do not have a RRAS environment to test this :(

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/14/2004 10:10:58 AM

Last night I installed W2003 Server on spare Hard drive (original RAID
drives was simple disconeted) after installing the system. & RRAS + NAT
everything just working fine.

Now I should persuade my boss to not spend the time anymore but reinstall
the server.


Thanx for your help.
Tom




[quoted text, click to view]
Re: Connected to to FPT server but can't list folder or files! Bernard
12/14/2004 1:10:02 PM
Errr. I believed the uninstall 'normally' do remove itself totally.
Now, try - ftp using ftp.exe

can you login and do dir listing ?

any port filterings ? rerfer my first reply for complete ports requirement
need by ftp server.


--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: Connected to to FPT server but can't list folder or files! Bernard
12/14/2004 5:34:48 PM
huh ? errr.... I actually do like to find out why .
both RRAS + NAT config same ? ???

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]
Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/15/2004 12:28:19 AM

Yeah . When you activate RRAS he ask you if you want to setup an RAS server
or NAT so I chosed NAT ( I have to share Internet connection with other
boxes in our LAN.

I would like to find out also what's wrong without breaking server.





[quoted text, click to view]
Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/15/2004 12:52:19 AM
Hi

I did removed ReservedPort ( Reg_Multi_Sz) 3343-3343. ( KB324288)
So after restartin RRAS engine server i able to access almost all Ftp sites
on branche office :) :) ;-) / he is able to connect to FTP server and
update virus signature, but the clients Boxes still can't get any FTP.

There is still something wrong with RRAS NAT.
I will try to compare ipnat.sys like you said.







[quoted text, click to view]
Re: Connected to to FPT server but can't list folder or files! <tomsav>
12/15/2004 1:04:03 AM
I'm afraid that do not know exacte syntax for that command:





delete v4tov4

Specifies that the portproxy server delete an IPv4 address from the list of
IPv4 ports and addresses for which the server listens.

Syntax
delete v4tov4 listenport= {Integer | ServiceName} [[listenaddress=]
{IPv4Address| HostName}] [[protocol=]tcp]

Parameters
listenport
Required. Specifies the IPv4 port to delete.
listenaddress
Specifies the IPv4 address to delete. If an address is not specified, the
default is the local computer.
protocol
Specifies the protocol to use. Currently only TCP is supported.
/?
Displays help at the command prompt.







[quoted text, click to view]