Friday, October 18, 2019

Upload files to Oracle Object Storage Classic with FTM CLI

1. Download the FTM CLI  (File Transfer Manager command-line interface) from below URL.

https://www.oracle.com/downloads/cloud/storage-cloud-upload-cli-downloads.html

2. Upload the ftmcli-v2.4.3.zip to the cloud server.

3. Configure below parameters in the ftmcli.properties file.

rest-endpoint=
user=

4. Then copy the file required to upload to the same directory

5. Then upload the backup using below command.

$  ls
ftmcli.jar  ftmcli.log  ftmcli.properties  README.txt  test.tar

$  java -jar ftmcli.jar upload Apps_Backup test.tar
Enter your password:
Uploading file: test.tar to container: Apps_Backup
File successfully uploaded: test.tar
Estimated Transfer Rate: 26671KB/s