Fog Creek Software
Fog Creek Software

CityDesk 2.0-Documentation
Publishing to an FTP location

When you publish to an FTP server, you need to provide the following information.

In the FTP Server tab:

*  In the FTP Server box, type the name of the server, for example, ftp.mycompany.com. You can also use an IP address like 192.168.0.1.

To log on as user anonymous, password guest:

*  Check the Anonymous box.

Note: Most FTP servers are not set up to accept uploads from anonymous users.

To log on using a username and password supplied by the FTP server's administrator:

*  Type a username in the Username box.

If you want the password to be stored in your CityDesk file, which is not secure (anybody with access to the file can find out the password):

*  Check the Store Password radio button.

*  Type the password in the Password box.

If you leave the Ask for password radio button checked, CityDesk will ask you for the FTP server password every time you try to publish to this location.

If you need to publish the files in a subdirectory:

*  Type the subdirectory in the Subdirectory box.

*  Type the URL of the site in the URL for Preview box, that is, the URL where your files will show up after they have been copied to the server.

After you publish to this location, a web browser button will appear that takes you to this URL to see the files over the web.

*  Most FTP servers use port 21. If yours uses a different port, specify that in the Port box.

If you are behind a firewall, for example, on a corporate network, you may notice that CityDesk appears to hang or fails outright when it tries to transfer files to an FTP server. This is because the FTP protocol normally requires the FTP server to connect to your computer to copy files. The problem occurs when the server tries to reach your computer and is blocked by the firewall.

This problem can be fixed by checking the Passive mode checkbox. When this box is checked, CityDesk negotiates with the FTP server so that your computer connects to the server to copy files instead of the other way around.

Example

Suppose you want to upload your files to a server named ftp.isp.com, where your username is barrista and your password is javajoe. The files should be stored in a subdirectory called public_html. After the files have been uploaded, you will view them at http://mydomain.com. You are not behind a firewall so you don't need passive FTP. You would fill in the dialog as follows:

FTP Example

CityDesk Documentation -  Home


©Copyright 2001-2003 Fog Creek Software, Inc. All Rights Reserved.