Putting files on the Cincinnati State Server
The Process
- get your login username and password
- access and log on the web server: use an ftp program (command line, Fetch, CuteFTP, etc.) to access your public_html directory on the Cincinnati State web server (spider.cinstate.cc.oh.us)
- upload your latest html page to the web server
- view your page in a browser
FTP with a GUI (e.g. Fetch, a Macintosh FTP program)
- Start Fetch
- File / New Connection
- Host: spider.cinstate.cc.oh.us
User ID: stdntXX
Password: password
Directory: public_html
- use the Put command and browse to the file to upload
To get files:
Follow steps 1-3 above
Step 4 Get (instead of Put)
FTP in a Browser
- in the location field, use either
ftp://stdntXX@spider.cinstate.cc.oh.us
or
ftp://stdntXX:password@spider.cinstate.cc.oh.us/home/stdntXX/public_html/
(where XX is your account number)
- enter password
- pick to open your public_html directory (if you use AOL or other access, you may need to pick "home" and "stdntXX" first)
Put files on the server using File, Upload File (in Netscape)
To get files from the server, use File, Save
(With Internet Explorer you may or may not be able to upload files, and it is usually better to use "View Source" and save that file from notepad, to avoid undesired tag insertion.)
Command Line FTP
For command line ftp (file transfer protocol), keep the following in mind:
- Begin with an MS-DOS command window open in your working directory -- for instance, your files may be on your c: drive, and you would need to use the cd command to change directory to a folder where you saved local copies of your files.
- Use ftp to access the spider server (ftp spider.cinstate.cc.oh.us).
- Log in with your user name (stdntXX) and password.
- Change directory on the server to your public_html directory (cd public_html).
- Use the dir command to see what is in the current directory on the server.
- Use the pwd command to see what directory you are in on the server.
- To upload or download images (binary files), begin with the bin command, then use put (for upload) or get (for download).
- To upload or download html pages (ascii files), begin with the ascii command, then use put (for upload) or get (for download).
- When you are done, exit ftp with the quit command.
Note: Other ftp commands let you upload and download multiple files.
Types of Media
- Hypertext - text files
- Hypermedia - sound, movies (video), graphics
- Helper applications
Multimedia formats
- Graphics .gif or .jpg
- Sound .wav .au
- video .avi, .qt, .mpg
Web page vs. Web Site
- Web page - single html file
- organized collection of web pages
Web Site
- Web server
- ISP - Internet Service Provider
- Types of connections - differences in speed
- Cost - space and through-put
- Questions to answer
- Site's URL
- How to upload files to server
- file name limitations
- directory structure limitations
- support for CGI
File Directory Organization
Different organization ideas
- Single directory
- Directory by function
- Directory by file type
- Hybrid
Relative vs. Absolute directory path names
Absolute Example:
c:/mystuff/html/newproject/work.html
Relative Example:
./newproject/work.html
../oldproject/fun.html