Browse and manage your files

files, upload, edit, permissions, trash, zip, preview · 0 found this helpful

Files in your Barbrick account shows everything in your hosting space and lets you work with it from your browser. It works like the file browser on your computer. Folders open instantly, you can drag items between folders, and right-clicking gives you every action. For big transfers, such as a whole site, SFTP is still faster.

Open Files

Go to Account → Hosting → your site → Files. It opens your main website folder, public_html.

Files with the folder tree, the file list and the details panel
  1. The folder tree. Click a folder to open it, or the arrow beside it to see what's inside.
  2. The path to the folder you're in. Click any part to jump back to it.
  3. Filter this folder narrows the list as you type.
  4. The details panel shows the item you selected.

Click a column heading, such as Size or Modified, to sort by it. Click it again to reverse the order. Folders always stay at the top.

Your website lives in public_html. See Where your website files live. Folders the server uses for its own work don't appear, so you can't change them by accident.

See what's in a file

Click a file once to select it. The details panel shows its size, when it last changed, and its full path.

The details panel showing a picture preview, its web address and its permissions
  • Pictures, videos, sound files and PDFs play or show right in the panel. You can skip through a video.
  • Text files, such as .txt or .csv, show their first lines.
  • Files inside a website folder show their web address. Click the copy button beside it to put it on your clipboard, then paste it into an email or a page (1).
  • The permissions grid shows who can read and change the item (2). See Change permissions.

Double-click a folder to open it. Double-click a text or code file, or choose Edit, to open it in the code editor.

Do things with files

Right-click any item, or several, to see what you can do with them. You can also select items and use the buttons in the details panel.

The right-click menu for a file
Task How
Upload files Click Upload, or drag files from your computer into the list
Create a folder or file Click New folder or New file at the top
Move Drag the items onto a folder in the list, the tree or the path. Or right-click and choose Move to (1)
Copy Hold Option (Mac) or Alt (Windows) while you drag. Or right-click and choose Copy to
Rename Right-click and choose Rename, or press F2
Rename many at once Select several items, right-click and choose Rename items
Zip Select the items, right-click and choose Compress
Unzip Right-click a .zip, .tar or .gz file and choose Extract
Download Right-click a file and choose Download. To download a folder, compress it first
Delete Right-click and choose Move to Trash. Or press Command+Delete on a Mac, or Delete on Windows

To select several items, hold Command (Mac) or Ctrl (Windows) and click each one. Hold Shift to select everything between two items.

On a phone or tablet, touch and hold an item to see what you can do with it. Tap Select, then tap each item you want, and tap Done when you finish.

Rename many items at once

Rename items changes the names of everything you selected in one go. Pick how:

  • Find and replace swaps a piece of text in every name, such as IMG_ for bakery-.
  • Add text puts words before or after each name and keeps the file ending.
  • Number gives every item the same name with a number, such as photo-01.jpg, photo-02.jpg.

The list shows the new names before you click Rename.

Zip and unzip

Compressing and extracting run in the background, so you can keep working. The progress shows in the tasks list at the top of the panel, and the new file or folder appears when it's done.

When you extract, choose the folder the files go into. Files with the same name in that folder are replaced.

Keyboard shortcuts

Click the file list first, then use these keys.

Key Does
Arrow keys Move up and down the list. Add Shift to select as you go
Enter Open the folder, or edit the file
Delete on a Mac, Backspace on Windows Go up one folder
F2 Rename
Command+Delete on a Mac, Delete on Windows Move to Trash
Command+A or Ctrl+A Select everything in the folder
Command+C, Command+X, Command+V Copy, cut and paste items between folders. Use Ctrl on Windows
Type a few letters Jump to the first name that starts with them
Esc Clear the selection

Change permissions

Permissions decide who can read, change or run a file. Select the item, then tick the boxes in the details panel or type the number, and click Apply. You is the first digit of the number, Your sites the second and Everyone the third.

Item Number Meaning
Folders 755 You can change it. Everyone else can read it
Files 644 You can change it. Everyone else can read it
Private settings files 600 Only you can read or change it

Files never accept settings that let everyone change them, such as 777, or that lock you out of your own files, such as 000. Your main website folder, your email folder and your sites' folders can gain permissions but not lose them, so their permissions don't show in the details panel. See Fix file and folder permissions.

Restore a deleted item

Deleted items go to the Trash first. Open Trash at the bottom of the folder tree to put them back. See Restore from the Trash. Once the Trash is emptied, restore from a backup under Account → Hosting → your site → Backups.

Your main website folder, your email folder and the folders of your other sites can't be moved or deleted here, so a slip can't take a site offline.

If something goes wrong

  • A big upload is slow or stops: use SFTP, or upload a zip and extract it here.
  • Changes don't show on the site: clear your browser cache, and any LiteSpeed Cache or other caching plugin.
  • You can't change a file: its permissions may be too strict. Set files to 644 and folders to 755.
  • A folder you expect isn't listed: check the path at the top, or type part of its name into Filter this folder.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.