• Sales: 1-800-961-2888
  • Support: 1-800-961-4454

Rackspace Cloud Essentials - Creating an FTP Site in IIS 7.0


If you are using a Windows server and you only need to upload a few small files from your local machine, you can copy them to your clip board and use Local Resources to paste them to your Windows Cloud Server.   If you have more files than you can easily transfer through the clipboard, you may have to use FTP instead. This article will show you how to create an FTP site in IIS 7.0. We will create and test an anonymous FTP site as well as.

Creating an FTP Site in IIS 7.0

We will first create an anonymous FTP site in IIS 7.0.  Anonymous sites are useful for distributing files publicly, since they don't require any kind of login or security.  This is not recommended in the Cloud environment and is shown here only for demonstration purposes.

  • Click Start - Administrative Tools - Internet Information Services (IIS) Manager

IIS7Manager.png

 

  • Right click on Sites - Add FTP Site (Or click Add FTP Site in the Actions pane)

 

AddFTPSite.png

 

  • Add an FTP site name and location for the files.   You can choose a pre-existing location or create a new directory by typing it in the Physical path:   This one is called MyFTPSite, but you can choose any physical path you'd like.  Click Next.

AddFTPSite2.png

 

  • On the next page, choose an IP address or leave as default (All Unassigned), check Start FTP site automatically, select Allow SSL, and click Next.

AddFTPSite3.png

 

  • Check Anonymous Authentication, Allow access to Anonymous users, check Read permissions only, and click Finish.

AddFTPSite4.png

 

  • Make sure you can see your newly created FTP site from the IIS Manager

 

  • Right click on the FTP site and click Explore - Right click New - Folder.  Once you've created the new folder, you will need to load some content to your folder. 

AddFTPSite5.png

  • In this exmple, we've created a test document in notepad and dragged in to this folder.

AddFTPSite6.png

AddFTPSite7.png

 

  • To test out your newly created FTP site, (from outside your server) point to ftp://ipaddress from Windows Explorer, or any other FTP client you prefer (please make sure it supports passive FTP connections).  Make sure you can browse your FTP site and read the document you've created.  Since we only set up Anonymous access, you won't be able to upload content to your site.

AddFTPSite8.png

  • If you are unable to access your site, this is most likely due to Windows Firewall settings. To fix this, run the following commands via the command line:

netsh advfirewall firewall add rule name="FTP (no SSL)" action=allow protocol=TCP dir=in localport=21

netsh advfirewall set global StatefulFtp enable

 

FTP Site Security

So far we have created an FTP site with anyonymous authentication - while this is great for a public download site, there isn't much in the way of security.  In this next section we will add additional security to our FTP site.  This requires creating a user and granting them read and write permissions.

 

  • In IIS 7.0 Manager, select your new site - double click FTP Authentication

 

FTPAuth.png

 

  • Right click Basic Authentication and select Enable

 

FTPAuth2.png

 

  • Click back on your Site in the left hand pane and double click FTP Authorization Rules

 

FTPAuth3.png

 

  • Click Add Allow Rule in the Actions pane
  • Under Add Allow Authorization Rule select Specified Users and add a local username (make sure this user has appropriate permissions on your target FTP folder) - Select Read and Write under Permissions

 

FTPAuth4.png

 

  • When prompted, enter the appropriate username and password

 

FTPAuth5.png

 

  • You should now be logged in to your site. From here, upload a file to the new folder you created earlier. If you can do that you have successfully installed, created and secured your FTP site.

 

These are the basics of file transfer to Linux and Windows servers, though there are many options out there such as using 3rd party GUI clients in Windows.  With your content uploaded, you canplug it in to your web applications.  Once you are satisfied that your site is ready for prime time, you will want to make any necessary adjustments to your Domain Name Service (DNS).  The last guide for the First 48 hour Essentials will answer common DNS questions, show you how to add DNS records in the Control Panel, and validate the DNS propagation with testing.

 

 

 

On to Guide 6 - DNS & Domain Management

Back to the First 48 Guide Page

 







© 2011-2013 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License


See license specifics and DISCLAIMER