Specifying PASV ports at the server
- From: "Jerry Mickman" <no-mail@xxxxxxxxxxx>
- Date: Fri, 14 Jul 2006 16:23:33 -0500
Hi All,
I'm working on a Windows 2003 Server (standard) and I need to specify the
ports that the server will specify to the client for the data transfer
sessions. It's just in the testing stage at the moment, and I set up a
second ftp site on the server that will use port 50021 for the control port
and I want to make ports 50022-50040 available for PASV ftp data transfer
use.
I found the document titled "How to configure PassivePortRange in IIS
(555022), and I'm having problems implementing the procedure.
I enabled the "direct metabase edit" as described, and that seemed to work.
However, when I tried the command:
adsutil.vbs set /MSFTPSVC/PassivePortRange "50022-50040"
I get the following error:
ErrNumber: -2146646000 (0x800CC810)
Error Trying To Get the Object: MSFTPSVC
I did some searching on the Internet, and I couldn't really find anything
useful to help me solve the problem.
I checked to make sure that the service seemed to be there, so I ran
"adsutil.vbs enum MSFTPSVC" and saw the very same error.
Next, I thought I'd just try checking the ftp sites with the "iisftp
/query" and saw this:
C:\Inetpub\AdminScripts>iisftp /query
Connecting to server ...Done.
Site Name (Metabase Path) Status IP Port
==================================================================
Default FTP Site (MSFTPSVC/1) STARTED ALL
21
Another FTP Site port 50021 (MSFTPSVC/440430970) STARTED ALL
50021
So, I thought I'd try:
C:\Inetpub\AdminScripts>adsutil.vbs enum MSFTPSVC/440430970 and
C:\Inetpub\AdminScripts>adsutil.vbs enum MSFTPSVC/1
and in both cases, I still got the exact same error message.
I'm completely stumped here, and hope that someone can help me on this.
BTW, both ftp sites work just fine, however on the "Another" site, while the
control session does use tcp port 50021, the data sessions use the "default"
tcp ports.
Thanks in advance,
Mark
.
- Follow-Ups:
- Re: Specifying PASV ports at the server
- From: Bernard Cheah [MVP]
- Re: Specifying PASV ports at the server
- Prev by Date: Re: Folder modification date not changing
- Next by Date: Re: using MGET with DELE
- Previous by thread: FTP: using MGET with DELE
- Next by thread: Re: Specifying PASV ports at the server
- Index(es):
Relevant Pages
|