Search The Hostwinds Guides Knowledge Base

File Manager for CentOS 7 Web Panel

Share This Article

When using the CentOS 7 Web Panel (CWP7) on your Hostwinds VPS or dedicated server, the occasional requirement of modifying, creating, editing or removing files on your server surfaces. The easiest, most direct way to do so is utilizing the built-in File Manager for CWP7. This article will detail how to launch it, how to use it, and what common processes may call for its use.

File Manager for CentOS 7 Web Panel

Getting to the File Manager

Step 1: If you are not already logged in, log in to your CWP7 dashboard. By default, this is done by navigating to the IP Address of your server and affixing the port number of “2030” at the end. Looks something like this:

YourServerIPAddress:2030

Once logged in, you should see your CWP7 Dashboard.

Step 2: Click the button in the Quick Access section that says “File Manager.” Make sure your browser allows for new windows to be created, as the file manager will be launched in a new tab, or window, depending on how your browser handles new page creation.

Click File Manager

Step 3: By default, the new tab or window created should gain focus automatically. If it does not, simply click over to the tab or window that was created. You should see the following, or something similar:

file manager centos web panel

From here, you are presented with the default layout and default directory that loads when . We We will go over each section below.

Parts of the File Manager

File Tree

File Tree
Expansion Triangle

This section of the file manager will list the current “structure” of the file system, and will continue to show open folders as you are navigating from folder to folder. At any time, you can click a visible folder to immediately be taken to that folder. Clicking any of the tiny triangles to the left of the folder  will open up the subfolders available to that folder, if any exist. This section is a great tool for making sure you’re in the correct subdirectory or jumping between two folders quickly. Keep in mind, files will not show up in this view, only folders.

Command Panel

Command Panel

This section has a lot of functionality. There are a few pieces here you probably won’t need, but it is certainly important to at least know what they do. We will go over each piece in the table below.

Button Description Details
Config Button File Manager Configuration This button opens up an overlay menu that allows you to modify various settings and receive various pieces of information about the file manager. You will likely not use this button often.
Server Info Button Server PHP Information This button creates an overlay window that shows a full-detail breakdown of all PHP settings, modules and versions. This can be very handy if you’re ever trying to troubleshoot problems with PHP on your server. You will potentially need this button.
Create Directory Button Creates a new folder This button creates an overlay window that allows you to create a new subdirectory (folder) in the current folder you are in. This is handy if ever you need to create a folder manually for any number of different reasons. You will likely use this button.
Create File Button Creates a new file This button creates an overlay window that allows you to create a new file in the current folder you are in. This is handy if ever you need to create a file manually for any number of different reasons. The most common reason for something like this would be to manually create an .htaccess file. You will potentially use this button.
Upload Button Upload to the server This button creates an overlay window that allows you to upload files to the folder you are in. This is handy if you would like to manually transfer one or two files at a time to the server outside of your normal publishing method. Typically, you would use an FTP client to do this. You will likely use this button.
Shell Button Create a shell prompt This button creates an overlay window with a localized bash (command) prompt. It always will make the “Document Root” of the session as your current folder, and will not allow this window to a folder higher in the folder structure than it currently is. Typically, this type of session would be done from an SSH Client. You will likely never use this button.
Portscan Button Initiate a scan of ports This button creates an overlay window with a tool that allows you to scan ports that may be open on your server. This button should be used sparingly, if at all, as excessive use could be seen as a malicious attack on your server. You will likely never use this button.
All Button | None Button Select All or Select None These buttons are used to select (highlight) all available options, or remove any existing selections. The select all function is useful for needing to move/copy/delete the entirety of a subfolder and its contents. The select none button is useful for deselecting any currently active selections in a single click. You will likely use this pair of buttons.
Inverse Button Inverse the current selection This button is used to select any unselected items while deselecting any selected items in one action. There are a small amount of reasons why this may be useful. You will not likely use this button.
Delete Button Delete the current selection This button is used to delete the currently selected files or folders. It is not instant, as it will prompt the user to confirm the deletion. You will probably use this button.
Copy Button Copy the current selection This button creates a copy of the selected files in a different subdirectory. Using this function is not as straight-forward as one would hope, so here is how you do it: First, select the files you want to copy. Next, click the Copy Button button. Red text will show up asking you click on a directory in the file tree to the left. Finally, click on the target directory that you want them copied to and a dialogue will popup asking to confirm. You will probably use this button.
Move Button Move the current selection This button moves the selected files to a different directory. This button is identical in function to the Copy button above, but will delete the files in the source folder. Using the button is identical to using the Copy button above. You will likely use this button.
Compress Button Compress the current selection This button creates a compressed file with your choice of extension (.zip, .tar, .gzip) containing the current selection of files and folders. This is useful if ever you need to create a backup of your current file structure or a specific folder and its contents. To use it, select the files you wish to compress, click Compress Button and enter the name and extension and click ok/confirm/submit. Unless you specifically know why you would need other extensions, you should use the .zip extension. You will potentially use this button.
Resolve IDs Button Changes how details display This button changes how the “Permissions,” “Owner,” and “Group” columns display their content. This changes the displayed information between numeric, “code-friendly” text and “user-friendly” readable text.  The information displayed here is largely only used during advanced troubleshooting and rarely, if ever, actually needs to be known or changed. You will likely never use this button.
Permissions Button Modify the permissions of the current selection This button opens an overlay window that provides the ability to modify the permissions of the current selection. As with the above Resolve IDs button, this button is almost exclusively used for troubleshooting purposes. You will likely never use this button.
Absolute Path
Double-Less-Than Sign

You will also be able to see the current folder absolute path here as well. It looks like this: . This is good information to be able to locate, as it becomes important to understand the structure of your files and where they are saved within your servers file system. You can click the  to move to the folder directly above the current folder in the folder structure.

Selected Directory Listing

Selected Directory View

This section of the page is the main focus of the file manager tool This is where you actually view, select, manage, and otherwise handle the files being managed. Directories (folders) are listed first, then individual files are listed below. You can also see their current permissions, what user is the current owner, what group the user belongs to, the size of files, the date of creation, and the file type. There are also options to manipulate individual files and folders listed to the right of each row. At the very bottom, below the mirror of buttons detailed earlier in this article are further details about the contents of the folder, as well as how much total space versus available space is in use.

Related Articles