Overview
copyparty makes it easy to share files with others, whether for simple downloads or collaborative uploads. This guide covers setting up basic file sharing with customizable permissions.Quick Start
The simplest file sharing server shares your current directory with everyone:http://your-ip:3923/.
Basic File Sharing Scenarios
/mnt/share - Local folder on your server/files - URL path (access at http://your-ip:3923/files)r - Read-only permission for everyone-a alice:secret123 - Creates user alice with password secret123r,alice - Only user alice can read/downloadw - Write-only permission (upload but cannot see files)Configuration File Approach
For complex setups, use a configuration file instead of command-line arguments:Enabling File Indexing
For better performance and features like duplicate detection:-e2dsa- Scan and index all files on startup- Enables search, prevents duplicate uploads
- Creates
.hist/up2k.dbdatabase in each volume
Sharing Links with Passwords
You can include passwords directly in URLs:--usernames is enabled, use username:password:
Creating Temporary Shares
Enable the shares feature to let users create temporary links:- Navigate to a file or folder
- Click the “share” button (bottom-right)
- Set expiration time and optional password
- Share the generated link
http://your-server:3923/share/...
Making It Accessible Online
- Cloudflare Tunnel
- Port Forwarding
Quick way to make your server accessible over the internet:Add to copyparty:
Permission Reference
| Permission | Description |
|---|---|
r | Read: browse folders, download files |
w | Write: upload files |
m | Move: move files FROM this folder |
d | Delete: delete files/folders |
g | Get: download files only (no browsing) |
G | Upget: like g but uploaders see their filekeys |
a | Admin: see upload times, IPs, reload config |
A | All: shortcut for rwmda |
Tips and Best Practices
Prevent accidental deletions
Prevent accidental deletions
Don’t give
d (delete) permission unless necessary. Use rw instead of A for regular users.Monitor uploads
Monitor uploads
Add the admin permission to see who uploaded what:
Set upload size limits
Set upload size limits
Restrict file sizes and total volume:
Enable unpost feature
Enable unpost feature
Let users delete their own uploads within a time window:Users can undo uploads within 12 hours (43200 seconds).
Next Steps
- Set up a media server for audio/video streaming
- Configure write-only folders for anonymous uploads
- Enable deduplication to save disk space
- Set up authentication with SSO