A Favorite Getaway: How the Files Panel WorksThe Files panel is where you can easily access your site's files and folders within Dreamweaveryou'll see them listed in hierarchical order, as they should also appear on your remote server. You can also view and compare the files on your remote server by clicking the Connect button or by customizing your Files panel, as I'll explain here. Remember the words of the great George Bernard Shaw: "All professions are a conspiracy against the laity." Regardless as to how complicated co-workers and IT technicians make it sound, web hosting is mindlessly simpleif you've done your homework. By default, this panel is docked on the right, grouped with the Assets panel. I've always found it difficult to work with sites in such a narrow column, so here's what I suggest: From the Files panel's Option menu, choose Group Files With > New Panel Group. Now the panel is floating on its own, where you can move and expand it, to make viewing a bit easier. Even still, the Files panel is kinda crammed. At the top are two pull-down menus. The first lets you change the site you're looking at, and the second lets you change the site view. The Files panel is packed tighter than a Japanese commuter train. To get a little elbow room, click the Expand button on the panel's toolbar.
It's all jammed in there, so here's another suggestion. At the top of the panel, click the Expand button. This opens a split-screen view of the Files panel, which you can expand nice and wide. Now you can clearly see your local site on the right and your remote site on the left. Ahhh...that's easier, huh? If you defined a remote site in the Site Definition dialog box, the left pane displays a message telling you how to see your remote files. Just click the Connect button on the Files panel toolbar. If you didn't specify a remote site, you'll see a message on the left telling you that to see the files on your web server, you must define a remote site. Click the message to set one up. Once you're connected to your remote site, you'll see a listing in each pane, making it really easy to see both the local and remote sites at the same time. Noteworthy
Noteworthy
Setting Up Camp: Makin' New Files and FoldersWhen you want to create new files or add folders for your site, you can do so directly in the Files panel. When you create new files or add folders to your local site, you can do so directly on the Files panel. If you're connected to a remote site, you can create files and folders in the left pane, too. To delete a file or folder, just select it and press the Delete key on your keyboard. Be careful, though. Deleting files and folders may break or cause errors with hyperlinks you've set. Deleting files and folders from your site may cause massive amounts of destruction if you're hasty. Chill with a chardonnay before making any rash moves.
Here's how to add files or folders through the Files panel: Whether the Files panel is expanded or collapsed, just right-click (Windows) or Control+click (Mac) in the panel and choose either New File or New Folder. If you chose to create a new file, you'll get a blank, untitle88 document. Don't be a hobouse keyboard shortcuts! Ctrl+Alt+Shift+N (Windows) or Command+Option+Shift+ (Mac) will create a new folder in the Files panel. Here's one approach to web design: Once you know what pages you'll need in your site (remember from the last chapterwhat, you fell asleep?), you can create the site's entire structure with blank documents right in the Files panel and then go back later to add in content and linking. A Home Away from Home: Transferring Your Site FilesYou may want to start uploading parts of your site before everything's finished so you can see how everything's working remotely. This will let you test download times and browser support, or maybe just have a look at how things are being displayed before you develop too far. You can also pull content from an existing site and save it locally on your machine. Using an External FTP Client" later in this chapter. But right now, let's see how Dreamweaver handles file transfers. Uploading FilesWhen you're ready to upload your files, follow these steps:
Uploading an Entire SiteWhen you're ready to transfer your entire site, don't select all the individual files and folderstry this instead:
Downloading FilesDownloading files is the reverse of uploading files, so get out that Sabbath record, play it backwards, and give downloading a try: Stopping a File TransferDid ya goof? It's all good; just don't drink so much at work. To stop an upload or download, simply close the Background Activity dialog box that appears when you start a transfer. Dreamweaver will warn you that closing the window will toast your file activity, which is what you want, so click OK. If you ever want to stop a file transfer, just close the Background Activity dialog box and click OK in the confirmation box.
Define a Site? Tommyrot! Connect Directly Instead!" earlier in this chapter. |