X-Cart:Files

From X-Cart 4 Classic
Jump to: navigation, search

Files in X-Cart

X-Cart provides a repository where the store staff can keep files; for example, the files of downloadable products (like software or e-books). The store staff can view and manage the contents of this repository using X-Cart's built-in file manager.

In X-Cart GOLD or GOLD PLUS, the files repository is the directory /xcart/files, where /xcart is X-Cart installation directory. This repository is a common file storage space accessible equally to all of the store users with administrator/provider privileges.

In X-Cart PLATINUM or PRO, the files repository is also the directory /xcart/files; however, only users with unlimited administrator privileges have the ability to view and manage the contents of this repository in its entirety. For each of the store provider, a separate area is established within the repository beyond which they cannot access. This area corresponds to the directory /xcart/files/provider_login, where /xcart is X-Cart installation directory, and provider_login is the login name of the respective store provider.

Roles in file management

If you are an X-Cart GOLD or GOLD PLUS administrator/provider or an X-Cart PLATINUM or PRO administrator, you can perform the following tasks using X-Cart's file manager:

If you are an X-Cart PLATINUM or PRO provider:

Viewing the Contents of the Files Repository

Depending on the role you perform in the store, you can view the contents of either the store's entire files repository or of your personal area within that repository.

To view the contents of the files repository / your files repository area, do the following:

1. Open X-Cart's file manager. In X-Cart versions 4.4.0 and later, the file manager can be found at Content menu -> Files; in X-Cart versions 4.3.x, the file manager can be found at Management menu -> Files; in earlier versions, the file manager can be found at Administration menu -> Files.

You should see a dialog box titled 'Browse files'.
Browsefiles.gif
This is the file manager.

2. At the top of the 'Browse files' dialog box, you should see the contents of the files repository / your files repository area.

The top section of the 'Browse files' dialog box is a file browser, you can use it for navigation.

Managing the Contents of the Files Repository

Depending on the role you perform in the store, you can manage the contents of either the store's entire files repository or of your personal area within that repository.

Creating directories

You can create directories in the files repository / your files repository area.

To create a directory, do the following:

  1. Open X-Cart's file manager.
  2. Use the file browser at the top of the 'Browse files' dialog box to navigate to the location where you wish to create the new directory.
  3. Into the field 'New directory name', enter the desired directory name.
  4. Click the Create button.

When you click on Create, the directory is created at the current location. A message is displayed confirming that the directory has been created successfully.

Deleting directories

You can delete the directories you no longer need. Deleting a directory deletes all the files and sub-directories under that directory.

To delete a directory:

  1. Open X-Cart's file manager.
  2. Use the file browser at the top of the 'Browse files' dialog box to locate the directory you wish to delete.
  3. Select the radio button next to the name of this directory.
  4. Click the Delete selected button. When prompted, confirm the deletion.

When you confirm the deletion, the selected directory is deleted. A message is displayed confirming that the selected directory has been deleted successfully.

Uploading files

You can upload files to the files repository / your files repository area from your local computer.

To upload a file:

  1. Open X-Cart's file manager.
  2. Use the file browser at the top of the 'Browse files' dialog box to navigate to the location to which you wish to upload a file.
  3. Use the 'Upload file to the current directory' section of the 'Browse file' dialog box to select the file that you wish to be uploaded.
  4. If you are uploading the file in order to replace its older version residing in the current directory, select the 'Replace file if exists' check box.
  5. Click the Upload button.

When you click on Upload, the file is uploaded to the current directory. A message is displayed confirming that the selected file has been uploaded successfully.

Copying files

You can create copies of files stored in the files repository / your files repository area.

To create a copy of a file:

  1. Open X-Cart's file manager.
  2. Use the file browser at the top of the 'Browse files' dialog box to locate the file you wish to copy; for example, 'Sample.jpg'.
  3. Select the radio button next to the name of this file.
  4. Use the 'Copy file name' field to enter a name that you wish to be used for the file copy; for example, 'Sample_copy.jpg'.
  5. Click the Copy button.

When you click on Copy, the file copy is created. A message is displayed confirming that the file has been copied successfully.

Deleting files

You can delete files stored in the files repository / your files repository area.

To delete a file:

  1. Open X-Cart's file manager.
  2. Use the file browser at the top of the 'Browse files' dialog box to locate the file you wish to delete.
  3. Select the radio button next to the name of this file.
  4. Click the Delete selected button. When prompted, confirm the deletion.

When you confirm the deletion, the selected file is deleted. A message is displayed confirming that the selected file has been deleted successfully.