Uploading Files for Your Web Page

In our workshop, we've done all of our editing in Unix using the Pico editor. We could just as well have used our favorite word processors on our desktop computers. For longer HTML documents, it often makes more sense to use a word processor than to use Pico, which is a fairly limited program after all. In addition, many of us have already created materials that we would like to add to our web; for example, papers and CVs. If we want to make these files accessible to the World Wide Web, it is necessary to upload them to our WWW directories.

Here are instructions for uploading files to your account.

Uploading a Small Text From a Macintosh or Windows Machine

If you're uploading a small file, you can simply copy all of the text in your file to your clipboard and paste it into a pico document. Otherwise, you'll need to upload the file by following the steps below.

Basic Steps for Uploading Files

To upload a file from your desktop computer, you will do the following:
  1. Look over your file. Mark up anything that requires special formatting.
  2. Save your file under a new name as plain ASCII text. e.g., "text only" in Microsoft Word or "ASCII (DOS) Text" in WordPerfect.
  3. Use a communications program to upload the file to the WWW directory in your mail account; e.g., "Fetch" on Macintosh or "WFTP" on Windows.
  4. If necessary, change the permissions for the file so that everyone can read it.
Below are some specific ways of accomplishing these steps on various desktop computers.

Step 2 for MicroSoft Word (for Macintosh or Windows)

Let's assume you have a document named "paper" open in Microsoft Word. Go to the File menu and choose Save As. When the dialog opens, give it a new name, like "paper.txt". At the bottom of the dialog window, you'll see a pop-up menu called "Save File as Type": choose the file type "Text Only with Linebreaks." Click on the Save or OK button to save the file.

Step 2 for WordPerfect 6.0 (for Windows)

Let's assume you have a document named "paper" open in WordPerfect. Go to the File menu and choose Save As. When the dialog opens, give it a new name, like "paper.txt". At the bottom of the dialog window, you'll see a pop-up menu called "Save File as Type": choose the file type "ASCII (DOS) Text." Click on the OK button to save the file.

Step 2 for WordPerfect 5.1 (for DOS)

Let's assume you have a document named "paper" open in WordPerfect. Press Control-F5. You'll see menu items at the bottom of the screen. Choose "1. DOS Text" and then "1. Save". Give the file a new name, like "paper.txt".

Step 3 for a Macintosh Connected to Ethernet or Running MacSLIP

Use the Fetch program. Start the program. Fill in the blanks with the name of the machine (for example, mail.sas.upenn.edu), your login name, and your password. You will see the files in your account. Click on the Put button, and then Open your file. Fetch will then give you an opportunity to rename your file. Use a short name (with no blanks) because you will have to type it in again in a moment.

Step 3 for a Windows Machine Connected to Ethernet or Running PPP

Use an FTP program like WFTP. Start the program. If you don't see the name of your mail machine (e.g. mail.sas.upenn.edu), you may have to choose New from the Session menu. Fill in the blanks with the name of the mail machine, your login name, and your password. Then click on the Connect button, and the program will connect to your account. You will see the files in your (remote) account to the right and the files on your (local) machine to the left. Select your file from the left side (perhaps changing directories) and click on the >>Copy>> button. WFTP will then give you an opportunity to rename your file.

Step 3 for a Computer Using an Ordinary Communications Program on a Modem

Start the program and log on to your email account. Find Kermserve on your menu. Follow the instructions.

Or go to the unix prompt (the "shell") and type "kermit". Then type "put" and the name of the file. You'll be asked to escape back to your local program to start kermit there. Start a kermit file transfer from your communications program. Watch the file being sent.

Step 4

Log on to your account, and use the unix command cd to move to your WWW area. Then, if necessary, use the command chmod 644 filename (where filename is the name of the file you uploaded). This command will allow everyone to read the file, but only you will be able to change it.


Return to home page workshop

Last Modified: March 21, 1995

If you have suggestions for this web, please forward them to:

JavaScript is required to view this email address