Work with Artifacts using Command Prompt Window
You can upload your files and folders to the Cloud Repository and download them to your local drive using the Command Prompt window. You can also integrate the Cloud Repository with third-party tools.
To start working with the Cloud Repository using the Command Prompt window, download the cli-(version number)-(archive date).jar file to your local drive.
To upload and download artifacts, use the help instructions provided in the Command Prompt window.
To get the help instructions:
- Open the Command Prompt window.
- At the command prompt, enter the path to the cloud console file, your credentials, and the command to display help.
C:\Users\Administrator>java -jar cli-1.1.jar --username {your user name} --password {your password} --help
- Press Enter.
The following commands are available:
download |
Use to download files or folders to the output folder. |
upload |
Use to upload files or folders to the target repository path. |
list |
Use to get a list of files and folders stored in the repository. |
The following options are available:
--repositoryPath, -rp |
Use to indicate the repository path for the task. |
--help, -help, -?, -h |
Use to get help for a particular command. |
--output, -o |
Use to indicate the output folder for a download. For example: -o=/home/user/output |
--overwrite, -ow |
Use to overwrite files or folders. By default, it is set to false. |
--recursive, -r |
Use to do a recursive folder download. By default, it is set to true. |
--input, -i |
Use to indicate the input files or folders for the upload. For example: -i=/home/user/file.txt |