How to setup an FTP server in Windows using IIS Cómo configurar un servidor FTP en Windows usando IIS

Posted on February 19, 2008 at 6:56 am Publicado el 19 de febrero de 2008 a 6:56 am

Earlier, I had written a post on Antes, me había escrito un mensaje en how to turn your computer into a Windows file sharing server Cómo convertir tu ordenador en un servidor de uso compartido de archivos de Windows using a program called HFS. Utilizando un programa llamado 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 estás buscando una forma rápida de compartir los archivos en su computadora local con los amigos o la familia, esta es una manera fácil de hacerlo.

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. Sin embargo, si estás buscando a la configuración de su propio servidor de FTP usando IIS en Windows, puede hacerlo, pero requiere más conocimientos técnicos. 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. Por supuesto, también le da a su más control granular sobre el intercambio y la seguridad, por lo que es mejor para cualquier persona que tenga un poco de conocimientos técnicos informáticos.

How to setup and configure an FTP server in IIS Cómo instalar y configurar un servidor FTP en 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. Lo primero que tendrás que configurar tu propio servidor FTP en Windows es para asegurarse de que tiene Internet Information Services (IIS) instalado. Remember, this only comes with Windows XP Professional or Windows Vista Business or higher. Recuerde, esto sólo viene con Windows XP Professional o Windows Vista Business o superior.

Click on Start , Control Panel and go to Add/Remove Programs . Haga clic en Inicio, Panel de control y vaya a Agregar o quitar programas. Then click on Add/Remove Windows Components . A continuación, haga clic en Agregar o quitar componentes de Windows.

Agregar quitar programas

In the components wizard, scroll down until you see IIS in the list and check it off. En el asistente de componentes, desplácese hacia abajo hasta que vea IIS en la lista y compruebe que retirarse. Before you click Next though, make sure you click on Details and then check off File Transfer Protocol (FTP) Service . Antes de que usted haga clic en Siguiente sin embargo, asegúrese de hacer clic en Detalles y, a continuación, comprobar Protocolo de transferencia de archivos (FTP) de servicios.

IIS

Protocolo de transferencia de archivos

Click OK and then click Next . Haga clic en Aceptar y, a continuación, haga clic en Siguiente. Windows will go ahead and install the necessary IIS files along with the FTP service. Windows se encargará de instalar los archivos necesarios IIS junto con el servicio de FTP. You may be asked to insert your Windows XP or Windows Vista disk at this point. Se le puede pedir que introduzca su Windows XP o Windows Vista disco en este momento.

Setup and configure IIS for FTP Instalar y configurar IIS para FTP

Once IIS has been installed, you may have to restart your computer. Una vez que se ha instalado IIS, es posible que deba reiniciar el equipo. Now we want to go ahead and open the IIS configuration panel to setup our FTP server. Ahora queremos seguir adelante y abrir el panel de configuración de IIS para configurar nuestro servidor FTP. So go to Start , then Control Panel and click on Administrative Tools . Así que ir a Inicio, Panel de control y haga clic en Herramientas administrativas. You should now see an icon for Internet Information Services . Ahora debe ver un icono para Internet Information Services.

IIS [6]

When you open IIS for the first time, you’ll only see your computer name in the left hand menu. Al abrir IIS por primera vez, sólo verá su nombre del ordenador en el menú de la izquierda. 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. Vaya por delante y haga clic en el símbolo + al lado del nombre del equipo y verás un par de opciones como los sitios Web, los sitios FTP, etc Estamos interesados en sitios FTP, de modo que se amplíe también. You should see Default FTP Site , click on it. Debería ver por defecto del sitio FTP, haga clic sobre él.

Sitio 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. Se dará cuenta después de hacer clic en el sitio FTP por defecto que hay un par de botones en la parte superior que parecen botones VCR: Play, Stop, Pause y. If the Play button is greyed out, that means the FTP server is active. Si el botón de reproducción es un poco difuso, significa que el servidor FTP está activo. Your FTP server is now up and running! Su servidor FTP está en marcha y funcionando! You can actually connect to it via your FTP client software. Usted puede conectarse a él a través de su software de cliente FTP. I use Smart FTP, but you can use whatever you like best. Yo uso Smart FTP, pero puede usar lo que usted tiene gusto mejor.

Open your FTP client software and type in localhost as the host name and choose Anonymous for the login. Abra su cliente FTP y el tipo de software en localhost como el nombre del host y elegir Anónimo para el inicio de sesión. Connect and you should now see an empty folder. Conectar y verás que una carpeta vacía.

Localhost

Ok, so that’s step 1! Ok, de modo que el paso 1! Now where the heck is this folder that you are currently viewing? Ahora donde diablos es que esta carpeta que está viendo actualmente? Well the default FTP site is actually located in C:\Inetpub\ftproot . Bueno el sitio FTP por defecto es, en realidad, ubicado en C: \ Inetpub \ ftproot. Open this directory and dump some files into it. Abrir este directorio y algunos ficheros de volcado en ella.

Archivos FTP

Now refresh on your FTP client and you should now see your files listed! Ahora refrescar en tu cliente FTP y verás que tus archivos de la lista!

Sitios FTP

So you now have an up and running FTP server on your local computer. Así que ahora tiene una marcha y funcionando un servidor FTP en su computadora 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. Antes de mostrarte cómo puede crear distintas carpetas que se almacenan en un directorio diferente que no sea el Inetpub carpeta por defecto, vamos a conectar a nuestro servidor FTP de otro ordenador en la red.

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. Para ello, tendrá que abrir el Firewall de Windows para permitir conexiones de FTP a su ordenador, de lo contrario todos los ordenadores externos será bloqueada. You can do this by going to Start , Control Panel and then clicking on Windows Firewall . Puede hacerlo yendo a Inicio, Panel de control y, a continuación, haga clic en Firewall de Windows. Click on the Advanced Tab. Haga clic en la ficha "Advanced".

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. En virtud de la sección Configuración de conexión de red, asegúrese de que todas las conexiones se comprueban en la lista de la izquierda y, a continuación, haga clic en el botón Configuración. You’ll now be able to open certain ports on your computer based on the service your computer is providing. Ahora podrá abrir determinados puertos en el equipo basado en el servicio de su computadora está proporcionando. Since we are hosting our own FTP server, we want to check off FTP Server . Desde que acogen nuestro propio servidor FTP, queremos marcar servidor FTP.

Servicios FTP

A little popup window will appear with some settings that you can change, just leave it as it is and click OK. Una pequeña ventana aparecerá con algunos ajustes que usted puede cambiar, deje como está y haga clic en Aceptar. Click OK again at the main Windows Firewall window. Haga clic en Aceptar de nuevo en la ventana principal de Windows. You have now opened up the firewall for FTP connections. Ya ha abierto el firewall para conexiones FTP. Now try to connect to your FTP site from a different computer on your network. Ahora intenta conectarse a su sitio FTP desde otra computadora en su red. You’ll need to get the IP address of the computer first before you can connect into it from a different computer. Para ello, deberá obtener la dirección IP de la computadora antes de que pueda conectarse a ella desde otra computadora.

Go to Start , click Run and type in CMD . Vaya a Inicio, haga clic en Ejecutar y escriba CMD. Type IPCONFIG and jot down the number for IP Address: Tipo IPCONFIG y anotar el número de dirección IP:

Dirección IP

In your FTP client on the other computer, type in the IP Address you just wrote down and connect anonymously. En su cliente FTP en el otro ordenador, en el tipo de dirección IP que acaba de escrito y conectarse de forma anónima. 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. Ahora debe ser capaz de ver todos los archivos, como hizo en el cliente FTP que estaba en la computadora local.

Now that the FTP site is working, you can create as many folders as you like for FTP purposes. Ahora que el sitio FTP está trabajando, usted puede crear tantas carpetas como desee para FTP. In this way, when a user connects, they specify a path that will connect to one specific folder. De esta manera, cuando un usuario se conecta, de manera precisa un camino que se conectará a una carpeta específica.

Back in IIS, right click on Default FTP Site and choose New , and then Virtual Directory . Ya en IIS, haga clic derecho sobre FTP por defecto del sitio y elija Nueva y, a continuación, Directorio Virtual.

Directorio virtual

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. Al crear un directorio virtual en IIS, que está básicamente va a crear un alias que apunta a una carpeta en el disco duro local. So in the wizard, the first thing you’ll be asked is for a alias name. Así que en el asistente, lo primero que van a pedir es para un perfil de éste. Make is something simple and useful like “WordDocs” or “FreeMovies”, etc. Hacer es algo simple y útil como "WordDocs" o "FreeMovies", etc

Directorio virtual alias

Click Next and now browse to the path where you want the alias to refer to. Haga clic en Siguiente y en la actualidad busca la ruta donde desea que el alias para referirse a. So if you have a bunch of movies you want to share, browse to that folder. Así que si usted tiene un montón de películas que deseas compartir, navegar a la carpeta.

Servidor FTP

Click Next and choose whether you want it as Read access only or Read and Write access. Haga clic en Siguiente y seleccione si desea que sólo como acceso de lectura o de Leer y Escribir de acceso. If you simply want to share files, check Read. Si simplemente quieres compartir archivos, verifique Leer. If you want people to be able to upload files to your computer, choose Read and Write. Si desea que la gente sea capaz de cargar archivos a su ordenador, seleccione Leer y Escribir.

Leer escribir

Click Next and then click Finish! Haga clic en Siguiente y, a continuación, haga clic en Finalizar! Now you’ll see your new virtual directory below the default FTP site. Ahora podrá ver su nuevo directorio virtual predeterminado por debajo del sitio FTP. You can connect to you using your FTP client by putting in the Path field “/Test” or “/NameOfFolder”. Usted puede ponerse en contacto con usted a través de su cliente FTP, poniendo en el campo Ruta "/ Test" o "/ NameOfFolder".

Conexión FTP

Now you’ll only see the files that are in the folder we had browsed to. Ahora sólo verá los archivos que se encuentran en la carpeta que habíamos paseado.

Anonymouse

And that’s about it! Y eso es todo! You can create as many folder as you like! Puede crear tantas carpetas como desee! 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 única cosa otra cosa que usted tendría que hacer es dar a conocer su dirección IP pública a todo el que se conecta desde fuera de su red interna. 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 desea que los usuarios conectarse desde cualquier lugar del mundo, tendrá que darle su dirección IP pública, que puede encontrar a cabo por ir a 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. Por último, deberá remitir el puerto de FTP en tu router al equipo local que acoge el servidor FTP. Port Forward Puerto Adelante is a great site to show you how to forward ports on your router to computers on your home network. Es un gran sitio para mostrarle cómo avanzar puertos en tu router a los ordenadores de su red doméstica.

Any questions, post a comment! Todas las preguntas, publica un comentario! Enjoy! Disfrute!

Technorati Tags: Technorati Tags: , , , , ,

If you enjoyed this post, make sure you Si disfrutan de esta entrada, asegúrese de que subscribe to my RSS feed Suscribirse a mi feed RSS ! !

» Filed Under »En virtud de la Presentación Computer Tips Computer Tips

Related Posts Puestos relacionados

Please post your comments/suggestions! Por favor envie sus comentarios o sugerencias!