How to setup an FTP server in Windows using IIS如何设置一个FTP服务器在Windows用IIS
Posted on February 19, 2008 at 6:56 am发布于2008年2月19日在上午06时56分
Earlier, I had written a post on此前,我曾写了一哨所 how to turn your computer into a Windows file sharing server 如何把你的电脑变成一个Windows文件共享服务器 using a program called 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.如果您正在寻找一种快速的方法来共享文件在您的本地计算机上与家人或朋友,这是一种简单的方法来这样做。
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.然而,如果您也想设置自己的FTP伺服器在Windows用 IIS ,你可以这样做,但是这需要更多的技术知识。 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.当然,它也给你的更细化的控制,共享和安全,所以它的更好的人,有一个小计算机技术诀窍等。
How to setup and configure an FTP server in IIS如何设置和配置一个FTP服务器,在非法入境者
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.第一件事,你需要把它设置自己的FTP服务器和Windows是要确保你有Internet信息服务( IIS )的安装。 Remember, this only comes with Windows XP Professional or Windows Vista Business or higher.请记住,这只是附带Windows XP Professional或Windows Vista商业版或更高。
Click on Start , Control Panel and go to Add/Remove Programs .点击开始 , 控制面板及去添加/删除程序 。 Then click on Add/Remove Windows Components .然后点击添加/删除Windows组件 。
In the components wizard, scroll down until you see IIS in the list and check it off.在组件向导,向下滚动,直到你看到,在非法入境者的名单,并检查它关闭。 Before you click Next though, make sure you click on Details and then check off File Transfer Protocol (FTP) Service .然后按一下未来 ,虽然时,要确保你点击详情,然后再检查过的文件传输协议( FTP )服务 。
Click OK and then click Next .单击确定 ,然后单击下一步 。 Windows will go ahead and install the necessary IIS files along with the FTP service. Windows将继续进行,并安装必要者档案随FTP服务。 You may be asked to insert your Windows XP or Windows Vista disk at this point.你可能会被要求插入你的Windows XP或Windows Vista磁盘在这一点上。
Setup and configure IIS for FTP安装和配置为非法入境者的FTP
Once IIS has been installed, you may have to restart your computer.一旦非法入境者已被安装,你可能需要重新启动计算机。 Now we want to go ahead and open the IIS configuration panel to setup our FTP server.现在,我们想去做,并打开IIS的小组设置我们的FTP伺服器。 So go to Start , then Control Panel and click on Administrative Tools .所以要开始 ,然后控制面板 ,点击管理工具 。 You should now see an icon for Internet Information Services .你现在应该看到一个图标, Internet信息服务 。
When you open IIS for the first time, you’ll only see your computer name in the left hand menu.当你打开者,为第一次,你会只看到你的电脑名称,在左手菜单。 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.继续进行,并点击+符号旁边的电脑名称,你会看到一对夫妇的选择,例如网站, FTP的地盘,等我们感兴趣的FTP网站,所以扩展出也。 You should see Default FTP Site , click on it.你应该可以看到默认FTP站点 ,点击它。
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.您会发现,当你点击默认FTP站点,有一对夫妇的按钮,在最上面看起来就像VCR的按钮:发挥,停止和暂停。 If the Play button is greyed out, that means the FTP server is active.如果播放按钮是灰色,指的FTP服务器是活跃。 Your FTP server is now up and running!你的FTP服务器是现在启动和运行! You can actually connect to it via your FTP client software.你真正可以连接它通过你的FTP客户端软件。 I use Smart FTP, but you can use whatever you like best.我用智能FTP的,但你可以用你最喜欢的。
Open your FTP client software and type in localhost as the host name and choose Anonymous for the login.打开你的FTP客户端软件和类型,在本地主机作为主机名称,并选择无名氏为登录。 Connect and you should now see an empty folder.连接和你现在应该看到一个空的文件夹。
Ok, so that’s step 1!好吧,我们就这样说的第1步! Now where the heck is this folder that you are currently viewing?现在那里heck是这个文件夹,你现在观看? Well the default FTP site is actually located in C:\Inetpub\ftproot .以及默认FTP站点实际上是设在C : \ inetpub \ ftproot 。 Open this directory and dump some files into it.打开这个目录和泥头部分档案进行调查。
Now refresh on your FTP client and you should now see your files listed!现在刷新你的FTP客户端和你现在应该看到你的档案上市!
So you now have an up and running FTP server on your local computer.所以你现在有一个启动和运行FTP服务器在您的本地计算机上。 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.之前,我向您展示如何,你可以创建单独的文件夹都存放在不同目录以外的默认inetpub文件夹,让我们第一次连接到我们的FTP伺服器从另一个网络中的计算机。
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.为了做到这一点,您都必须打开Windows防火墙,以允许FTP连接到您的计算机,否则所有外部计算机将被封锁。 You can do this by going to Start , Control Panel and then clicking on Windows Firewall .你可以做到这一点,就会开始 , 控制面板 ,然后点击Windows防火墙 。 Click on the Advanced Tab.点击高级标签。
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服务器,我们要检查的小康FTP服务器 。
A little popup window will appear with some settings that you can change, just leave it as it is and click OK.小弹出窗口中会出现一些设置,你可以改变,刚刚离开,因为它是和点击OK 。 Click OK again at the main Windows Firewall window.单击确定再次在主Windows防火墙窗口。 You have now opened up the firewall for FTP connections.现在你打开了防火墙,为FTP连接。 Now try to connect to your FTP site from a different computer on your network.现在尝试连接到您的FTP网站,从不同的电脑上你的网络。 You’ll need to get the IP address of the computer first before you can connect into it from a different computer.你将需要获得IP地址的电脑先你可以连接到它从一个不同的电脑。
Go to Start , click Run and type in CMD .去开始 ,单击运行 ,并键入CMD公司 。 Type IPCONFIG and jot down the number for IP Address:类型ipconfig ,并记下电话号码IP地址:
In your FTP client on the other computer, type in the IP Address you just wrote down and connect anonymously.在你的FTP客户端对其他计算机,输入IP地址,你刚才写下,并接连匿名的。 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.你现在应该能够看到你的全部档案,就好像你对FTP客户端,这是对本地电脑。
Now that the FTP site is working, you can create as many folders as you like for FTP purposes.现在该FTP站点是工作,你可以建立多个文件夹,如你所愿实现FTP的目的。 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 .早在非法入境者,右击默认FTP站点,并选择新的 ,然后在虚拟目录 。
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.提出的是一些简单实用的" worddocs "或" freemovies "等。
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.因此,如果你有一大堆的电影,你想分享,浏览到该文件夹中。
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.如果你希望人们能够将文件上载到你的计算机中,选择阅读和写字。
Click Next and then click Finish!点击下一步,然后按一下完成! Now you’ll see your new virtual directory below the default FTP site.现在,你会看到你的新的虚拟目录下面的默认FTP站点。 You can connect to you using your FTP client by putting in the Path field “/Test” or “/NameOfFolder”.你可以连接到你用你的FTP客户端放到该路径场" /测试"或" / nameoffolder " 。
Now you’ll only see the files that are in the folder we had browsed to.现在您只看到档案是在文件夹中,我们曾浏览。
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.只是其他的东西,你所需要做的是给了你的公共IP地址给任何人,他们是连接外,从你的内部网络。 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如果你想要用户能够从任何地点连接,在世界上,你必须给他们上你的公共IP地址,你可以看看去 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.最后,你需要把它前进的FTP端口,你的路由器到您的本地计算机是主办FTP服务器。 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: Technorati标记: setup ftp server设置FTP伺服器 , , setup ftp server iis设置FTP伺服器的非法入境者 , , setup windows FTP server安装的Windows FTP伺服器 , , windows xp ftp server Windows XP的FTP伺服器 , , configure ftp server配置FTP服务器 , , how to ftp server如何FTP伺服器
If you enjoyed this post, make sure you 如果你喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 ! !
» Filed Under »提起下 Computer Tips电脑窍门
Related Posts相关职位
- How to detect computer & email monitoring or spying software如何检测电脑与电子邮件的监测或间谍软体
- How to create a Windows XP hidden folder share如何创造一个Windows XP的隐藏共享文件夹
- How to create your own Windows file sharing server to share large files如何创建自己的Windows文件共享服务器共享大型文件
- How to turn your computer into a streaming media player如何把你的电脑变成流媒体播放器
- How to setup Remote Desktop on Windows XP如何设置远程桌面上的Windows XP
























