copyparty is a lightweight file server that you use entirely in your browser. Upload files and entire folders with drag and drop, download them individually or as a ZIP archive, share them with others using a link, and mount the server as a network drive in Windows, macOS, or Linux using WebDAV. Large uploads are transferred in chunks and resume automatically after a connection is interrupted. copyparty also includes previews for photos and videos, a media player for music, and file search. copyparty is open source (MIT license) and written in Python. It does not require a database.
In this guide, we’ll show you two ways to get started: the simple One-Click App option, which runs copyparty with password protection and HTTPS at your own address, and a manual installation with Docker Compose. Then, you’ll learn how to share files and mount copyparty as a drive.
copyparty is a good choice if:
- You want to transfer large files reliably, such as videos, backups, or project folders. copyparty resumes interrupted uploads instead of starting over.
- You want to share files with others quickly without requiring recipients to create an account. Sharing links can have a password and an expiration date.
- You need your own online storage that you can access in a browser and as a network drive.
- You have limited resources. copyparty runs with 256 MB of RAM. The storage space on your VPS is the real limit.
copyparty is less suitable if you want to automatically sync folders between multiple devices, collaborate on Office documents, or manage calendars and contacts. For those needs, Nextcloud is the more comprehensive solution.
The quickest way to get copyparty running is through your VPS’s One-Click Apps. With a domain, the app is available directly over HTTPS. You don’t need to configure a reverse proxy, certificate, or firewall rules.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
- copyparty itself needs 1 vCore and at least 256 MB of RAM; 512 MB is recommended.
- Enough free storage for your files. Everything you upload is stored on your VPS’s SSD.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for copyparty in the App catalog and click Install app.
- Use a custom subdomain or zap.cloud is already selected. Leave it enabled and enter a name, such as
dateien. For zap.cloud, ZapX adds your server number to the name. The finished address is shown in the form. Always run copyparty with a domain; otherwise, your password and files will be sent over the network unencrypted. - You don’t need to enter anything under App configuration. ZapX generates a username and password during installation.
- Click Queue installation. After about one or two minutes, copyparty will show as online on the app card.
You can find the login details in the app settings (gear icon), under App environment > Automatically generated values. Click the eye icon to show a value or the copy icon to copy it:
| Value | Meaning |
|---|---|
SERVICE_USER_COPYPARTY | Your account name (for example, zapx). After you log in, copyparty displays it in the top-right corner next to Logout. |
SERVICE_PASSWORD_COPYPARTY | Password for the web interface and WebDAV |
Open the app’s Access link. Before you log in, you’ll see only a page with a password field. Enter your password and click login. copyparty does not ask for a username in the browser; the password alone determines the account. After logging in, you’ll see Read-Write-Move-Delete-Admin access in the top-right corner. This means your account can read, upload, move, rename, and delete files, and manage sharing links. The web interface is in English, so this guide uses its English labels.
The One-Click App creates exactly one account and gives only that account access to your files. Anyone who visits the address without a password will see only the login page and won’t be able to view or upload files. Anyone who enters an incorrect password nine times within an hour will be blocked for 24 hours. The block applies only to the attacker’s IP address, so you can still access the server.
After logging in, you’ll see a toolbar at the top and the file list below it.
- Upload: Drag files or entire folders into the browser window. Alternatively, click the rocket icon (🚀 up2k) and then drop files / folders here (or click me). copyparty will briefly ask where to put the files. Click OK to start the upload. Under parallel uploads, you can choose how many files to transfer at once.
- Create a folder: Use the folder icon (📂 mkdir) to create a folder, or the notepad icon (📝 new-file) to create a text file.
- Move, rename, or delete: Click a row in the file list, but not the filename itself, to select a file. The name (rename), del. (delete), cut, and paste (move) buttons will then appear in the bottom-right corner. You can also use keyboard shortcuts:
F2renames a file,Ctrl+XandCtrl+Vmove it to another folder, andCtrl+Kdeletes it. - Download: Click a file to download or view it. Click zip in the bottom-right corner to download the current folder as an archive.
- Search: The magnifying glass (🔎) searches all files by name, path, size, or date.
If a large upload is interrupted, for example because your Wi-Fi disconnected, simply drag the same files into the window again. copyparty recognizes the parts that have already been transferred and uploads only the rest. This even works after restarting your computer.
To check for a new version, open the app settings (gear icon), go to App update, and click Check for updates. Click Apply update to install a new version. If the page says the app is up to date, there isn’t a newer version in the app catalog. copyparty resumes any uploads that were in progress during an update.
Your files are stored in the app’s volume at /w; sessions and sharing links are stored in a second volume at /cfg. Both are retained through restarts and updates. Be sure to make your own backup as well: backing up your VPS in the Backups tab will save everything. You can also download individual folders as needed using zip.
The rest of this guide describes how to manually install copyparty on your VPS using Docker Compose. For example, you might choose this option if you don’t use One-Click Apps on your server, need multiple accounts with different permissions, or want to share existing folders. This guide is based on the official copyparty Docker guide.
- A Linux VPS running Debian or Ubuntu, with SSH access. See First Access via SSH.
- Docker and Docker Compose. See Install Docker. Check that they’re installed with
docker --versionanddocker compose version. - For HTTPS: a domain or subdomain whose A record points to your VPS’s IP address (for example,
dateien.example.com).
copyparty itself requires few resources. Choose your storage capacity based on the size of your files:
| Minimum | Recommended | |
|---|---|---|
| CPU | 1 vCore | 1 vCore |
| RAM | 256 MB | 512 MB |
| Storage | 1 GB | 10 GB plus your files |
copyparty listens on port 3923 inside the container. Don’t open this port; copyparty should be accessible only through a reverse proxy with HTTPS. Use ufw to allow only SSH and the ports required by the reverse proxy:
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable
sudo ufw status
In the Compose file below, port 3923 is bound only to 127.0.0.1. This means only the reverse proxy on the same server can access it, even if Docker sets its own firewall rules.
Without configuration, copyparty gives every visitor read and write access. So first, create a configuration file with an account and its permissions. Create a folder with subfolders for configuration and files:
mkdir -p ~/copyparty/cfg ~/copyparty/data
cd ~/copyparty
Create the file cfg/copyparty.conf, for example with nano cfg/copyparty.conf. Replace max and EinLangesPasswort with your username and a secure password:
[global]
e2dsa # Dateien indexieren (Suche, Duplikate erkennen)
shr: /share # Freigabe-Links einschalten
xff-src: lan # dem Reverse Proxy auf demselben Server vertrauen
rproxy: -1 # echte Besucher-IP aus X-Forwarded-For lesen
daw # WebDAV darf bestehende Dateien überschreiben
[accounts]
max: EinLangesPasswort
[/]
/w
accs:
A: max # max darf alles: lesen, schreiben, verschieben, löschen, verwalten
[accounts]defines the accounts, with one per line in the formatname: password.[/]makes the/wfolder in the container copyparty’s home page. Underaccs, you assign permissions.Astands for all permissions. Other options includer(read),w(upload),m(move), andd(delete), which you can combine. For example,rw: lisagives an account permission to read and upload, but not delete.- To set up additional folders with their own permissions, add sections such as
[/photos]. See the official documentation on accounts and volumes for examples. xff-srcandrproxylet copyparty see visitors’ real IP addresses when it’s behind a reverse proxy. This matters because copyparty blocks attackers after nine incorrect passwords. Without these lines, the block would apply to the reverse proxy and therefore affect all visitors.
copyparty runs in the container as a user with ID 1000. Give it access to both folders and protect the configuration file, since it contains your password:
sudo chown -R 1000:1000 cfg data
sudo chmod 600 cfg/copyparty.conf
Create the file compose.yaml in the ~/copyparty folder:
services:
copyparty:
image: copyparty/ac:1.20.28
container_name: copyparty
restart: unless-stopped
user: "1000:1000"
ports:
- "127.0.0.1:3923:3923"
volumes:
- ./cfg:/cfg
- ./data:/w
environment:
PYTHONUNBUFFERED: 1
stop_grace_period: 15s
Important lines:
imageuses the recommendedacbuild with a fixed version. It also includes FFmpeg for video previews and the media player. Find the latest version in the copyparty releases.userruns copyparty without root privileges.portsbinds copyparty only to127.0.0.1. The port can’t be accessed externally../cfgcontains your configuration. copyparty reads every file ending in.confin this folder and stores its own session and sharing-link files alongside them../datais the folder copyparty shares. To share an existing folder such as/srv/dateien, enter it here instead of./data.PYTHONUNBUFFEREDensures that messages appear in the logs immediately.
Start copyparty:
docker compose up -d
docker compose logs -f
The logs show a list of folders and their permissions, as well as the line listening @ [::]:3923. Check that your account is listed next to read, write, and delete. Press Ctrl+C to exit the log view; the container will keep running.
Before setting up the reverse proxy, you can test copyparty through an SSH tunnel. Run this command on your own computer:
ssh -L 3923:127.0.0.1:3923 root@SERVER_IP
Then open http://localhost:3923 in your browser and log in with your password. You don’t need a username; the password determines the account.
Set up nginx as a reverse proxy, as described in Set Up a Reverse Proxy with nginx, and get a certificate as explained in SSL Certificate with Let's Encrypt. The server block for copyparty follows the official example:
server {
listen 80;
server_name dateien.example.com;
client_max_body_size 1024M;
client_body_timeout 610m;
send_timeout 610m;
location / {
proxy_pass http://127.0.0.1:3923;
proxy_redirect off;
proxy_http_version 1.1;
proxy_buffering off;
proxy_request_buffering off;
proxy_set_header Connection "Keep-Alive";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
client_max_body_sizeallows large upload chunks. copyparty sends files in chunks of up to 96 MB. With nginx’s default value of 1 MB, every larger upload will fail.proxy_buffering offandproxy_request_buffering offpass uploads and downloads straight through instead of temporarily storing them in nginx.X-Forwarded-Forprovides copyparty with the visitor’s real IP address.
Then run sudo nginx -t and sudo systemctl reload nginx, and get the certificate with sudo certbot --nginx -d dateien.example.com. copyparty is now available at https://dateien.example.com.
Your files are in ~/copyparty/data; configuration, sessions, and sharing links are in ~/copyparty/cfg. To make a backup, briefly stop copyparty and package both folders into an archive:
cd ~/copyparty
docker compose stop
sudo tar czf ~/copyparty-backup-$(date +%F).tar.gz cfg data
docker compose start
Copy the archive to another computer or storage location. If you have a lot of data, a tool such as rsync is more practical because it transfers only changes.
Enter the new version number after copyparty/ac: in compose.yaml and restart the container:
cd ~/copyparty
docker compose pull
docker compose up -d
docker image prune -f
The changes in each version and the security vulnerabilities fixed are listed in the copyparty releases. Keep copyparty up to date, especially if you use sharing links.
A sharing link lets you share a folder or individual files with people who don’t have an account.
- Open the folder you want to share. To share only specific files, select them first.
- Click share in the bottom-right corner.
- Under name, you can enter a custom name for the link. If you leave it blank, copyparty chooses a random name. You can optionally set a password under passwd.
- Under expiry, set how long the link should remain valid, for example, enter
7under days. Select eternal if you don’t want it to expire. - Under perms, choose what visitors can do: read lets them view and download files. If you’re sharing an entire folder, you can also select write to allow uploads or write-only to allow uploads only, for example, for a drop box where others can send you files.
- Click create share. copyparty will show you the completed link.
You can find all your shares under control-panel below the file list. There, you can extend or delete them. Visitors can access sharing links at your server’s address, followed by /share/ and the link name.
copyparty supports WebDAV at the same address as the web interface. copyparty provides the exact instructions for your system: click connect on the home page and select Windows, Linux, or macOS.
- Windows: Open File Explorer, right-click This PC, and select Map network drive. Enter your server address as the folder, for example,
https://dateien.example.com/. When logging in, it’s best to enter your password in the username field. This avoids a known Windows issue that occurs after a restart. - macOS: In Finder, select Go > Connect to Server and enter your server address.
- Linux: In file managers such as Nautilus, enter
davs://dateien.example.com/; in Dolphin, enterwebdavs://dateien.example.com/. rclone is faster and more reliable. Click connect to see the right command.
For the One-Click App, use the address from the Access link instead of dateien.example.com. If you save a file using WebDAV and a file with the same name already exists, copyparty replaces it. You can also move, rename, and delete files in File Explorer or Finder.
For Android, the lightweight PartyUP app from F-Droid lets you upload files to copyparty with a single tap. On iPhone and iPad, open the web interface in Safari or use the Shortcuts from the official documentation. For downloading on iPhone and iPad, copyparty recommends Firefox.
- No FTP, SFTP, or SMB. copyparty supports these protocols, but the One-Click App exposes only the web interface and WebDAV over HTTPS. If you need them, use the manual installation and open the relevant ports.
- Only one account. To set up multiple accounts with different permissions, use the configuration file in the manual installation. For sharing with others, the One-Click App’s sharing links are sufficient.
- You can’t choose your own password. ZapX generates the password during installation. You can view it under App environment, but you can’t change it there.
- No automatic sync. copyparty doesn’t sync folders between devices like a sync client. rclone is a good option for one-time or regular syncs.
With copyparty, you get your own very lightweight file server that reliably transfers large uploads, lets you share files with a link, and can be mounted as a network drive. The quickest way to get started is with the One-Click App: queue the installation, log in with the generated password, and upload files. If you need multiple accounts, custom folders, or additional protocols, the manual installation with Docker Compose gives you full control.
