Welcome to ITM Web100 Training Program


Lesson 2

 

FTP

What is FTP

FTP or File Transfer Protocol, handles the transfer of files from Desktop to the Server and vice-versa.

FTP (File Transfer Protocol)

FTP allows you to send files to a remote server or computer  ---->  upload
FTP allows you to get files from a remote server or computer ----->  download

FTP from Dos Prompt

WS FTP is a shareware GUI Tool

 

Accessing Servers with FTP

ftp itmusa.net

Name : <user id>

Password: <Your Password>

Necessary FTP Commands:

ls will show you files in your directory, its like a "Dir" of DOS
pwd will show your current directory
put<file name> will allow you to transfer a file from your PC to the server
mput * will transfer many files from your PC to the server
get <file name> will receive a file from the server
mget * will receive many files from the server
binary for perfect results, this command must be used prior to transferring any binary files
prompt when transferring many files from or to server, ftp will be normally prompt for confirmation. You can turn this off with prompt command. Prompt command works like a switch. Using this command, you can turn prompt on or off.

 

 

Web Site Development

Creating Simple HTML Pages and Publishing the same on the web

 

Creating a Basic HTML page

<HTML>

<HEAD><TITLE>First Page</TITLE></HEAD>

<BODY>

<H1> This is a test </H1>

</BODY>

</HTML>

 

Testing the HTML Code

use Netscape or Internet Explorer

<File> <openFile in Browser>

open the file

behaves as if on web

 

Posting it to the server

Save the file as .htm or .html

ftp the file to the server under your user id (you will be logged into your publishing/root directory)

 

Testing it on the Internet/Intranet

WWW Netscape or IE Explorer

index.html or index.htm or default.htm will be used depending on the server configuration.

If the right file is missing, the directory index (listing) may appear in the web browser.

your graphic files,  if any,  must also be in the same directory or in a specified path.

 

 

Lab 2 :       Build a HTML Page

Testing the page locally

FTP to the server

Test the same on Internet/Intranet

 



If you have any questions, please email [email protected]
.

Copyright © 1999 ITM ,NJ,USA