FTP...

Introduction to the Internet and the World Wide Web
return to David's facutly home page - Now Featuring

Downloading and Uploading Files


Sometimes you need to move files from one computer to another.

A common way and perhaps the easiest and simplest way to transfer files from one desktop computer to another was via the "sneaker net" - walking a diskette between machines.

Transferring Files can be done by:

  • sneaker net via portable storage devices (give examples)
  • The Internt via modem or DSL using telephone lines, satellite and other ethernet conncetions
  • Lan via ethernet connections and cable
  • serial connection via cable between machines

Browsers are designed to download html files (file types identified by the extension htm or html)' Html is built to format text with tags and activate commands to find other files by using hypertext links.The browser uses HTTP - hypertext transfer protocol to give a command to the server to find a file when you click on the linked text (hyperetext). The bowser uses TCP/IP layer - Transmission Control Protocol/Internet Protocol - to send the command to the server. The browser recieves the file and then opens and displays it in the browser's window.

You can also download files using your browsers built-in FTP capabilty by going to server directly by typing in a IP address.
see below

You can find and download a true FTP software program using the browser. However, the browser can't handle other tasks well a the true FTP software, such as:

  • all downloading tasks such as large files
  • nor can it handle uploading tasks, a function you will perform often when building and maintaining a website
  • nor can it handle file and directory management tasks.

Using the browser to download webpages and other small files is not the same as using FTP (file transfer protocol), which uses a different sending and receiving protocol for uploading and downloading files without opening them and reading them. FTP software allows you to view and manupulate files on both the client machine directory and the server directory. It is a remote file management system.

What are FTP Clients? - FTP clients are applets or software programs that allow file transfer from one computer to another. There are two general types:

  • FTP Software - full functions and features
  • Bundled - limited fucntions and features (included with Dreamweaver for example)

FTP clients are similar to e-mail clients in the fact that they can either be bundled with a web browser or other software or they can be a stand-alone programs. And, also like e-mail clients, the FTP clients bundled with web browsers are sufficient for most downloading needs, but stand-alone FTP clients usually offer more and better features.

The main function of FTP clients, however, whether they are bundled or are a separate program, is to transfer files to and from computers connected to the internet, manage them in the directories and do so powerfully and quickly, whther the files are large of small in size.

FTP

FTP is a network protocol. It also refers to the method by which we transfer data and program files between computers on the Internet. We refer to computers configured to accept FTP requests as FTP servers. These servers store a tremendous amount of information, and can be available to anyone on the Internet using FTP.

A common way and perhaps the easiest and simplest way to transfer files from one desktop computer to another was via the "sneaker net" - walking a diskette between machines.

Transferring Files can be done by:

  • sneaker net via portable storage devices (give examples)
  • The Internt via modem or DSL using telephone lines, satellite and other ethernet conncetions
  • Lan via ethernet connections and cable
  • serial connection via cable between machines

For Windows machines we use WS_FTP or Core FTP. For Mac's we use a program called Fetch.

http://www.coreftp.com/

http://www.wsftp.com/Products/WS_FTP/home/index.html

http://www.apple.com/macosx/features/safari/

Each FTP program has its own interface, some more intuitive and user-friendly than others. After starting, the first thing they require is an FTP server with which the file transfer is to occur. The IP address or domain name identify the server to the program. Depending on the server, it might also require a user identification code and password. Some programs can store a list of regular or favorite servers, including the user identification code and password required for server access.

After the user enters a specific FTP server name or address, the FTP program attempts to connect to the server. Until the program establishes a connection with the FTP server, file transfers cannot take place. When the connection is successful, the FTP program displays its main file transfer screen.

WSftp/CORE Directions (ScreenShots)

Directories and Files

Most FTP servers run under the UNIX operating system. UNIX uses hierarchical file storage similar to both PC and Macintosh computers.

Directories can hold both files and subdirectories. Accessing a specific file involves knowing all of the directories in the path from the top or root directory down to the file.

To receive a file from an FTP server, we need:

  • the server's IP address or domain name,
  • the name of the directory in which the file is located,
  • the name of the file itself.

The server address is text that can be typed into either:

  • a browser window or
  • followed as paths using the specific FTP client sofware such as Core, Fetch or WS_FTP.

The examples below specify all of the necessary information for a user to find a file on an FTP server: the server's name (ftp.csra.net), the directory path (/pub/win3), and the filename (ws_ftp.zip).

Using the domain name:
ftp://ftp.ipswitch.com/
ftp.lucasarts.com
ftp.irs.gov

Using the IP Address: 204.71.8.21/pub/win3/ws_ftp.zip

   What is an FTP address?

Files on FTP servers have URLs just the same way that web pages do. These FTP addresses function in exactly the same way, and that is to let users find particular files on servers connected to the internet. Here is what an FTP address looks like:

ftp://www.netscape.com/public/browsers/communicator.hqx

Notice that it looks almost identical to a web address. In fact, the only practical difference is the first three letters. Here is what an FTP address means:


ftp:// indicates that the file you are searching for is an FTP file.

bullet www.netscape.com indicates the domain name of the server where the file is located.

bullet /public/browsers/ indicates the path to the directory where the particular file you are looking for is located.

bullet communicator.hqx is the actual file that you are going to download. Notice that the suffix for the file is .hqx instead of .html. This indicates the file is not a web page but a software program, in this case a Macintosh program that has been compressed with BinHex encoding.

source: http://avconline.avc.edu/avcoll/ftpwhat.html

 

Common FTP-related directory names include pub, mirrors, uploads, and incoming. The most commonly used directory for files on an FTP server is the pub directory. Under it are stored the many subdirectories and files for public use.

Downloading software Files

Many software files are free: browsers, FTP clients, email clients, adware & spyware, clever or cute accessories and so on. Try some of the ones at CNet.

http://www.download.com/

Bus 189 - Using an FTP client (software) to upload your HTML files to a Webpage server

For this class, we will use a FTP client called CORE, the HTML server called webhawks, and a directory for your files called public_html.

We will upload our website files to the server and be able to view them through any browser connceted to the Internet, anywhere.In other words, your website will be published on the Internet...but almost no one will know it is there or what the URL is to view it because the world hasn't heard about it.

Class Demo

These instructions will help you configure and use acampus computer or any computer that has CORE installed on it.to upload your website plan files.

Site Name = webhawks

Host/IP/URL = webhawks.org

User Name = bus189 +first 6 letters of last name + first 2 letters of first, for example bus189ambrosda for me

Password = your password +last 4 digits of your student ID, for example cough2435 for me

Check Box = ssh

Remote Folder = public_html

URL = http://webhawks/~bus189ambrosda

 

For a more detailed lesson see,

The Internet and FTP - An Introductory Lesson
By Tim McLellan

original lesson

local lesson

Notes to self:
FTP website to server, File and folder Management, File name versus page names, file extensions, WS_FTP, transporting from computer to disk to computer, etc?