Vault & File Operations
KeepCloud Vault unifies directory browsing, chunked file uploads, cross-provider transfers, safe Recycle Bin recovery, and encrypted sharing behind consistent web UI controls and REST endpoints.
Unified Browsing & Recursive Tree Listing
GET `/api/cloud/files` merges root and nested directory listings across connected accounts while streaming real-time thumbnails via `/api/proxy/thumbnail` and downloads via `/api/proxy/download`.
Recursive listing for AI agents and unified indexing enforces deterministic depth guards (`MAX_MCP_TREE_DEPTH = 10`, up to `500` files per call) so large drives stay responsive without infinite traversal.
Chunked Uploads & Server-Side PDF Generation
- Vault Upload Limit (2048 MB Default): Standard dashboard uploads via POST /api/cloud/upload and POST /api/cloud/files/upload support up to 2048 MB (2 GB, controlled by MAX_UPLOAD_SIZE_MB).
- AI Connector Upload Cap (25 MB): Uploads initiated via MCP (keepcloud_save_file) apply a 25 MB safety ceiling (MAX_MCP_SAVE_BYTES) to protect stateless agent HTTP sessions.
- Markdown-to-PDF Rendering: When AI agents save a .pdf filename with UTF-8 Markdown content in keepcloud_save_file, KeepCloud renders clean multi-page A4 PDF documents server-side with PyMuPDF instead of requiring fragile client-side base64 blobs.
Move & Cross-Cloud Copy
Organize files within the same provider (`POST /api/cloud/files/move`) or replicate files across folders and completely different cloud providers (`POST /api/cloud/files/copy` / `keepcloud_copy_file`).
Zero-Destructive Transfers
Cross-cloud copy streams data from the source provider (such as Telegram Cloud) directly into the target provider (such as Google Drive or OneDrive) while preserving the original file intact.
Frequently Asked Questions
Can I share a file stored in Telegram or OneDrive with someone who has no KeepCloud account?
Yes. KeepCloud generates an opaque /v/s/{token} URL (or file share link) with optional expiration and password protection so recipients can preview or download safely.
Why does MCP have a 25 MB upload limit while Vault supports 2048 MB?
Direct web uploads stream files in chunks into your connected drive, whereas JSON-RPC AI tool calls serialize payloads inline; capping AI tool writes at 25 MB prevents agent timeouts and memory spikes.