Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
If you have been using Dreamweaver for a while, chances are you have been publishing your files already; you have been uploading them and downloading them. There may be a couple of features that you are not aware of though when you are publishing. So we are going to examine Dreamweaver's publishing tools most notably the Synchronization and the Cloaking. I am going to move over to my Files panel, and whether you are on the Mac or the PC it doesn't really matter, there is a little icon that says Expand to show local and remote sites, and it's on the far right hand side and towards the top of the Files panel, I am going to click on that. Now on the Mac this will sort of launch the File panel in its own window, on the PC, it's going to sort of expand and fill up the entire screen. So on the Mac I am just going to make it a little larger, so I am going to move it over, and just make it a little larger. And you might be wondering when the first time this happens to you on Mac is hey, how do I get the thing back into its location.
Well, if you click this again, it's a toggle. So on the Mac clicking that, once again it will toggle back and forth. And how do I find a remote folder for my site, and I have actually just defined this folder, add on the desktop. So feel free to do exactly that if you are following along with me in the example files, I am just going to turn it on, and there is my remote folder right there, okay. So let's take a look at the synchronization. Now there is a little bit of interface difference between what you are going to see on the Mac versus what you are going to see on the PC. Now in a PC, because it fills up the entire screen, your menu options at top are not quite as broad as mine. You are only going to see a few menu items up there, and one of those menu items is what we are both going to use, which is Site. So we go ahead choose and Site. And if you want rather pull down the menu and you want to choose Synchronize Sitewide, it might also just say Synchronize, but both of them are pretty much going to do the same thing.
Now synchronizing is a way of syncing up your remote files in your local files to make sure that you are always working with the most current version. So notice that the Synchronization says the Entire 'Chapter 10' Site, or Selected Remote Files Only. So you could set up whichever files you wanted to synchronize. We are going to do the Entire Site. We've got three options under the Direction, we can take our newer files and put them to remote, so if it notices anything that's newer on the remote, it wouldn't upload. I would say Get newer files from the remote. So it goes out to the remote site, it will look for any files newer than we have local, and then it would bring them back. Then we have this really neat little option here, Get and Put newer files. So let say you have left the office for about a month, and you come back, plug in your compute, you hook up to your sub server, and you have worked on some files while you were gone, but you haven't uploaded them. So now you could take Get and Put newer files. So any of your team members that have created newer files is going to sync up with your local site, and of your local files that are newer are going to sync up with the remote.
So I don't have anything in my remote site yet, so I am just going to say Put newer files to remote. Now there is a real dangerous option right here underneath that, and that option is going to change based on whether you are getting files from the local server or putting files from the remote server, and this is what the option says. If I am putting newer files to remote, it says do you want me to Delete remote files not on the local drive? Wow, that could be dangerous. Same thing for Get, it says okay, do you want me to Delete local files not on the remote server? So again, you really want to be careful about doing that, it will certainly keep everything organize, neat, tidy and clean, but they can also result and you are losing files that you don't want to lose. So instead of saying just okay, notice that because this is such a sensitive operation, Dreamweaver says preview. So I am going to click on Preview, and it's going to give me a report on exactly who is going where. So as I scroll through, notice that everybody says Put. Well, there maybe some files from time to time that I don't want to put, some I do, some I don't, and we'll see.
So if I selected a file, I could choose not to put that file. So I can go ahead and say Ignore selected files during the synchronization, and it would ignore them. I am just going go ahead and click OK, and it's going to go ahead and move everything over, and because we are moving the entire site over, this is going to take a moment, and if you have really, really large site, you would probably want to do this a directory at a time. If you have been using Dreamweaver for a while, you can just drag and drop files over, and you have got the upload and download errors there. So now we have our local files on the right hand side. our remote files on the left hand side. I am just going to click on the files panel to bring that back to the foreground. So that works fantastic, but what if you have got some files that you don't want to upload, and maybe you want to specify specific types of files that you don't want to upload? Well, for that you are going use the Cloaking feature.
So in order to turn Cloaking on, I am going to go and manage my sites, I am going to go Site > Manage Sites, and I am going to pick from all of my chapters here for any sites that you might have defined, so I am going to say Chapter 10, and I am going to Edit that. And when I edit that, there is whole list of categories over here on the left hand side, and I am going to click on Cloaking. The first thing that I want to do is Enable Cloaking, and if that check box is not on, I am going to check it. And then if I want to cloak some files that I don't see listed here as default files, I can turn the check box for Cloak files ending with on, and then I can actually add additional file format. So I might say .xsd for my XML Schemas, and as I can say .psd for my Photoshop files.
So if you have some source creation files that don't need to be uploaded to your Web server, or will be talking up too much space up there, you can just go ahead and Cloak them, and then anytime you do any type of synchronization, Dreamweaver will ignore those file types. So I am going to click OK, and it's going to recreate my cache for me, and I will click Done. So from now when I do a Synchronize. those files will not upload. or will not be affected by the synchronization process. So taking advantage of synchronization and cloaking can make our file uploading and downloading task a little bit more efficient for us. and take away some of the guess work. Now if you are working in a collaborative environment. the next exercise is going to focus on using Dreamweaver's check in and check out features.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.