« Previous Next »

Thread: Passive ftp after upgrade to W2k8

Last post 10-27-2008 3:25 AM by gregm12. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-21-2008, 4:53 AM

    • gregm12
    • Not Ranked
    • Joined on 10-21-2008, 4:29 AM
    • Posts 2

    Passive ftp after upgrade to W2k8

    hello,

    a long time ago I installed a Windows Server 2003 St Ed. The only service that was running, was IIS 6.0 (for several website and 1 ftp).

    One week ago I upgraded the server to Windows Server 2008 St. Ed.. After the upgrade I didn't change anything about the configuration of the websites and ftp-site. So for the websites it uses IIS 7.0 and for the ftp IIS 6.0.

    When I tried to logon to the ftp-site I noticed that I had to use PASV, eventhough my ftp-sites uses port 21. For a "second opinion" I used another ftp-client , core-ftp, and it also switched to pasv. I don't want to use PASV at all, I want to use my ftp-site in active-mode.

    I find this very weird, because for PASV you would use ports between 5500 & 5700 (or others).

    Is there a way to change this?

     

    Greets,

    Greg

  • 10-21-2008, 12:53 PM In reply to

    Re: Passive ftp after upgrade to W2k8

    Actually you'll use Port 21 and another random port.  Is FTP set to passive in the client and did you try active?  Is the firewall active?

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-27-2008, 3:25 AM In reply to

    • gregm12
    • Not Ranked
    • Joined on 10-21-2008, 4:29 AM
    • Posts 2

    Re: Passive ftp after upgrade to W2k8

     My ftp-client (coreftp) is using active, but after a few seconds it automatically switches to pasv. The firewall is active.

    Is there a way to disable the pasv-mode?

    I allready checked the registry too. There's a key with the name "Use PASV" (HKCU\Software\Microsoft\FTP) and its value is "no".

    This is a log that says what happens if I logon to the ftp with a user-account. You can see it switches to pasv and uses port 5096. But there no portopening for port 5096 or any other. Only for port 20 & 21.

     

    Welcome to Core FTP, release ver 2.1, build 1576 (U) -- © 2003-2008
    WinSock 2.0
    Mem -- 2,094,632 KB, Virt -- 2,097,024 KB
    Started on Monday October 27, 2008 at 08:24:AM
    Connect socket #572 to 195.207.163.189, port 21...
    220 Microsoft FTP Service 
    USER eu006202 
    331 Password required for eu006202. 
    PASS ********** 
    230 User eu006202 logged in. 
    SYST 
    215 Windows_NT 
    Keep alive off...
    PWD 
    257 "/eu006202" is current directory. 
    PORT 172,16,32,1,84,167 
    500 Invalid PORT Command. 
    Attemping PASV mode transfer...
    PASV 
    227 Entering Passive Mode (195,207,163,189,19,232). 
    LIST 
    Connect socket #624 to 195.207.163.189, port 5096...
    125 Data connection already open; Transfer starting. 
    226 Transfer complete. 
    Changed to PASV mode...
    Updated site profile...
    Transferred 437 bytes in 0.008 seconds 

Page 1 of 1 (3 items)