|
You need to be fairly familiar with UNIX permission statements and file management to accomplish the upload task, which is essentially a multi step process. At this point a good book on UNIX would be helpful. Also, you might check the University of Edinburgh's UNIX Help pages. There are several way to upload a Web page to a unix host. Probably the easiest is to use PortaPuTTY tailored specifically for UMUC. An alternate approach is to use WS_FTP LE http://www.uottawa.ca/help/ws_ftpe.html Since WS_FTP, a prior UMUC standard, is no longer generally available you can try Core_ftp_le another prior UMUC standard. Finally there are telnet applications that, in addition to up/down loading, give you exceptional access for manipulating UNIX. One advanced telnet application with up/down load capability is NetTerm (nt32520i.exe). It is necessary to prepare your site before you start uploading files. The information below assumes NetTerm is used. 1. Prepare your site by creating the appropriate directories.
3. upload HTML and graphic files into the appropriate directories 4. chmod all files 644 Let us take a look at the permission issue. A snippet of the result of an ls -l command for a typical home directory is shown. drwx------ 2 smith faculty 512 Jul 24 16:22 class -rw------- 1 smith faculty 49908 Jul 15 14:23 fabric.txt drwx------ 2 smith faculty 512 Jul 24 16:21 fwr -rw------- 1 smith faculty 8087 Jul 19 17:29 good_mt1.txt drwx------ 2 smith faculty 512 Jul 6 02:14 junk drwxr-xr-x 2 smith faculty 512 Jul 22 17:20 share drwx------ 2 smith faculty 512 Jun 9 16:12 tycho drwx--x--x 9 smith faculty 512 Jul 26 00:08 wwwThe first 4 columns shows two things, whether the listing is for a (d)irectory or a (-)file and the access permissions (r)ead, (w)rite, or e(x)ecute for the owner (Smith). The permission for two additional groups, faculty (an arbitrary UNIX directory), and everyone else is indicated by the remaining columns. Permission can be set using a variety constructs. Let us review the "absolute" permission construct which is so called perhaps because they are absolutely impossible to remember! The Code: --- read permission = 4, write permission =2, execute permission =1, no permission =0 *** So making a table with an example (the UNIX commands are in color):
Then 'UNIX Prompt> chmod 711 directory_name' Where: 1. chmod = change mode 2. 711 = sets the "permission" for a directory that allows, you the owner, full read/write/execute access to all files within a directory. All others have very limited access. They can neither read nor write files within the directory.
Then 'UNIX prompt> chmod 644 file_name' Where: 1. chmod = change mode 2. 644 = sets the "permission" for a file allowing you, the owner, read/write access. All others are limited to read only. Since we are addressing only ascii files execution has no meaning. Only binary (compiled) program files need be 'executed.' Other program files, such as JavaScript or Perl files, are not compiled and remain in ascii format.
"http://computer.umuc.edu/~user_ID/secret_file_name" keeping your vectoring page address secret for 386 assignments. For a page that is to be generally accessible use "http://computer.umuc.edu/~user_ID/". Where computer = either nova or polaris state side. Other servers are used in Europe and Asia so of course the appropriate server name needs to be used. |
Back to last page
Back to the Index CMST 385
Back to the Index CMST 386
Back to the Index CMST 450