io7m | single-page | multi-page | epub | Cardant User Manual 0.0.2
7.2.8. file-get
Previous
7.2. Shell Command Reference
Up
7.2.10. file-search-begin
Next

# 7.2.9. file-put

- 7.2.9.1. Name
- 7.2.9.2. Description
- 7.2.9.3. Parameters

## 7.2.9.1. Name

1
file-put - Upload a file.

## 7.2.9.2. Description

1
The file-put command creates or updates a file on the server.

## 7.2.9.3. Parameters

### 7.2.9.3.1. --content-type

Attribute | Value
--- | ---
Name | --content-type
Type | java.lang.String
Default Value |
Cardinality | [0, 1]
Description | The content type (inferred if not specified).

### 7.2.9.3.2. --description

Attribute | Value
--- | ---
Name | --description
Type | java.lang.String
Default Value |
Cardinality | [0, 1]
Description | The file description.

### 7.2.9.3.3. --file

Attribute | Value
--- | ---
Name | --file
Type | java.nio.file.Path
Default Value |
Cardinality | [1, 1]
Description | The file.

### 7.2.9.3.4. --id

Attribute | Value
--- | ---
Name | --id
Type | com.io7m.cardant.model.CAFileID
Default Value |
Cardinality | [1, 1]
Description | The file ID.

7.2.8. file-get
Previous
7.2. Shell Command Reference
Up
7.2.10. file-search-begin
Next
io7m | single-page | multi-page | epub | Cardant User Manual 0.0.2