# File Management

When the third-party jar needs to be used in the scheduling process or the user needs to customize the script, the related operations can be completed on this page. The file types that can be created include: `txt`, `log`, `sh`, `conf`, `py`, `java` etc. And you can edit, rename, download and delete files.

![file-manage](../../../../img/new_ui/dev/resource/file-manage.png)

> **_Note:_**
>
> * When you manage files as `admin`, remember to set up `tenant` for `admin` first. 

## Basic Operations

### Create File 

The file format supports the following types: txt, log, sh, conf, cfg, py, java, sql, xml, hql, properties.

![create-file](../../../../img/new_ui/dev/resource/create-file.png)

### Upload File

Click the "Upload File" button to upload, drag the file to the upload area, the file name will be automatically completed with the uploaded file name.

![upload-file](../../../../img/new_ui/dev/resource/upload-file.png)

### Re-upload file

Click the "Re-upload File" button in the file list to re-upload the file, drag and drop the file to the upload area, and the file name will be automatically completed with the uploaded file name.

![reuplod_file](../../../../img/reupload_file_en.png)

### View File

For viewable file types, click the file name to view the file details.

![file_detail](../../../../img/tasks/demo/file_detail.png)

### Download File

Click the "Download" button in the file list to download the file or click the "Download" button in the upper right corner of the file details to download the file.

### Rename File

![rename-file](../../../../img/new_ui/dev/resource/rename-file.png)

### Delete File

File list -> Click the "Delete" button to delete the specified file.

> Note: File name or source name of your local file can not contain specific characters like `.` or `/` when you trying to
> upload, create or rename file in resource center.

## Example

This sample mainly uses a simple shell script to demonstrate how to use Content Center files in a workflow definition. The same is true for tasks such as MR and Spark that require jar packages.

### Create a shell file

Create a shell file, print `hello world`.

![create-shell](../../../../img/new_ui/dev/resource/demo/file-demo01.png)

### Create the workflow execution shell

In the workflow definition module of project Manage, create a new workflow using a shell task.

- Script: 'sh hello.sh'
- Resource: Select 'hello.sh'

![use-shell](../../../../img/new_ui/dev/resource/demo/file-demo02.png)

### View the results

You can view the log results of the node running in the workflow instance. As shown below:

![log-shell](../../../../img/new_ui/dev/resource/demo/file-demo03.png)
