cPanel – Using File Manager
Share This Post
[00:00:00] Welcome to our next video in the cPanel tutorials series. And in this one we’re going to talk about the file manager. And we’re going to discuss how to upload files and the various ways of doing that. So when you’re in your cPanel dashboard like we are now we need to click on File Manager and you’ll see that it opens up like so. Now this could look slightly different depending on your hosting setup. But ultimately what you’re looking for is this folder here which is public_HTML. Now that is your default web site storage. So anything that you put inside that folder will be publicly viewable by going to your domain. So we double click to enter that folder and you’ll see that on this one our directory is empty.
[00:01:01] And what we’re going to do here is we’re going to have a quick look at the file manager and then we’re going to upload some files, so, you’ll see at the moment the layout is still fairly similar up the top here on the top bar. But you’ll now see that we have a new menu which has a file, a folder, upload and a few other items that are grayed out, so, copy, move, download, delete, restore, rename, edit, HTML editor, permissions, view, extract, and compress. Because you can actually upload a zip file here and then use the extract button to open it up on the server. The compressed button to create a new zip file from files that are already there.
[00:01:49] Now you’ll also see that for this directory we actually have some folders and some buttons called home, up one level which will take us up to the folder immediately above us. So if I click on that now you’ll see that we go back out to here and obviously back into public HTML we’ve got a back and forward button which is self-explanatory and a reload button. So you upload something and you come back here and you can’t see the file, usually hitting the reload button will change it to show that file. You also have to select all button and unselect all button, a view trash and an empty trash can.
[00:02:32] Okay so before we can show you how some of these other features work we need to actually add something to this directory. So there are a couple of ways to do this. So if you wanted to just simply add a file we can click plus file and it will ask us to create a new file so let’s create just a basic text file and call it new.text and so if we hit create new file you’ll see that that file is now there.
[00:03:08] Now if we click on that file you’ll see all these other options light up and we can obviously copy that file somewhere, move it somewhere, download it. So if there’s a file there and you’re storing it you can actually click to download it. We can delete the file, We can rename the file, we can edit the file, and so on, and so forth. And you’ll also see that we can select or unselect all the files in that folder.
[00:03:37] Okay so that’s how we can create a basic file ourselves. You know from time to time you might be asked to create a file that needs to be added for say Google Analytics or something like that and that’s how you can do that.
[00:03:52] Now if you want to create a folder, so let’s create a folder and call it images. So we type the name of the folder in, check that it’s where we want it to be. So inside the public_html folder and create new folder and now you’ll see that we have our text file that we’ve created and an images folder.
[00:04:13] So, now what we’re going to do is we’re going to go ahead and add some images and do some actual uploads into that folder. So I’ve just prepped three random images for us to put in and I’m going to show you how to upload. Now there’s a couple of different ways. So if we go here and we click upload it will come up like this and it may say that there’s a maximum file size there, now for us it says unlimited but that may usually say something around eight megabytes or it could say a little bit more than that depending on how your server is set up. So if you are uploading an image to replace another image you can click to overwrite existing files checkbox. Now you’ll see here that there are two different ways to upload. The first one says drop files here to start uploading or select File.
[00:05:11] So the first thing we’re going to do is are going to do the select File one so if I click select file and you’ll see this is my test file. Here with my images in it and we’re going to pick just this first one here and click open now you’ll notice that I couldn’t pick multiple images. So the biggest problem with the select File option is that you can’t pick multiple images.
[00:05:39] So what I’m going to do now is I’m actually going to drag this folder over and you’ll see that there are these other images that I want to add to that. Now if we select those here and drag them up you’ll see that my cursor turned to a plus and then release and you’ll see it. Now we can upload multiple files at the same time.
[00:06:03] So they are the two main ways of uploading. So once you’re finished doing that upload you could just close that screen and it will take you back to the file manager. Now at the moment it says that the directory is empty. Remember what I said if you upload something and you can’t see it there click the reload button.
[00:06:25] And now that we’ve reloaded you’ll see that our three images are available. So now if we wanted to we can click the select all button and you’ll see that we have the three images selected. So let’s go ahead and zip those images up. So we hit the compress button and it comes up with these options. Now most people you’re only going to need to download the zip archive version but you may be asked by your web developer or by somebody else to download a tar archive or a zip tar archive or one of the other ones. Whichever one you’re asked to download then obviously you can do that but if not simply click the zip archive and then come down the bottom here and you’ll see that you have the option of giving it a name.
[00:07:16] So just delete everything between the backslash and the .zip and call it whatever you like so I’m going to call this one images and once I’ve named it just hit compress files and then you’ll see the item coming up there and it will go through and let you know. And once this finishes scrolling if you’ve got lots of files there it may scroll on for a bit. Once that’s done you can select the close button and you’ll see that we now have our ZIP file there. So what I’m going to do is I’m going to actually choose these image files and we’re going to delete them. Now when you delete something you have the option to delete it and put it in the trash. Or you could hit this little button here that says skip the trash and permanently delete the files. Now I don’t recommend doing that unless you are absolutely sure that you don’t want those files back. In this case I want to delete them because I’m going to get them back out of that zip archive using the uncompress feature. So let’s skip the trash and confirm and you’ll see that they’re now gone.
[00:08:33] So now we can actually unzip this file by going up the top here and clicking the extract icon and it comes up and says Where do you want to extract those two. In this case it’s already were we want them in the same folder so we’re going to let it do that and we’re not going to change the address so we hit the extract files button, and it goes and does its magic and lets you know when it’s done and click Close and you’ll see that now our images are exactly back where they need to be.
[00:09:06] Okay so we’ve now covered how to make a file, how to make a folder, how to upload, and how to compress, decompress, reload and navigate around inside this platform which is your cPanel file manager. Now the only thing I haven’t shown you is copy and move. So if I want to copy something I can simply go here and select the copy button. And you’ll see comes up with your standard where do you want to move it to. Now you’ll notice that we’re in public_html folder and then inside the image folder. So if I want to move that particular image back to the public_html folder we just remove the slash images from the end and hit the copy file. And now that’s gone and done that, now you don’t get a notification to say that it’s complete but, if I go here and go up one level, you’ll see there’s the fact one image.
[00:10:15] Now if I want to go and move that file back into the images we just go here to the file and click on it and select move. And it is now doing the same thing saying where do you want me to put that file. So we’re going to type slash images and we’re going to click on move file and you’ll see that the file has now disappeared again, because it should now be back in here where it already was.
[00:10:46] So what it’s done is it’s automatically gone. Okay they’re the same file and it’s automatically overwritten that file for you. Okay, so that concludes the basic overview on how to use the file manager. If you have any other questions please feel free to reach out to us or if you have a problem. Obviously we can help you with that.
Martin is a website designer with more than 20 years industry experience. Specialising in WordPress website design, WordPress website care, WordPress website hosting and much more.
When not building websites for clients Martin enjoys, playing online games, taking and editing video and photo as well as spending time with his family.