Description: This article explains how to upload files to SiteWorx, create and manage folders, and set file permissions.
Managing files within SiteWorx is a core function for website administration. Here's a breakdown of how to upload files, manage folders, and set file permissions:
- Accessing the File Manager:
- Login to SiteWorx:
- Begin by logging into your SiteWorx control panel.
- Navigate to the File Manager:
- Look for the "File Manager" option in the SiteWorx menu. This might be on the main dashboard or in a section dedicated to file management.
- Uploading Files:
- Navigate to the Target Directory:
- Once in the File Manager, navigate to the directory where you want to upload your files. For website files, this is often the "public_html" or "html" directory.
- Use the Upload Function:
- SiteWorx provides an "Upload" button or similar option.
- You'll typically have options to:
- Choose Files: Select files from your local computer.
- Upload Multiple Files: some file managers allow for multiple file uploads.
- In some cases, you may need to upload a zipped file, and then use the file managers extract feature.
- Complete the Upload:
- Follow the on-screen prompts to complete the upload process.
- Creating and Managing Folders:
- Creating Folders:
- In the File Manager, look for a "New Folder" or "Create Directory" option.
- Enter the desired folder name and click "Create" or "OK."
- Managing Folders:
- You can typically:
- Rename Folders: Right-click or use the available options to rename folders.
- Delete Folders: Be cautious when deleting folders, as this will permanently remove their contents.
- Move Folders: Some file managers allow you to drag and drop folders or use a "Move" function.
- Setting File Permissions:
- Understanding File Permissions:
- File permissions control who can read, write, and execute files and folders.
- Permissions are typically represented by three sets of numbers (e.g., 755, 644).
- These numbers correspond to:
- Owner: The user who owns the file.
- Group: The group that owns the file.
- Public (Others): Everyone else.
- Changing File Permissions:
- In the File Manager, you can usually:
- Right-Click: Right-click on a file or folder and select "Permissions" or "Change Permissions."
- Use the Permissions Interface: A dialog box will appear, allowing you to set the read, write, and execute permissions for the owner, group, and public.
- You can also enter the numerical permission value directly.
- Common Permissions:
- 644: Common for files (read-only for everyone except the owner).
- 755: Common for folders and executable scripts (read and execute for everyone, write for the owner).
Important Notes:
- Always be careful when changing file permissions, as incorrect permissions can cause security vulnerabilities or website errors.
- If you are unsure about the correct permissions, consult your hosting provider's documentation or support.
- Always be aware of what directory you are in when uploading or deleting files. The "public_html" directory is where your websites files must reside to be seen on the internet.
By following these steps, you can effectively manage your website files and folders within SiteWorx.