Once you've signed up for Web hosting, you're ready to transfer some files to your Web space. To perform this test, you can use Lee Park's r sum from the previous chapter (which you can download from the "Missing CD" page at www.missingmanuals.com). The final version has the filename resume5.htm .
Browser-based uploading is fairly easy, but it's not always convenient . The idea is you go to a special Web page on your host's site, where you can specify the files you want to transfer. Many Web hosting companies provide both browser-based uploading and FTP-based uploading. If you're using a budget plan or a free Web host, you may not have the FTP option at all. To perform browser-based uploading, follow these steps:
Surf to the Web site of your Web hosting company .
Log in to your account with the user name and password you created when you signed up .
Usually you'll find a login box somewhere on the first page.
Browse through the icons until you find the right page for managing files .
Each Web hosting provider has its own slightly different site layout. Figure 3-12 shows what things look like at Brinkster.
|
Specify the files you want to upload. You need to specify each file individually, by clicking the Browse button next to the text box .
In order for the r sum example to work properly, make sure you upload both the resume5.htm file and the linked picture, leepark.jpg , to the same place.
Log out when you're finished .
Now you can test your work by entering your domain name followed by the Web page name. For example, if you uploaded the r sum example to your Web site www.supersavvyworker.com , try requesting www.supersavvyworker.com/resume5.htm in your browser. You don't need to waitonce you upload the file to your Web server, it's available almost instantly to any browser that requests it.
Unfortunately, the possibilities for mistakes with browser-based uploading are endless. The most common problem occurs when you have a large number of files to copy at once. Not only is it time consuming to pick out each one, it's all too easy to forget something. Other headaches include trying to upload files to different folders, and having to use another window to rename or delete files.
Ideally, your Web hosting company will provide FTP access. FTP access lets you transfer groups of files from your computer to the Web server (or vice versa), in much the same way that you copy files from one folder to another in Windows Explorer or the Mac's Finder.
Before you can upload files using FTP, you need the address for the FTP server, as well as a user name and password. These are usually the same as the user name and password of your Web hosting account, but not always.
To upload files using FTP, you can use a standalone FTP program. However, in these modern times you probably don't need to. Internet Explorer includes its own built-in FTP browser that handles the task comfortably. Here's how it works:
Start by typing the FTP address into the Internet Explorer address bar. Make sure the URL starts with ftp:// .
In other words, if you're trying to visit ftp.myhost.com , enter the URL ftp://ftp.myhost.com , not http://ftp.myhost.com , which incorrectly sends your browser off looking for Web pages.
The next step is to log in by choosing File Login (see Figure 3-13) .
Once you've logged in, you'll see the folders and files on the Web server, which you can copy, delete, rename, and move in much the same way you work with your local folders and files. Seeing as you haven't uploaded anything yet, the folder may be empty, or it may contain a generic index.htm file that shows an "under construction" message.
|
The next step is to copy your files to the Web server. The easiest way to do this is to drag the files from another open window, and drop them on the FTP window .
Figure 3-14 shows the steps you need to upload the r sum example.
|
If you're working on a Mac, you'll need to use a separate FTP program. Fortunately, you've got loads of free options, including the super-easy-to-use Rbrowser (available at www.rbrowser.com ). Things work pretty much the same way they do for your Windows brethren. First, fire up Rbrowser. You'll be asked to log in (Figure 3-15). Once that's out of the way, you can transfer your files by dragging them from a folder on your Mac to the Rbrowser window.
|