Как setup ftp server в Windows использующ IIS

Вывешено 19-ого февраля 2008 на 6:56 am

Более раньше, я написал столб дальше как повернуть ваш компьютер в архив Windows сервера использующ программу вызвал HFS. Если вы ищете быстро дорога делить архивы на вашем местном компьютере с друзьями или семьей, то это будет легкая дорога сделать так.

Однако, если вы смотрите к setup ваше собственное ftp server в использовании Windows IIS, вы можете сделать так, но они требуют больше техническия знания. Of course, оно также дает ваше более зернистое управление над делить и обеспеченностью, поэтому более лучшее для любого которое имеет маленький ноу-хау компьютера.

Как setup и установить ftp server в IIS

Первая вещь, котор вам будет нужно setup ваше собственное ftp server в Windows должна make sure вы иметь справочные службы интернета (IIS) быть установленным. Вспомните, это только приходит с профессионалом Windows XP или делом Windows Vista или более высоко.

Щелкните дальше Старт, Пульт управления и пойдите к Добавьте/извлекайте программы. После этого щелкните дальше Добавьте/извлекайте компоненты Windows.

добавьте извлекайте программы

В компонентах чудодее, перечень вниз до тех пор пока вы не увидеть IIS в списке и проверите его. Перед вами click Затем хотя, make sure вы щелкнуть дальше деталями и после этого проверить Обслуживание file transfer protocol (FTP).

iis

file transfer protocol

Click О'КЕЙО и после этого щелкните Затем. Windows пойдет вперед и установит обязательно архивы IIS вместе с обслуживанием FTP. Вы можете быть спрошены, что ввели ваш диск Windows XP или Windows Vista с этой точки зрения.

Setup и установите IIS для FTP

Как только IIS было установлено, вы можете повторить старт вашего компьютера. Теперь мы хотим пойти вперед и раскрыть панель конфигурации IIS для того чтобы setup наше ftp server. Так пойдите к Старт, после этого Пульт управления и щелкните дальше Управленческие инструменты. Вы должны теперь увидеть икону для Справочные службы интернета.

IIS [6]

Когда вы раскроете IIS for the first time, вы только увидите ваше имя компьютера в меню left hand. Пойдите вперед и щелкните + символ рядом с именем компьютера и вами увидит пару вариантов как места стержня, места FTP, cEtc. Мы заинтересованн в местах FTP, поэтому расширьте то вне также. Вы должны увидеть Ftp site невыполнения обязательства, щелкните дальше им.

ftp site

Вы заметите после вас для того чтобы щелкнуть дальше ftp site невыполнения обязательства что будут пары кнопок на верхней части смотрят как кнопки VCR: Игра, стоп, и перерыв. Если кнопка игры greyed вне, т намеревается, то ftp server активно. Ваше ftp server теперь up and running! Вы можете фактическ подключить к ему через ваше средство программирования клиента FTP. I use Smart FTP, but you can use whatever you like best.

Open your FTP client software and type in localhost as the host name and choose Anonymous for the login. Connect and you should now see an empty folder.

localhost

Ok, so that’s step 1! Now where the heck is this folder that you are currently viewing? Well the default FTP site is actually located in C:\Inetpub\ftproot. Open this directory and dump some files into it.

ftp files

Now refresh on your FTP client and you should now see your files listed!

ftp sites

So you now have an up and running FTP server on your local computer. 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.

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. You can do this by going to Start, Control Panel and then clicking on Windows Firewall. Click on the Advanced Tab.

windows firewall

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. You’ll now be able to open certain ports on your computer based on the service your computer is providing. Since we are hosting our own FTP server, we want to check off FTP Server.

ftp services

A little popup window will appear with some settings that you can change, just leave it as it is and click OK. Click OK again at the main Windows Firewall window. You have now opened up the firewall for FTP connections. Now try to connect to your FTP site from a different computer on your network. You’ll need to get the IP address of the computer first before you can connect into it from a different computer.

Go to Start, click Run and type in CMD. Type IPCONFIG and jot down the number for IP Address:

ip address

In your FTP client on the other computer, type in the IP Address you just wrote down and connect anonymously. 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.

Now that the FTP site is working, you can create as many folders as you like for FTP purposes. In this way, when a user connects, they specify a path that will connect to one specific folder.

Back in IIS, right click on Default FTP Site and choose New, and then Virtual Directory.

virtual directory

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. So in the wizard, the first thing you’ll be asked is for a alias name. Make is something simple and useful like “WordDocs” or “FreeMovies”, etc.

virtual directory alias

Click Next and now browse to the path where you want the alias to refer to. So if you have a bunch of movies you want to share, browse to that folder.

ftp server

Click Next and choose whether you want it as Read access only or Read and Write access. If you simply want to share files, check Read. If you want people to be able to upload files to your computer, choose Read and Write.

read write

Click Next and then click Finish! Now you’ll see your new virtual directory below the default FTP site. You can connect to you using your FTP client by putting in the Path field “/Test” or “/NameOfFolder”.

ftp connection

Now you’ll only see the files that are in the folder we had browsed to.

anonymouse

And that’s about it! You can create as many folder as you like! 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. 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 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. Port Forward is a great site to show you how to forward ports on your router to computers on your home network.

Any questions, post a comment! Enjoy!

Technorati Tags: , , , , ,

If you enjoyed this post, make sure you subscribe to my RSS feed!

» Filed Under Computer Tips

Related Posts

Please post your comments/suggestions!