These instructions assume your server is named oscar.ctc.edu and that the files you want to upload are located in C:\tmp on your local pc. Oscar is case sensitive: upper and lower case are different.

Process overview of how to upload web pages to a server computer

  1. In C:\tmp on your local pc, create a web page file using note pad
    or create an image (a jpg or gif) file with an art tool or obtain a public domain image
  2. Test the files on your pc by opening them with a browser such as Netscape.
  3. Transfer the file(s) to oscar.ctc.edu using ftp in binary mode.
  4. Ensure that the files have the proper read permissions using telnet, and chmod 644 on the server.
  5. Test the files by viewing their URL with a browser such as Netscape or Internet Explorer.
  6. Repeat as needed
Follow these 8 instructions only ONCE, the first time you use your account :
  1. Write a new password in your notebook and enter it when requested (twice) at step 6 below.
  2. Start MS-DOS; At the Prompt (C:\) Type telnet oscar.ctc.edu
  3. Type in your login name at the prompt. Type in your pre-defined (first4_lastname+last4_id#) password.
  4. Type your pre-defined password again when asked for the old password. 
  5. Type your new password (the new one your wrote in your notebook) when prompted (twice).
  6. Type mkdir web-docs to create the required folder. All your files and folders must go in this folder.
  7. Type chmod 755 web-docs to set the proper permission for the directory.
  8. If you complete this properly you should not do it again. Do not create any more subdirectories named web-docs.

AFTER  you complete the first time instructions only ONCE use the following steps :

Ftp steps  to copy a file up to oscar

  1. Start MS-DOS; at the Prompt(C:\), type ftp oscar.ctc.edu
  2. Type your username at the prompt. Type your password at the prompt
  3. type pwd  to see the name of the current directory (You should see /home/youruserid.)
  4. type ls -l  to see a list of the files and directories. (You should see web-docs in the list.)
  5. type cd web-docs  to change the current working directory on oscar.ctc.edu
  6. type bin to set the transfer mode to binary so that all images are sent properly
  7. (you may type lcd  C:\tmp to change your local directory. Then you may use put index.htm.)
  8. otherwise, type put C:\tmp\index.htm  to send your file from your C: drive to oscar.ctc.edu. 
    Repeat with any other files you want to place on your web site, for example, put C:\tmp\some.gif
  9. type bye only when you are ready to disconnect ftp from oscar.ctc.edu

Telnet steps (You must complete the telnet steps below to view files on the server.)

  1. Start MS-DOS;  at the Prompt (C:\), type telnet oscar.ctc.edu
  2. Type your username at the login prompt. Type your password at the prompt
  3. type pwd to see the name of the current directory (You should see /home/youruserid.)
  4. type ls -l to see a list of the files and directories (You should see web-docs in the list.)
  5. type cd web-docs  to change the current working directory on oscar.ctc.edu
  6. type chmod 644 *.* to set the read permissions for all files. (Do not use 755 for files.)
  7. type ls -l to see a list of the files and directories, ensure that all files have -rw-r--r-- permission.
  8. type exit only when you are ready to disconnect telnet from oscar.ctc.edu