How to setup an FTP server in Windows using IIS Comment paramétrer un serveur FTP dans Windows en utilisant IIS
Posted on February 19, 2008 at 6:56 am Posté le 19 février 2008 à 6h56
Earlier, I had written a post on Auparavant, j'avais écrit un post sur how to turn your computer into a Windows file sharing server Comment transformer votre ordinateur en un serveur de partage de fichiers Windows using a program called HFS. L'aide d'un programme appelé HFS. If you’re looking for a quick way to share the files on your local computer with friends or family, this is an easy way to do so. Si vous cherchez un moyen rapide de partager les fichiers sur votre ordinateur local, avec les amis ou la famille, il s'agit d'un moyen facile de le faire.
However, if you’re looking to setup your own FTP server in Windows using IIS, you can do so, but it requires more technical knowledge. Toutefois, si vous avez envie de configurer votre propre serveur FTP utilisant IIS sous Windows, vous pouvez le faire, mais elle exige plus de connaissances techniques. Of course, it also gives your more granular control over sharing and security, so it’s better for anyone who has a little computer know-how. Bien entendu, il vous donne aussi plus de contrôle sur le partage granulaires et de la sécurité, donc il vaut mieux pour quiconque a un peu de savoir-faire informatique.
How to setup and configure an FTP server in IIS Comment installer et configurer un serveur FTP sur IIS
The first thing you’ll need to setup your own FTP server in Windows is to make sure you have Internet Information Services (IIS) installed. La première chose dont vous aurez besoin pour configurer votre propre serveur FTP dans Windows est pour vous assurer que vous disposez d'Internet Information Services (IIS) installé. Remember, this only comes with Windows XP Professional or Windows Vista Business or higher. Rappelez-vous, cela ne vient avec Windows XP Professionnel ou Windows Vista Professionnel ou supérieur.
Click on Start , Control Panel and go to Add/Remove Programs . Cliquez sur Démarrer, sur Panneau de configuration et allez à Ajout / Suppression de programmes. Then click on Add/Remove Windows Components . Ensuite, cliquez sur Ajouter / Supprimer des composants Windows.
In the components wizard, scroll down until you see IIS in the list and check it off. Dans l'assistant Composants, faites défiler jusqu'à ce que vous voyez IIS dans la liste et vérifiez-le. Before you click Next though, make sure you click on Details and then check off File Transfer Protocol (FTP) Service . Avant si vous cliquez sur Suivant, assurez-vous que vous cliquez sur Détails, puis cochez FTP (File Transfer Protocol) Service.
Click OK and then click Next . Cliquez sur OK, puis cliquez sur Suivant. Windows will go ahead and install the necessary IIS files along with the FTP service. Windows va aller de l'avant et installer les fichiers nécessaires IIS avec le service FTP. You may be asked to insert your Windows XP or Windows Vista disk at this point. Vous pouvez être invité à insérer votre Windows XP ou Windows Vista disque en ce moment.
Setup and configure IIS for FTP Installer et configurer IIS pour FTP
Once IIS has been installed, you may have to restart your computer. Une fois IIS a été installé, vous devrez peut-être redémarrer votre ordinateur. Now we want to go ahead and open the IIS configuration panel to setup our FTP server. Maintenant, nous voulons aller de l'avant et ouvrir le panneau de configuration IIS pour configurer notre serveur FTP. So go to Start , then Control Panel and click on Administrative Tools . Alors, allez dans Démarrer, puis Panneau de configuration et cliquez sur Outils d'administration. You should now see an icon for Internet Information Services . Vous devriez à présent voir une icône pour Internet Information Services.
When you open IIS for the first time, you’ll only see your computer name in the left hand menu. Lorsque vous ouvrez IIS pour la première fois, vous verrez uniquement votre nom d'ordinateur dans le menu à gauche. Go ahead and click the + symbol next to the computer name and you’ll see a couple of options like Web Sites, FTP Sites, etc. We’re interested in FTP Sites, so expand that out also. Allez-y et cliquez sur le symbole + à côté du nom d'ordinateur et vous verrez quelques options comme les sites Web, sites FTP, etc Nous sommes intéressés par des sites FTP, donc aussi sur le fait que l'étendre. You should see Default FTP Site , click on it. Vous devriez voir le site FTP par défaut, cliquez sur celle-ci.
You’ll notice after you click on the default FTP site that there are a couple of buttons at the top that look like VCR buttons: Play, Stop, and Pause. Vous remarquerez après vous cliquez sur le site FTP par défaut qu'il existe un couple de boutons en haut qui ressemble à un magnétoscope boutons: Play, Stop, et Pause. If the Play button is greyed out, that means the FTP server is active. Si le bouton de lecture est grisé, cela signifie que le serveur FTP est actif. Your FTP server is now up and running! Votre serveur FTP est maintenant en ligne! You can actually connect to it via your FTP client software. Vous pouvez effectivement s'y connecter par l'intermédiaire de votre logiciel client FTP. I use Smart FTP, but you can use whatever you like best. J'utilise Smart FTP, mais vous pouvez utiliser ce que vous aimez le plus.
Open your FTP client software and type in localhost as the host name and choose Anonymous for the login. Ouvrez votre logiciel client FTP et taper localhost comme nom d'hôte et choisissez Anonyme pour la connexion. Connect and you should now see an empty folder. Connect, et vous devriez voir un dossier vide.
Ok, so that’s step 1! Ok, alors c'est l'étape 1! Now where the heck is this folder that you are currently viewing? Maintenant, lorsque le diable est dans ce dossier que vous êtes en train de voir? Well the default FTP site is actually located in C:\Inetpub\ftproot . Eh bien le site FTP par défaut est situé dans C: \ Inetpub \ ftproot. Open this directory and dump some files into it. Ouvrez ce répertoire et dump des fichiers dans celui-ci.
Now refresh on your FTP client and you should now see your files listed! Maintenant rafraîchir sur votre client FTP et vous devriez maintenant voir vos fichiers!
So you now have an up and running FTP server on your local computer. Donc, vous avez maintenant une place et le fonctionnement d'un serveur FTP sur votre ordinateur local. Before I show you how you can create separate folders that are stored in a different directory other than the default Inetpub folder, let’s first connect to our FTP server from another computer on the network. Avant de vous montrer comment vous pouvez créer des dossiers distincts qui sont stockées dans un autre répertoire autre que celui par défaut Inetpub dossier, nous allons d'abord connecter à notre serveur FTP à partir d'un autre ordinateur sur le réseau.
In order to do this, you’ll have to open up the Windows Firewall to allow FTP connections to your computer, otherwise all external computers will be blocked. Pour ce faire, vous devrez ouvrir le pare-feu Windows pour permettre les connexions FTP sur votre ordinateur, sinon tous les ordinateurs externes seront bloquées. You can do this by going to Start , Control Panel and then clicking on Windows Firewall . Vous pouvez le faire en allant dans Démarrer, Panneau de configuration et cliquez ensuite sur "Pare-feu Windows. Click on the Advanced Tab. Cliquez sur l'onglet Advanced.
Under the Network Connection Settings section, make sure all of the connections are checked in the left list and then click on the Settings button. En vertu de la section Paramètres de connexion réseau, assurez-vous que toutes les connexions sont contrôlées dans la liste de gauche et cliquez ensuite sur le bouton Paramètres. You’ll now be able to open certain ports on your computer based on the service your computer is providing. Vous allez maintenant pouvoir ouvrir certains ports sur votre ordinateur basé sur le service de votre ordinateur est prévoyant. Since we are hosting our own FTP server, we want to check off FTP Server . Depuis nous organisons notre propre serveur FTP, nous tenons à cocher FTP Server.
A little popup window will appear with some settings that you can change, just leave it as it is and click OK. Une petite fenêtre apparaîtra avec quelques paramètres que vous pouvez modifier, il suffit de le laisser tel qu'il est et cliquez sur OK. Click OK again at the main Windows Firewall window. Cliquez sur OK à nouveau à la fenêtre principale de Windows Firewall. You have now opened up the firewall for FTP connections. Vous avez maintenant ouvert le feu pour les connexions FTP. Now try to connect to your FTP site from a different computer on your network. Maintenant, essayez de vous connecter à votre site FTP à partir d'un autre ordinateur sur votre réseau. You’ll need to get the IP address of the computer first before you can connect into it from a different computer. Vous aurez besoin d'obtenir l'adresse IP de l'ordinateur avant que vous puissiez y connecter à partir d'un autre ordinateur.
Go to Start , click Run and type in CMD . Cliquez sur Démarrer, cliquez sur Exécuter et tapez CMD. Type IPCONFIG and jot down the number for IP Address: Type IPCONFIG et noter le nombre d'adresse IP:
In your FTP client on the other computer, type in the IP Address you just wrote down and connect anonymously. Dans votre client FTP sur l'autre ordinateur, tapez l'adresse IP que vous venez d'écrit et de se connecter anonymement. You should now be able to see all of your files just like you did on the FTP client that was on the local computer. Vous devriez maintenant être en mesure de voir tous vos fichiers exactement comme vous l'avez fait sur le client FTP qui se trouvait sur l'ordinateur local.
Now that the FTP site is working, you can create as many folders as you like for FTP purposes. Maintenant que le site FTP est au travail, vous pouvez créer autant de dossiers que vous le souhaitez pour FTP. In this way, when a user connects, they specify a path that will connect to one specific folder. De cette façon, lorsqu'un utilisateur se connecte, ils indiquent une voie qui va se connecter à un dossier spécifique.
Back in IIS, right click on Default FTP Site and choose New , and then Virtual Directory . Retour sur IIS, faites un clic droit sur le site FTP par défaut et choisissez Nouveau, puis Répertoire virtuel.
When you create a virtual directory in IIS, you’re basically going to create an alias that points to a folder on the local hard drive. Lorsque vous créez un répertoire virtuel de IIS, vous êtes fondamentalement allons créer un alias qui pointe vers un dossier sur le disque dur local. So in the wizard, the first thing you’ll be asked is for a alias name. Donc, dans l'assistant, la première chose que vous serez invité est un alias. Make is something simple and useful like “WordDocs” or “FreeMovies”, etc. Faites une chose simple et utile comme "WordDocs" ou "FreeMovies", etc
Click Next and now browse to the path where you want the alias to refer to. Cliquez sur Suivant et maintenant naviguer vers le chemin où vous voulez que l'alias de référence en la matière. So if you have a bunch of movies you want to share, browse to that folder. Donc, si vous avez un tas de films que vous souhaitez partager, naviguer vers ce dossier.
Click Next and choose whether you want it as Read access only or Read and Write access. Cliquez sur Suivant et choisissez si vous voulez savoir ce que l'accès seul ou Lire et Ecrire accès. If you simply want to share files, check Read. Si vous souhaitez simplement pour partager des fichiers, cochez Lire. If you want people to be able to upload files to your computer, choose Read and Write. Si vous voulez que les gens soient en mesure de transférer des fichiers sur votre ordinateur, choisissez Lire et Ecrire.
Click Next and then click Finish! Cliquez sur Suivant, puis cliquez sur Terminer! Now you’ll see your new virtual directory below the default FTP site. Maintenant, vous verrez votre nouveau répertoire virtuel par défaut en dessous du site FTP. You can connect to you using your FTP client by putting in the Path field “/Test” or “/NameOfFolder”. Vous pouvez vous connecter à l'aide de votre client FTP en mettant dans le champ Chemin d'accès "/ Test" ou "/ NameOfFolder".
Now you’ll only see the files that are in the folder we had browsed to. Maintenant, vous verrez uniquement les fichiers qui sont dans le dossier que nous avions parcouru.
And that’s about it! Et c'est à peu près tout! You can create as many folder as you like! Vous pouvez créer autant de dossiers que vous le voulez! The only thing other thing that you would need to do is to give out your public IP address to anyone who is connecting from outside of your internal network. La seule chose autre chose que vous devez faire est de donner votre adresse IP publique à toute personne qui se connecte à l'extérieur de votre réseau interne. If you want users to connect from anywhere in the world, you’ll have to give them your public IP address, which you can find out by going to Si vous souhaitez que les utilisateurs de se connecter à partir de n'importe où dans le monde, vous devrez lui donner votre adresse IP publique, que vous pourrez découvrir en allant à http://whatismyipaddress.com/ Http://whatismyipaddress.com/ .
Finally, you’ll need to forward the FTP port on your router to your local computer that is hosting the FTP server. Enfin, vous devrez faire parvenir le port FTP sur votre routeur vers votre ordinateur local qui héberge le serveur FTP. Port Forward Port Forward is a great site to show you how to forward ports on your router to computers on your home network. Est un excellent site pour vous montrer comment forwarder des ports sur votre routeur pour ordinateurs de votre réseau domestique.
Any questions, post a comment! Toutes les questions, poster un commentaire! Enjoy!
Technorati Tags: Technorati Tags: setup ftp server Configuration d'un serveur FTP , setup ftp server iis Configuration d'un serveur FTP IIS , setup windows FTP server Configuration de Windows serveur FTP , windows xp ftp server Windows XP serveur FTP , configure ftp server Configurer le serveur FTP , how to ftp server Comment serveur FTP
If you enjoyed this post, make sure you Si vous avez aimé ce poste, assurez-vous subscribe to my RSS feed S'abonner à mes flux RSS ! !
» Filed Under »Classé dans Computer Tips Trucs
Related Posts Related Posts
- How to detect computer & email monitoring or spying software Comment détecter ordinateur & e-mail ou le suivi des logiciels d'espionnage
- How to create a Windows XP hidden folder share Comment créer un dossier caché Windows XP part
- How to create your own Windows file sharing server to share large files Comment créer votre propre serveur de partage de fichiers de Windows de partager des fichiers volumineux
- How to turn your computer into a streaming media player Comment transformer votre ordinateur en un streaming media player
- How to setup Remote Desktop on Windows XP Comment paramétrer Remote Desktop sous Windows XP
























