">
intégrateur xhtml css 2.0 freelance indépendant
La Publication FTP avec Microsoft FTP 7.5
Les Explications fournies par microsoft sont bein des informations de technicien - Exemple commenté d'une mauvaise explication ci dessous - il m'a fallu 8 heures pour trouver seul!

J'airecopié ci dessous les explications officielles Microsoft fournies par xxxxx et j'ai commenté la ou c'est évident pour le technicien et pas pour un imbécile comme moi - Le jour ou l'on confiera la redaction des documentations a des utilisateurs finaux l'informatique sera plus facile pour tout le monde.

Vous verrez que Robert McMurray ne s'est vraiment pas cassé la tête - Dommage de faire d'assi bons logiciels et de bacler la documenetation a ce point. Voyons plutôt.

Tout ce qui est en orange est un commentaire ou ajout de votre serviteur y compris au texte anglais.

Microsoft has created a new FTP service 7.0 and 7.5 that has been completely rewritten for Windows Server® 2008. This new FTP service incorporates many new features that enable web authors to publish content better than before, and offers web administrators more security and deployment options.

One of the features of the new FTP service is the ability to configure virtual host names, which enables web hosters to configure multiple FTP sites on a single IP address. This document walks you through creating two FTP sites with unique virtual host names in two ways: using the new FTP user interface and by directly editing the IIS 7.0 configuration files. It contains:

Note: This walk-through contains a series of steps in which you  log in to your FTP site using the local administrator account.( ceci est idiot . En pratique on ne fait jamais cela. On utilise une vraie IP distante et on se connecte avec un client FTP comme Filezilla , SmartFtp ou autre ).These steps should only be followed on the server itself using the loopback address or over SSL from a remote server. If you prefer to use a separate user account instead of the administrator account, you will need to create the appropriate folders and set the correct permissions for that user account when necessary. Pourquoi faire simple quand on peut faire compliqué ! Pourquoi nous imposer le SSL qui donne un niveau de sécurité de paranoiäque.

Prerequisites

You must install the following items to complete the procedures in this article:

  1. IIS 7.0 must be installed on your Windows Server 2008, and the Internet Information Services Manager must be installed.
  2. The new FTP service must be installed also . ça ne coute pas cher de mettre "doit être installé aussi et pour le lecteur c'est plus simple a comprendre" .You can download and install the FTP service from the http://www.iis.net/ web site using one of the following links:If you use windows 2008 server R2 don't download. You only need to install a new FTP role. ici il oublie de mettre que sous windows 2008 server R2 le service FTP 7.5 est installé via le gestionnaire de roles et qu'il n'y a rien a télécharger . Si vous suivez son mode d'emploi vous allez dans le mur car le téléchargement refusera de s'installer, et alors c'est on danse , on danse, mais on cherche, on cherche.
  3. You will need to create root folders for the FTP sites:
    • "%SystemDrive%\inetpub\www.example.com"
    • "%SystemDrive%\inetpub\www.contoso.com
    • c'est n'importe quoi . le collaborateur microsoft se place dans le cas de figure ou on créee un site FTP, mais pas de site WEB. Je me demande s'il a jamais utilisé ses outils ailleurs que chez Microsoft "pour de vrai".
    La ligne 3 est un exemple de langage de technicien qui refuse de simplifier les choses. En outre il nous met en erreur . Pourquoi creer des dossiers ftp ailleurs que dans wwwroot/nomdusite.

Creating Two Hostname-based FTP Sites Using the IIS 7.0 Manager

Step 1: Use the FTP Site Wizard to Create the First FTP Site

In this first step, we create a new FTP site using a unique virtual host name. Et la c'est la catastrophe : il oublie de préciser que le nom d'hote virtuel doit impérativement être le nom de domaine du site internet. A partir de cet endroit ce détail absolument essentiel n'étant pas expliqué on est fichus.

  1. Open the Internet Information Services (IIS) Manager. In the Connections pane, click the Sites node in the tree.
  2. Right-click the Sites node in the tree and click Add FTP Site, or click Add FTP Site in the Actions pane.
  3. When the Add FTP Site wizard displays:
    • Enter "www.example.com" in the FTP site name box.Ici il fallait écrire entrez très exactement votre nom de domaine . Ou est la pédagogie ?
    • Navigate to the "%SystemDrive%\inetpub\www.example.com" folder that you created in the Prerequisites section. Note: If you choose to type in the path to your content folder, you can use environment variables in your paths.
    • Click Next.
  4. On the next page of the wizard:
    • Choose an IP address for your FTP site from the IP Address drop-down, or choose to accept the default selection of "All Unassigned." Because you will be using the administrator account later in this walk-through, make sure that you restrict access to the server and enter the local loopback IP address for your computer by typing "127.0.0.1" in the IP Address box.Encore une fois c'est une très mauvaise chose que d'avoir choisi un exemple en 127.0.0.1.
    • You would normally enter the TCP/IP port for the FTP site in the Port box. For this walk-through, you will choose to accept the default port of 21.
    • Enter "www.example.com" in the Virtual Host box.
    • Make sure that the SSL Certificate drop-down is set to "Not Selected" and that the Allow SSL option is selected.
    • Click Next.
  5. On the next page of the wizard:
    • In Authentication settings, select Basic.
    • In Authorization settings:
      • Choose "Specified users" from the Allow access to drop-down.
      • Type "administrator" for the user name in the field below.
      • In the Permissions option, select read and Write.
    • Click Finish.

Summary

You have successfully created a new FTP site using the new FTP service. To recap the items that you completed in this step:

  • You created a new FTP site named "www.example.com", with the site's content root at "%SystemDrive%\inetpub\www.example.com".
  • You bound the FTP site to the local loopback address for your computer on port 21 using "www.example.com" as the virtual host name.
  • You enabled Basic Authentication and created an authorization rule for the local administrator account for Read and Write access.

Step 2: Use the FTP Site Wizard to Create the Second FTP Site

In this second step, we create another new FTP site using a unique virtual host name.

  1. Open the Internet Information Services (IIS) Manager. In the Connections pane, click the Sites node in the tree.
  2. Right-click the Sites node in the tree and click Add FTP Site, or click Add FTP Site in the Actions pane.
  3. When the Add FTP Site wizard appears:
    • Enter "www.contoso.com" in the FTP site name box.
    • Navigate to the "%SystemDrive%\inetpub\www.contoso.com" folder that you created in the Prerequisites section. Note: If you choose to type in the path to your content folder, you can use environment variables in your paths.
    • Click Next.
  4. On the next page of the wizard:
    • Choose an IP address for your FTP site from the IP Address drop-down, or choose to accept the default selection of "All Unassigned." Because you will be using the administrator account later in this walk-through, make sure that you restrict access to the server and enter the local loopback IP address for your computer by typing "127.0.0.1" in the IP Address box.
    • You would normally enter the TCP/IP port for the FTP site in the Port box. For this walk-through, choose to accept the default port of 21.
    • Enter "www.contoso.com" in the Virtual Host box.
    • In the SSL Certificates drop-down, choose "Not Selected" and select the  Allow SSL radio button.
    • Click Next.
  5. On the next page of the wizard:
    • In Authentication settings, select Basic.
    • In Authorization settings:
      • Choose "Specified users" from the Allow access to drop-down.
      • Type "administrator" for the user name in the field below.
      • In the Permissions option, select read and Write.
    • Click Finish.
       

Summary

You have successfully created a new FTP site using the new FTP service. To recap the items that you completed in this step:

  1. You created a new FTP site named "www.contoso.com", with the site's content root at "%SystemDrive%\inetpub\www.contoso.com".
  2. You bound the FTP site to the local loopback address for your computer on port 21 using "www.contoso.com" as the virtual host name.
  3. You enabled Basic Authentication and created an authorization rule for the local administrator account for Read and Write access.

Step 3: Logging in to Your FTP Site

In Steps 1 and 2, you created two FTP sites using unique virtual host names and configured the security settings to allow only the administrator account to log in. In this step, you log in using your administrator account.

Note: In this step, you log in to your FTP site using the local administrator account. When creating the FTP sites in Steps 1 and 2, we bound the FTP sites to the local loopback IP address. If you did not use the local loopback address, use SSL to protect your account settings. If you prefer to use a separate user account instead of the administrator account, set the correct permissions for that user account for the appropriate folders.

Logging in to the First FTP Site Using Your Administrator Account

Et la c'est le pompon ! au lieu de prendre un exmple avec un vrai logcile de client FTP il nous fait nous connecter en local sur le serveur en mode de commandes !! Ici il aurait fallu un très gros warning. Si dans le client FTP on ne met pas comme utilisateur nom de domaine|nom d'utilisateur ( www.ibm.com|administrateur ) avec le caractère "pipe" au milieu rien ne marche.

voila comment il faut paraméter un client ftp

setup a ftp client under windows 2008 server r2 and microsoft ftp 7.5

ci dessous l'explication shadock du collaborateur de microsoft

  1. On your FTP server, open a command prompt session.
  2. Type the following command to connect to your FTP server:
    FTP 127.0.0.1
  3. When prompted for a user name, enter the "www.example.com" virtual host name followed by the vertical line (|) character.
    For example: "www.example.com|administrator"
  4. When prompted for a password, enter your administrator password.
  5. You should now be logged in to the "www.example.com" FTP site as the local administrator.

Logging in to the Second FTP Site Using Your Administrator Account

  1. On your FTP server, open a command prompt session.
  2. Type the following command to connect to your FTP server:
    FTP 127.0.0.1
  3. When prompted for a user name, enter the "www.contoso.com" virtual host name followed by the vertical line (|) character.
    For example: "www.contoso.com|administrator"
  4. When prompted for a password, enter your administrator password.
  5. You should now be logged in to the "www.contoso.com" FTP site as the local administrator.