ptg16476052
Publishing Your Files 633
23
Format Extension
JPEG .jpg, .jpeg
PNG .png
Scalable Vector Graphics .svg
Shockwave Flash .swf
WAV Audio .wav
MPEG Audio .mp3
MPEG Video .mp4
QuickTime Video .mov
Portable Document Format .pdf
If you’re using multimedia files on your site that aren’t part of this list, you might need to
configure your server to handle that file type. You’ll learn more about this issue later in
this lesson.
Publishing Your Files
Got everything organized? Then all that’s left is to move everything to the server. After
your files have been uploaded to a directory that the server exposes on the Web, you’re
officially published on the Web. That’s all there is to putting your pages online.
Where’s the appropriate spot on the server, however? You should ask your webmaster
for this information. Also, you should find out how to access that directory on the server,
whether it’s just copying files, using FTP to put them on the server, or using some other
method.
Moving Files Between Systems
If you’re using a web server that has been set up by someone else, usually you’ll have
to upload your web files from your system to theirs using FTP, SCP (secure copy), or
some other method. Although the HTML markup within your files is completely cross-
platform, moving the actual files from one type of system to another sometimes has its
drawbacks. In particular, be careful to do the following:
n Watch out for filename restrictions— Make sure that your filenames don’t have
spaces or other funny characters in them. Keep your filenames as short as possible,
use only letters, dashes (-), underscores (_), and numbers, and you’ll be fine. You
can use periods (.) in your filenames, but that can confuse readers who type them
in, so I recommend avoiding them.