File
Upload and download files.
Usage:
lightning file [OPTIONS] COMMAND [ARGS]...Commands
Command |
Description |
|---|---|
Download a file from a Studio or Teamspace drive file. |
|
Upload a file to a Studio. |
lightning file download
Download a file from a Studio or Teamspace drive file.
Usage:
lightning file download [OPTIONS] PATHArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Remote file path to download. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
— |
The name of the studio to download from. Will show a menu with user’s owned studios for selection if not specified. If provided, should be in the form of <TEAMSPACE-NAME>/<STUDIO-NAME> where the names are case-sensitive. The teamspace and studio names can be regular expressions to match, a menu filtered studios will be shown for final selection. |
|
|
no |
— |
The teamspace the file is part of. Should be of format <OWNER>/<TEAMSPACE_NAME>. |
|
|
no |
|
The path to the directory you want to download the file to. |
lightning file upload
Upload a file to a Studio.
Usage:
lightning file upload [OPTIONS] PATHArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Local file path to upload. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
— |
The name of the studio to upload to. Will show a menu for selection if not specified. If provided, should be in the form of <TEAMSPACE-NAME>/<STUDIO-NAME> |
|
|
no |
— |
The path where the uploaded file should appear on your Studio. Has to be within your Studio’s home directory and will be relative to that. If not specified, will use the name of the file you want to upload and place it in your home directory. |
Was this page helpful?
Thanks for the feedback.