About usContact usSite help
Quick links
Search this site

FTP Session


Connect to the Internet

Connect to the Internet in your normal way - you must be connected to continue.

Open an FTP session

Just type ftp at the prompt of your terminal screen. Windows95 users need to do this from the MS-DOS Prompt, KA9Q users from the "net>" prompt, Unix users from the "$" prompt etc. (You may need to click on an FTP icon or open a prompt box to allow you to start typing.)

Connect to the server

You now need to open an FTP connection to the Homepage server. Type: open homepages.demon.co.uk

This could be combined with the previous step by just typing ftp homepages.demon.co.uk

Log in

At the Name: prompt type your hostname. You will then be prompted with password:. This must be the password you set up on your account, which you will have chosen the first time you connected to Demon.

You should see a welcome message, confirmation that you are logged in and an indication of your space usage. If you see "Access denied" or "Login incorrect" and are returned to ftp> just type:

user[hostname]

to try again.

Choose the transfer mode

The HTML files your Web pages are written in, or any other text based files, should be transferred as ASCII text. To choose this transfer mode, type:

asc

Graphics files such as JPEGs and GIFs, should be transferred as Binary or Raw. Similarly ZIP or Stuffit compressed files should be transferred as binary. To choose binary transfer mode, type:

bin

You may also like to see the progress of your file transfers. To get a "#"symbol indicator, type:

hash

Transfer the files

To start uploading your files, you need to make sure you are in the correct local directory if you did not start your FTP from it. This is just the directory on your machine where the files are. To change this local directory, you should type:

lcd [dirname]

where "dirname" is the directory name. When you are ready to put a file onto the server, type:

put filename

For example, to put the first page (index.shtml) onto your site you would type "put index.shtml". The file should then be copied across, and you should see a message confirming that the transfer is complete. You can also rename a file by supplying a remote filename:

put localfilename remotefilename

This is useful to transfer "index.htm" as "index.shtml",for instance.

To send multiple files you can use the mput command. For example typing

mput *.shtml

would transfer all the .shtml files in the current local directory to the Homepages web server.

Check the pages

You can get a listing of the contents of your Homepage's directory by using the ls command. You can also check that the pages work using your Web Browser: just type in the page's address http://www.hostname.demon.co.uk/filename.shtml to view the page. You can disconnect from the Homepages server by typing quit.

NB. Your Web site is not created until some time after your first login, so do not be alarmed if your Web Browser cannot find it the first time. The site should be visible with your Browser within about 12 hours of your first FTP access, and updates will be immediately accessible thereafter.




2007 Enhancements

*

General Information

*


More Help





*