Working with Files

Work with files using the Webscale Control Panel

Through the Files page, you can work with files. After you upload files for your account, they are available for all of the account applications.

The CloudEDGE Workers and microsite features both use uploaded files. Information specific to working with handler and microsite files, including previewing files, is located in Working with CloudEDGE Handlers and Workers and Working with Microsites.

CloudEDGE Workers enables you to easily extend your application’s functionality through custom JavaScript without changing your application code. For more information about the CloudEDGE Workers feature, see CloudEDGE Workers Overview.

A microsite is a standalone website that displays for your application.

Topics

File requirements

Files must conform to the following requirements with the exception of the maximum file size for handler and microsite files.

  • .zip, .tar, or .tar.gz file format
  • Maximum file size: 50 MB
  • For microsites, links to assets must be relative (pages can also contain links to external websites).

List of files

On the Files page, each file lists in the Files panel with the following characteristics.

  • Name
  • Version
  • Creation and updated times

If there is a description and label, they will also display for the file. When you select a file, the file version and contents display in the Content panel. When you select a file in the Content panel, it displays in the Preview panel.

There is a system default file that is named “Default Microsite” unless you change its name. For more information about this file, see Microsites files in Working with Microsites.

Panels on the Files page

Getting started

  1. On the Webscale Control Panel page, access the Files page.
  2. If the file does not already display in the list of files, upload it.
  3. Select a file in the files panel.
    An icon panel that enables you to download, replace, change details, and delete the file displays to the right of the Updated column for the file.
  4. After the above steps, continue with the remaining steps for the relevant operation.

Procedures

The following procedures pertain to all features that involve uploading and working with files. You can use the Files page to perform the following operations.

Access the Files page

To access the Files page

  1. On the Webscale Control Panel page, click the menu icon on the upper left of the screen.

  2. On the sidebar menu, select Files.

    Files sidebar option

Upload files

To upload a file

  1. On the Webscale Control Panel page, select Files on the sidebar menu.

  2. In the Files page, click Create file.

    Click create file to upload
  3. In the Upload File dialog, click Choose File.

    Choose file
  4. Select a file on your computer and click Open, or drag-and-drop it to the File box.

  5. Optionally, enter a new name and/or label for the file. (The label only applies to this version of the file.)

  6. Select the file type.

  7. Optionally, enter a file description and label.

  8. Click Save.
    A new entry displays in the Files page list.

Work with uploaded files

For uploaded files, you can perform the following operations.

File operations icons

Download file

To download a file

Click the Download icon in the icon section.

Replace file

To replace a file

To replace the file with a new version of the same file or a different file, perform the following procedure.

  1. Click the Upload new file version icon .

  2. In the Upload Version dialog, click Choose File.

  3. Optionally, enter a label for this verson of the file.

  4. Click Save.

  5. Click Update to use the uploaded file as your current version.

  6. If you click Cancel, Webscale will upload the file and increment the version number but not use it as your current version.

    Save new file version

Edit file details

To edit file details

  1. Click the Edit file icon . In the Edit dialog, you can:

    • Change the file name
    • Update the currently used version of the file
    • Optionally, enter a new description or update an existing one.
  2. Click Save when you are finished editing the details.

    Edit dialog

Delete file

To delete a file

  1. Click the Delete file icon .
  2. Click Ok.
    The file will no longer display in the Files page list.

Preview files

There are differences in previewing files for CloudEDGE Workers and microsites.

For more information on previewing handler files, see Preview handler files in Working with CloudEDGE Handlers and Workers.

For more information about previewing microsites, see Preview microsites in Working with Microsites.

Further reading

Have questions not answered here? Please Contact Support to get more help.


Last modified October 8, 2021