---
title: "Cloud Archive Swift - Manage your archives with an SFTP/SCP client"
description: "Find out how to manage your Public Cloud Archives"
url: https://docs.ovhcloud.com/en/guides/storage-and-backup/object-storage/pca-sftp
lang: en
lastUpdated: 2022-05-13
---
# Cloud Archive Swift - Manage your archives with an SFTP/SCP client

## Objective

Object Storage is a storage solution that is managed primarily through the OpenStack API. However, you might not be familiar with managing storage space via command line. Therefore, we have developed a gateway which makes it possible to connect to your PCA container with an SFTP client.

## Requirements

- SFTP Client: [WinSCP](https://winscp.net/eng/download.php)
- OpenStack login & password
- TenantName of the project

## Instructions

### SFTP Client

In this example, we use WinSCP but you can use any SFTP client. Configurations of SFTP clients are similar as explained here, regardless of the client.

### OpenStack ID

You can generate your OpenStack login & password using this [guide](/en/guides/public-cloud/cross-functional/create-and-delete-a-user.md).

### TenantName

The TenantName corresponds to the name of your Horizon Project. To get the TenantName, you need to connect to the OpenStack web interface: [https://horizon.cloud.ovh.net/](https://horizon.cloud.ovh.net/). Once logged in, the TenantName is visible at the top of page.

![horizon](/images/storage-and-backup/object-storage/pca-sftp/image1.png)
### Connection

- Host Name: gateways.storage.\{region}.cloud.ovh.net
- User Name: pca
- Password: \{TenantName}.\{Username\_Openstack}.\{Password\_Openstack}
- Port: 22

![connexion](/images/storage-and-backup/object-storage/pca-sftp/image2.png)
### Example

If you have created a PCA container in SBG:

- Host Name: gateways.storage.sbg.cloud.ovh.net
- User Name: pca
- Password: 971891XXXX1214.f6nBXXXXXAmcv.SfPeASYfuWeqBZgXXXXX2XhF3DY12RkD

![connexion](/images/storage-and-backup/object-storage/pca-sftp/image3.png)
### WinSCP Setting

In this part we will disable two WinSCP options:

**Transfer Resume / Transfer to Temporary Filename**: This option will have to be disable because recovery is not possible with PCA and WinSCP can return you an error.

- In the "Endurance" section, select "Disable".

![connexion](/images/storage-and-backup/object-storage/pca-sftp/conf1.png)
**Preserve Timestamp**: TimeStamp corresponds to the date of modification of the file. We disable it because on PCA we replace this data with the date of upload of the file.

- In the "Transfer" section, click on "Edit...".

![connexion](/images/storage-and-backup/object-storage/pca-sftp/conf2.png)
- Uncheck "Preserve timestamp".

![connexion](/images/storage-and-backup/object-storage/pca-sftp/conf3.png)
### Data recovery

Data recovery requires that the object be unlocked first. A GET request must be made on the object in question. If this command is not made beforehand, your SFTP client will return an error message when attempting to download a file. Consult our guide to learn how to unlock your object [here](/en/guides/storage-and-backup/object-storage/pca-unlock.md).

## Go further

If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](https://www.ovhcloud.com/en-gb/professional-services/) to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.

Join our [community of users](https://community.ovhcloud.com/).
