Managing and Transferring Files with HCC OnDemand

From the OnDemand portal, you can view, edit, rename/move, upload/download, copy, create, and delete files and directories. First, choose the file system you would like to access (/home, /work, or /common) by selecting it from the "Files" drop-down menu.

Choosing the file system to use from the 'Files' drop-down menu

You will be directed to the File Explorer page which displays the directory contents of the chosen file system and provides a user-friendly interface for file operations and transfers.

View of File Explorer page

Basic file operations can be accomplished by selecting a file or directory and clicking on the button for the desired operation. Selecting a text file and then clicking the three dot button will pop open a small menu where you will find the "Edit" button. The "Edit" button will open up a separate tab with a text editor, allowing you to modify text files directly through the portal.

View of the menu available when clicking the three dots next to a file, with the edit button circled View of the text editor that opens when editing a file

Switching to a different file system from within the File Explorer page is done by clicking on "Change directory" and typing in the desired directory path. For example, if you are in your /home directory and want to switch to your /work directory, type /work/<groupname>/<username> in the pop-up window, and then click "OK".

The Change Directory button is circled and a pop-up to change the directory is shown

To transfer files between your computer and the cluster file system through OnDemand, use the "Upload" and "Download" buttons in the portal's File Explorer interface. Clicking the "Upload" button and then "Choose Files" will open a local file browser window for you to select which file(s) you want to upload. Alternatively, you can drag and drop a file from your computer's file explorer to the OnDemand window to upload it.

Upload button is cicled and the pop-up to upload files is shown

To download files to your local computer, select the files and directories you want (using Ctrl+click and Shift+click to select multiple items), and then click the "Download" button.

Multiple files are selected and the Download button is circled

To Copy/Move files the following steps needs to be followed

The Copy/Move button is highlighted with an option to copy or move a file in the directory

  • Pick the files: Select the file(s) for moving or copying within the user's home directory.

  • Choose the destination: Click the Copy/Move tab. Then, specify the desired destination folder for the selected file(s) by navigating to the target folder listed on the left site, below the "Copy" and "Move" buttons.

  • Click Copy or Move: Click "Copy" (represented by the blue button) to create a duplicate of the file(s) in the specified target directory, while the original file(s) remain untouched in the current location. Choose "Move" (represented by the red button) to create a duplicate of the file(s) only in the target directory.

Next: Job Management and Submission with HCC OnDemand