neodesk transfers
Als Markdown kopierenDateiübertragungen zwischen der Konsole und Geräten.
Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit neodesk transfers --help zeigt. Die Flags, die jeder Befehl kennt, stehen in der Befehlsreferenz.
neodesk transfers cancel
Cancel a file transfer.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk transfers cancel <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs device.connect; changes something: needs a token with read and write access. Calls POST /api/files/transfers/{id}/cancel.
neodesk transfers download
Download the file of a transfer (use --output).
neodesk transfers download <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs device.connect; only reads; the answer holds secrets or private content. Calls GET /api/files/transfers/{id}/download.
neodesk transfers get
Show one file transfer.
neodesk transfers get <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs device.connect; only reads. Calls GET /api/files/transfers/{id}.
neodesk transfers list
List file transfers.
neodesk transfers list [flags]Needs device.connect; only reads. Calls GET /api/files/transfers.
neodesk transfers start
Start a file transfer to or from a device.
neodesk transfers start [flags]| Flag | What it is |
|---|---|
--direction upload|download |
upload (console to device) or download (device to console) |
--device-id DEVICE_ID |
the device's ID |
--filename FILENAME |
the file's name; only its last part is kept |
--size N |
file size in bytes, at most 4 GiB (left out: unknown) |
--mime-type MIME_TYPE |
the file's content type, at most 255 characters (left out: application/octet-stream) |
Needs device.connect; changes something: needs a token with read and write access; runs something on a device or the server. Calls POST /api/files/transfer.