- rclone
rclone config
Use the following values:
Common rclone CommandsCode: Select all
Storage: swift env_auth: false auth: https://authenticate.ain.net user: email key: password tenant: storage auth_version: 2
Code: Select all
rclone lsd blomp: rclone ls blomp:my-container rclone copy file.txt blomp:my-container rclone copy blomp:my-container/file.txt . rclone sync ./localdir blomp:my-container - Python
Upload and download objects from SwiftCode: Select all
from swiftclient.client import Connection conn = Connection( authurl="https://authenticate.ain.net", user="email", key="password", tenant_name="storage", auth_version="2" )
Code: Select all
conn.put_object("my-container", "example.txt", open("example.txt", "rb")) headers, body = conn.get_object("my-container", "example.txt") open("downloaded.txt", "wb").write(body) - PHP
Code: Select all
use OpenStack\OpenStack; $openstack = new OpenStack([ 'authUrl' => 'https://authenticate.ain.net', 'user' => [ 'name' => '
OpenStack Swift Guide
-
BlompSupport
- Posts: 524
- Joined: Wed Feb 13, 2019 4:20 pm
- Contact:
OpenStack Swift Guide
This guide explains how to use OpenStack Swift with rclone, Python, and PHP, using the following Swift configuration (Blomp-style).
Status :
- Blomp support
Check out our video! Trust me, you're going to blomping love it. https://www.youtube.com/watch?v=klnAFs3H3bw&t=70s
Check out our video! Trust me, you're going to blomping love it. https://www.youtube.com/watch?v=klnAFs3H3bw&t=70s
Who is online
Users browsing this forum: No registered users and 2 guests