Uploading Web-Pages

Unlike the previous web-server, no telnet access is provided to the homepages server. Instead, to upload your web-pages, you must use an FTP client such as WS-FTP, Fetch, or the command-line FTP supplied with many operating systems.

Configure your FTP client to connect to:

homepages.gold.ac.uk

and login using your standard UNIX username and password. Once logged-in you will be at the top (root) of your web-space and may begin uploading files.

the page you wish to appear as your 'home page', ie the page that appears at the URL http://homepages.gold.ac.uk/yourchoice, should be named index.html.

Some FTP Examples

Command line FTP

Most operating systems,including Windows 95/98/NT, Linux, and UNIX come provided with a command-line FTP client. While not as user-friendly as other graphical clients such as WS-FTP, Cute-FTP or Fetch, they are very quick and simple. Here is an example of uploading your index.html page to the webserver:

$ ftp homepages.gold.ac.uk
Connected to homepages.gold.ac.uk.
220 Goldsmiths FTP Server (Goldsmiths College Homepages Server) [homepages.gold.ac.uk]
Name (homepages.gold.ac.uk:luser):myusername
331 Password required for myusername.
Password:
230 User myusername logged in.
ftp> put index.html
200 PORT command successful.
150 Opening ASCII mode data connection for index.html.
226 Transfer complete.
local: index.html remote: index.html
5170 bytes sent in 0.02 seconds (252.32 Kbytes/s)
ftp>

For uploading pictures, sound, movies, and compressed files (eg ZIP), you must switch to binary mode. In most command-line FTP clients the command to achieve this is bi. Type this command before you begin uploading any files of this type. If you are unsure which mode to use, then binary is a safe bet. An example:

ftp> bi
200 Type set to I.
ftp> put res1.gif
200 PORT command successful.
150 Opening BINARY mode data connection for res1.gif.
226 Transfer complete.
local: res1.gif remote: res1.gif
17185 bytes sent in 0.00049 seconds (34110.21 Kbytes/s)
ftp> put res2.gif
200 PORT command successful.
150 Opening BINARY mode data connection for res2.gif.
226 Transfer complete.
local: res2.gif remote: res2.gif
37782 bytes sent in 0.045 seconds (826.20 Kbytes/s)
ftp>

Return to User Information.