Adobe Dreamweaver and SWEB
This page provides tips for using Adobe
Dreamweaver in
the Student Computing Services computer
labs. Because of our dynamic
lab environment, not all software packages work exactly the same as they
do on an personal computer. With this in mind, we provide documentation regarding
configuration settings, printing instructions, file saving, and other popular
topics. These pages are not intended as manuals or tutorials - those are
installed on lab computers along with the software.
Adobe Dreamweaver is specialty software, requested by one
or more faculty members for the purpose of being taught and used in class.
Support from SCS consultants is limited to opening,
saving, printing, and the information on this page. Questions should be directed
to your instructor. Additional support is provided through use of the electronic
manuals accessible through the application's Help menus and on Adobe's Dreamweaver
support webpage.
You are welcome to ask the lab consultant on duty for assistance, but please
recognize that s/he has not been trained on this application and may not
be able to adequately answer your question or solve your problem.
In August, 2008, the student
web server (SWEB) was merged
with the student online storage space (Locker). While each system maintains
its own distinct hostname, they share the same accounts
and storage, and now live under the name NetBlue. This
transition was designed to increase ease-of-use for students by providing
a singular storage location for all online files. Files previously saved
in either location were copied into each student's new NetBlue storage space.
Files in the SWEB www folder have been moved into the new Sites folder.
NetBlue uses your link
blue userID and password for authentication. Starting in Fall 2008,
NetBlue accounts are created automatically for all new students, both freshmen
and transfer. Students who enrolled prior to Fall 2008 may need to manually
activate their NetBlue accounts. Visit the NetBlue
Account Manager for
more details.
If
you need to reset your link blue password, visit the UK
Account Manager.
To upload files using Dreamweaver, you
must first create a site. This tells Dreamweaver where your local and remote
html files are located. To set up a Site to work with Netblue/SWEB, follow
the instructions below. These instructions can be adapted to work with other
remote servers as well; simply replace references to sweb with the equivalent
information for your external server.
- Launch Dreamweaver
- If you see the Welcome Screen, select Create New Site.
Otherwise, select Manage Sites from the Site menu, then click the New...
button and choose Site from the menu.
- In the Site Definition window, click the Advanced
Tab.
- In the Site Name box, give your site
a name. You can call it anything you want. This name is just used to identify
the site to you and Dreamweaver while you are working. It will not be the
name of your site on the internet, nor does it have to relate to your SWEB
account. Example names might be "My SWEB site" or "Marching
band webpages."
- In the Local Root Folder box, choose the folder
on your account where you are going to store all the files associated with
your website.
- If you already have a folder for your local files, navigate to that
folder and click Choose.
- If you don't have a folder, navigate to the location where you want
the folder to be. Click the New Folder button and name your folder.
Highlight the new folder and click Choose.
- Select Remote Info from the Category
menu on the left. Fill in the following information:
- Access: FTP
- FTP Host: sweb.uky.edu
- Host directory: /Volumes/Students/Users/userID/Sites where "userID"
is your link blue userID
- Login: your ink blue userID
- Password: your link blue password
- Check the box beside Use Secure FTP
- Click the TEST button. You
should see a message that Dreamweaver connected to your Web Server successfully
(screenshot).
- Click
the blue OK button.
Now
you can begin to create your files and build your site! Remember to save
everything in the local root folder you chose or created.
Choose Files from
the Window menu or hit the F8 key at the top of your keyboard. This will
bring up a list of the files in your site. The
button
will expand the window to show both local and remote files simultaneously. Click
the
button
to connect to your SWEB account and see your remote files.
The files in the Local
Files column are stored in the folder on your account. The files in the Remote
Site column are stored on SWEB. To upload or download files, drag and drop them from one column to
the other, or highlight them and click the green
and blue arrows. You must put your web files into the Sites folder on your
SWEB account in order for them to be viewable on the internet!
By default, permissions on Sites directories
are set so that no one can see the files in the directory but the owner.
This is to protect users from accidentally posting content on the web that
they did not intend to make public.
To allow others to see your webpages, you
must change the permissions on your Sites directory. The easiest way to do
this is to log into the SWEB file
manager with
your link blue user ID and password. You will see a list of your SWEB files.
Check the box next to the Sites directory and click the Set Permissions button.
On the following screen, check the boxes as in this
example and click the Set Permissions button.
In general, permissions for your
Sites folder and any subfolders should be set
to 755, or rwxr-xr-x. Permissions
for files, such as html pages and images, should be set
to 644 or rw-r--r--.
If you are comfortable setting permissions
via ssh, you can also use Terminal for a command line interface.
You
can also upload files from your account to SWEB from outside of Dreamweaver
using SFTP via programs like Fetch or Fugu (Mac)
or WinSCP (Windows).
You cannot connect to SWEB using unsecured FTP.
Host/Connect to: sweb.uky.edu
Login ID/User ID/Username: your link blue username
Some programs will ask for a password beforehand,
others will ask when you try to connect. Make sure that you use your link
blue password!
You can use Apple File Protocol (AFP) by choosing Connect
to Server from the Go menu and typing sweb.uky.edu. Your SWEB account will
appear as an icon on your desktop and you can work with the files in it as
with any other disk or folder on the computer. You still need to set file
permissions via the SWEB file manager or ssh if you upload via AFP.