Manage Cloud Storage using Python SDK

Upload, Download, Delete Files and Folders in Cloud Storage using Aspose.Storage Cloud SDK for Python.

Start Free Trial
Python SDK for Cloud Storage

Aspose.Storage Cloud SDK for Python

 

Complete Cloud Storage Management SDK

Aspose.Storage Cloud SDK for Python is very flexible and allows its users to use their own cloud storage or any other 3rd party storage services which they are comfortable using with. The SDK goes beyond limitations and acts as a kind of gateway between developers and the Cloud Storage users. This will allow you to write your Application once, and we will take care of both the file formats and also let you support many different Cloud Storage platforms through a single consistent interface. The Cloud storage SDK facilitates the users to speed up the development of applications, as it takes care of low-level details for making requests and handling responses. Hence it enables the users to put more focus towards writing code specific to their particular project.

Previous Next

Advanced features of Cloud Storage SDK

 

 

Support for default Aspose storage

 

Support for 3rd party storage services

 

Folder related operations support

 

Support for files manipulation

 

Disc usage details

 

SDK usage statistics and server Logs

Flexible Cloud Storage

It is easy to get started using Aspose.Storage Cloud SDK for Python. The SDK is developed on top of Cloud REST API to perform different Storage related operations in Python applications. It offers many storage related features including support for default Aspose storage and integration with 3rd party storage services. The API supports HTTP requests and receives the response in the form of JSON or XML data. Therefore any platform which supports the HTTP requests and responses is capable of using this SDK.

Get Disc Usage Statistics and Server Logs

When using Cloud storage SDK, you may have a requirement to get information regarding the amount of disk space used. In order to fulfill this requirement, the SDK provides the capabilities to get information regarding the disc storage used, with few lines of code.

With the help of this SDK, you can get your usage statistics and server logs for any period of time. The period may include the current month or previous month. The returned information is in XLSX format so that you can save it for auditing purposes.

File Management in Cloud Storage

When using Aspose.Storage Cloud SDK for Python, you can perform a number of file management related operations. Given below is the list of operations currently supported by cloud SDK:

The following code snippet shows how to move a file from one location to another location using Cloud SDK

Move File to Another Location - Java


StorageApi api = new StorageApi("https://api.aspose.cloud/v1.1", "xxxxx", "xxxxx");
String src = "testfile.txt";
String dest = new File("Documents/", "/testfile.txt").getPath();
String versionId = null;
String storage = null;
String destStorage = null;
MoveFileResponse response = api.PostMoveFile(src, dest, versionId, storage, destStorage);

Folders management in Cloud Storage

Aspose.Storage Cloud SDK for Python also provides the capabilities to perform operations related to folders in Cloud storage. Given below are some of the features currently supported for folders in Cloud storage. Please note that these operations can be performed on Aspose Cloud storage or supported third-party storage.

The following code snippet shows how to Create a Folder on Third party storage using Cloud SDK

Create a New Folder on Third party Storage - Java


StorageApi api = new StorageApi("https://api.aspose.cloud/v1.1", "xxxxx", "xxxxx");
String path = "My Documents";
String storage = "MyDropboxStorage";
String destStorage = null;
ResponseMessage response = api.PutCreateFolder(path, storage, destStorage);
 

Support and Learning Resources

 
  

Aspose.Storage also offers, Cloud Storage management SDKs for other popular languages, as listed below: