ck remote fs upload

Uploads a file from the CanKingService file system to the local machine.

Synopsis

ck remote fs upload
    <REMOTE_PATH>
    [--url <String>]
    [--api-key <String>]
    [--language <en|zh|ja>]
    [-o|--out <LOCAL_PATH>]

ck remote fs upload -h|--help

Arguments

  • REMOTE_PATH
    The path of the file to upload from the CanKingService file system.

Options

  • --url
    Specify the URL of the CanKingService if connecting to a remote host. Falls back to the CANKING_REMOTE_URL environment variable. If not specified, the command will connect to a local CanKingService instance.

  • --api-key
    API key required when connecting to a remote CanKingService instance. Falls back to the CANKING_REMOTE_API_KEY environment variable.

  • --language
    Specify the preferred language to be used in all output strings. Default value is English (en). Supported languages are English (en), Chinese (zh), and Japanese (ja).

  • -o|--out
    The local path where the uploaded file will be saved. Defaults to the current directory using the original file name.

Examples

ck fs upload /remote/path/to/file.log
ck fs upload /remote/path/to/file.log --out C:\local\output.log