locked
Configure multiple FTP site on the same port 21 RRS feed

  • Question

  • User1231912896 posted

    Hello,

    I'm tring to configure multiple FTP site in my IIS 7.5. I'have create a lot of web site in IIS and now for each I would like to create an FTP connection.

    This is what I have tried:

    [A] - Site "mySite01"

    1. In the "Local Users and Group", I have created a new user: "mySite01ftp|mysite01"

    2. In IIS, for the web site "mySite01", I have configured a site bindings:

    - Type: ftp

    - Host Name: mySite01ftp

    - Port: 21

    - IP Address: <<my server IP address installed in a VM>>

    3. In IIS, I have setted permission of the user "mySite01ftp|mysite01" for the folder site.

    For a second web site I have made the same:

    [B] - Site "mySite02"

    1. In the "Local Users and Group", I have created a new user: "mySite01ftp|mysite02"

    2. In IIS, for the web site "mySite02", I have configured a site bindings:

    - Type: ftp

    - Host Name: mySite02ftp

    - Port: 21

    - IP Address: <<my server IP address installed in a VM>>

    3. In IIS, I have setted permission of the user "mySite02ftp|mysite02" for the folder site.

    And so on for all the other sites.

    Then, I have modifyed the "host" to map the IP address and the FTP Server:

    <<IP address>>   mySite01ftp

    <<IP address>>   mySite02ftp

    .......

    This configuraton doesn't work!

    I try to access in this way: "ftp://mysite01ft" or "ftp://mysite02ft" but not works!

    Could someone help me to understand what I have missing or made wrong. Thank you!

    Igor

    Saturday, March 23, 2013 12:31 PM

Answers

  • User-218459230 posted

    Hi Igor,

    I believe this may be related to the FTP user name.  If you create a Windows user named "mysite01" and your host name for the FTP site is "mySite01ftp", then you would enter "mySite01ftp|mysite01" into your FTP client as your FTP user ID.  You may just need to create the Windows user as "mysite01".

    This is so that IIS can distinguish between the host name of the FTP site, and the Windows user ID. 

    <HostName|UserID>

    The pipe character is simpily a delimiter in this case.

     

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Saturday, March 23, 2013 3:05 PM

All replies

  • User-218459230 posted

    Hi Igor,

    I believe this may be related to the FTP user name.  If you create a Windows user named "mysite01" and your host name for the FTP site is "mySite01ftp", then you would enter "mySite01ftp|mysite01" into your FTP client as your FTP user ID.  You may just need to create the Windows user as "mysite01".

    This is so that IIS can distinguish between the host name of the FTP site, and the Windows user ID. 

    <HostName|UserID>

    The pipe character is simpily a delimiter in this case.

     

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Saturday, March 23, 2013 3:05 PM
  • User1231912896 posted

    Thank you JemieFurr, now I have understood:

    Host name: mysiteftp

    Win User: mysite

    FTP access: ftp://mysiteftp

    User access: mysiteftp|mysite

    Thanks a lot.
    Igor

    Saturday, March 23, 2013 5:33 PM