# Proton Drive Setup with PGP Encryption

> How to connect Blober to Proton Drive. Download and upload files with automatic PGP encryption and decryption. Browser-based login, no API keys.

Proton Drive is Proton's end-to-end encrypted cloud storage service. Blober connects to your Proton Drive through a browser-based login. No API keys or developer setup required.

## Capabilities

* ✅ Browse files and folders
* ✅ Download files (decrypted automatically)
* ✅ Upload files (encrypted automatically)
* ✅ Delete files (moves to Proton trash)
* ✅ View file metadata (filename, dates, size)
* ❌ Create folders
* ❌ Move/rename files

## Prerequisites

A [Proton](https://proton.me/) account with Drive enabled (free or paid)

## Setup

1. Go to **Workflows** => **New Workflow**
2. Select **Proton Drive** as source or destination
3. Click **Open Proton Drive Login**
4. A browser window opens. Sign in with your Proton account (email, password, and 2FA if enabled)
5. Wait for Proton Drive to fully load in the window
6. Blober captures your session automatically and the window closes
7. Start browsing or transferring files

> **Tip**
>
> Your session lasts approximately 12 hours. When it expires, Blober will open a login window so you can sign in again. No data is lost.

## Multiple Accounts

Blober supports connecting multiple Proton accounts at the same time.

1. In a workflow, open the **Proton Account** dropdown
2. Click **+ New Account** to connect another Proton account
3. A new login window opens. Sign in with a different account
4. Switch between accounts using the dropdown

Each account maintains its own isolated session. You can run workflows against different accounts in parallel.

Use **↻** to refresh the account list.

## File Organization

Proton Drive preserves your folder structure as-is:

```plaintext
/Documents/report.pdf
/Photos/vacation/IMG_001.jpg
/Videos/project-demo.mp4
```

### File Selection

When browsing your Proton Drive, you can select:

* **Individual files** by clicking a single file
* **Multiple files** by checking several files across folders
* **Entire drive** by ticking the **/ (Entire Storage)** checkbox

After making your selection, click **Submit Selection** to add the files to your workflow.

## Performance

Proton Drive operations are slower than other providers because all data is end-to-end encrypted. Blober handles encryption and decryption automatically.

* **Browsing** is slower because each filename is individually encrypted
* **Downloads** are decrypted automatically as they transfer
* **Uploads** of very large files may be limited by available memory for now (improvements coming soon)

## Metadata

Each file includes the following metadata, available for use in Blober's naming templates:

| Field          | Example      |
| -------------- | ------------ |
| Filename       | `report.pdf` |
| Created date   | 2026-01-23   |
| Modified date  | 2026-05-10   |
| File size      | 14.2 MB      |
| File extension | `.pdf`       |

## Troubleshooting

### Login window stays open

Proton's app takes a few seconds to fully load after login. Wait for the Drive interface to appear. Blober will detect it and close the window automatically.

### "App did not become ready" error

This means Proton Drive's web app didn't finish loading within 30 seconds. Try again. The Proton servers may be slow, or your connection may have timed out.

### Session expired during transfer

If your session expires mid-transfer, Blober will prompt you to sign in again. The workflow resumes from where it left off. No files are lost or duplicated.