file is: ectweb.html 1.8

ECTWEB2 Server

These procedures seem to change almost every quarter. Send me email early in the quarter if they do not work, and keep me informed about broken links.

You are required to back up your own files!

Activate your account at this link: ectweb account activation link Accounts are on an ECTWEB server. For wireless, the wml headers should have been set up correctly, however if you believe they are not, tell the ect lab assistant, and failing that send me mail. For projects that require back end code, some server, like ectweb, is required. Free web services, such as brinkster.com are good places for code also, and for backups to ensure running demos.

ASP is supported, but CGI is not. For CGI at DePaul you will have to request a hawk account. For Java, you will have to arrange for something like a Tomcat server running on your linux box.

Class examples can sometimes be located at ectweb.cs/elliott/ph/one.wml two-a.wml three.asp four.wml five.wml six.wml and so forth

Watch for bugs. The administration of ECT web for this class has sometimes been problematic, because our needs are different from those of other classes.

In general, use FTP (file transfer program) to move files from your development computer, to the server directory, then access these files from the web. For .wml files, you will want to use the phone simulator browser to read the returned data.

Students can look up, and manage, their accounts here, as well as find examples of database connections:
http://ecthome.cs.depaul.edu [link broken as of fall 2005/2006]

For example, to use FTP on ECT web, I looked up my account at the above link (after activating it). My user name was CTILABS\elliott, and my server was ectweb.cs.depaul.edu. To use ftp to place files at this account, I first set my IE browser to allow ftp (see below), and then used the URL ftp://ectweb.cs.depaul.edu. I was asked for my user name and pw, which I typed in, and then was granted access to my directory on ECTWEB. (Note: you may be on a different server, such as ECTWEB2.) I then created a subdirectory "ph" [File | New | Folder], and changed to that directory. I copied the file "one.wml" from my local computer [ explorer | focus on the file | control-c] and pasted it to the "ph" folder on ECTWEB [control-v]. I can now access this file on the web at "http://ectweb.cs.depaul.edu/elliott/ph/one.wml", and so can you.
also try "http://ectweb.cs.depaul.edu/elliott/ph/three.asp"

If the three.asp file works, which writes its own header, but the one.wml file is not working, check the content type of the one.wml file... if it is application/octet-stream you will need to send mail to me to have them re-add the wml headers into the server configuration.

Use your campus connect pw to get access to your ectweb account name and pw. Note that your campus connect user name, and your ectweb account name might be different.

Student MUST ACTIVATE THEIR ACCOUNTS PRIOR TO USING THEM.

You can use standard ftp from the shrike to move files to your account on ectweb.

Or, in IE, you can, e.g., for ECTWEB2, use:

ftp://ectweb2.cs.depaul.edu Be sure to check that "Tools | INternet Options | Advanced | Enable Folder View for FTP sites" is checked.


[will ask you for username and pw]

Drag and drop files through IE into sudirectories, but be sure to
create subdirectory, such as "ph" first.

"database" subdirectory must be used for the web server to read and
write files under program control.


Here is a standard ftp session:

C:\TEMP> ftp ectweb2.cs.depaul.edu
[will ask you for user id and password, then put you in correct directory]
Connected to ectweb2.cs.depaul.edu
220 blah blah blah
Name: CTILABS\\jsmith
331 Password required for jsmith.
Password:   [type in your password here]
230 User jsmith logged in.
ftp> mkdir ph                [make a phone source code directory]
200 PORT command successful.
ftp> cd ph
200 PORT command successful.
ftp> ascii
200 Type set to A.
ftp> put one.wml
200 PORT command successful.
150 Ascii data connection for interesting.html (140.192.1.8,59927)
(342 bytes).
226 Ascii Transfer complete.
local: one.wml remote: one.wml
342 bytes received in 0.023 seconds (15 Kbytes/s)
ftp> quit
221 Goodbye.
C:\TEMP>