| Checking FTP is working |
|
|
About FTPHere are the stages for using standard ftp to load your pages onto the server. You will need you account detail letter to hand to complete this process.
Connect to the Internet
Open an FTP session
Connect to the server
Log inAt the Name: prompt type your username. You will then be prompted for the password. You should see a welcome message, confirmation that you are logged in . 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 check that the pages work using your Web Browser: just type in the page's address http://your_domain_name/index.html to view the site. |
| < Prev |
|---|
| 2020Media.com Blog |
|





