|
Home
FTP Session
Connect to the InternetConnect to the Internet in your normal way - you must be connected to continue. Open an FTP sessionJust 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 serverYou now need to open an FTP connection to the Homepage server. Type: open homepages.demon.co.uk Log inAt 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: Choose the transfer modeThe 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: 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: You may also like to see the progress of your file transfers. To get a "#"symbol indicator, type: Transfer the filesTo 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: where "dirname" is the directory name. When you are ready to put a file onto the server, type: 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: 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 would transfer all the .shtml files in the current local directory to the Homepages web server. Check the pagesYou 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
|
©Copyright 2008 THUS
|