Docsity

Unix system - E-Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

Partial preview of the text

Download Unix system - E-Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

ECT 250: Survey of e-commerce technology

Publishing pages on a Unix system

Publishing the page

Now that we can create some basic Web pages,we need to discuss how to publish these pages,that is, make them available on the WWW.In this course, all Web pages will be publishedon the students.depaul.edu machine.Next we learn how to move existing pages ontostudents.depaul.edu.

File transfer protocol

  • FTP (file transfer protocol) allows files to be

transferred between computers connectedusing TCP/IP.

  • It uses the client/server model.• FTP permits files to be transferred in both

directions, that is, from the client to the serveror from the server to the client.

  • It can transfer files one at a time or many files

simultaneously.

Files types and FTP

FTP allows the transfer of two types of files:1. ASCII text: files containing only characters

available through the keyboard and containingno formatting information.Example: Files created using Notepad

  1. Binary data: files containing word processed

documents, worksheets, graphics, etc.

Accessing with FTP

There are two ways to access remote machines:1. Full privilege FTP access: This requires that you

have an account on the remote computer and thatyou supply your username and password.

  1. Anonymous FTP: If you do not have an account

on the remote computer, you can type

anonymous

as the username and your e-mail address as thepassword and obtain limited access to the remotecomputer.

FTP with a browser

To use a browser as an interface with FTP:1. Type

ftp://[email protected]

  1. This will bring up a window that prompts you

for your password.

  1. Type in your password (being careful to type

it correctly) and hit enter.

  1. The files in your main directory will appear.Note: Be sure to check that the browser does notstore your password. In IE look at Tools/InternetOptions/Content/AutoComplete.

Browsing through files Once you have logged into your account usingFTP you can browse through the files located inyour account.You do this by double clicking on the foldersthat appear.Example:

ftp://[email protected]

HTML directory

A Web server typically requires that any Web pagesthat are to be published on the site must be locatedin a particular directory.On students.depaul.edu (and condor.depaul.edu)that directory is public_html.If you do not have a public_html directory youmust create one. All your web pages must be inthat directory or they will not be visible to browsers.