Skip to main content

Overview

copyparty is a multi-protocol file server supporting HTTP(S), WebDAV, FTP/FTPS, SFTP, TFTP, and SMB/CIFS. Each protocol serves different use cases and client compatibility needs.

HTTP/HTTPS

The primary protocol for web browser access and the REST API.

Basic Configuration

HTTPS/TLS

For production deployments, consider using a reverse proxy (nginx, Caddy) to handle HTTPS and obtain certificates automatically via Let’s Encrypt.

WebDAV

Mount copyparty as a network drive in your file explorer.

Features

  • Read/write support
  • Compatible with Windows XP+, macOS, Linux (Nautilus/GVFS)
  • Works with mobile WebDAV clients

Connecting from Different OSs

GUI Method:
  1. Right-click “My Computer” → “Map network drive”
  2. Folder: http://192.168.1.100:3923/
  3. Username: your password (password field can be empty)
Command Line:
Windows has several WebDAV bugs:
  • Doesn’t send password on reauthentication (workaround: put password in username field)
  • Can’t access folders with forbidden characters (<>:"/\|?*) or ending with .
  • May open new TCP connection per file and forget to close them

WebDAV Configuration

Enabling daw makes all PUT uploads overwrite existing files if the user has delete access. Use with caution or configure dav-port instead.

FTP/FTPS

FTP server for legacy clients and high-speed transfers.

Configuration

Config File Example

Firewall Rules

Authentication

  • Login with any username + your password
  • Or put password in username field (password can be empty)
  • Unless --usernames is enabled (then both required)

Performance Notes

  • Faster than WebDAV in many cases
  • No resumable uploads (delete and restart if needed)
  • Active mode by default (use --ftp-pr for passive mode)

SFTP (SSH File Transfer)

SSH-based file transfer, more secure than FTP.
This is not FTPS (FTP-TLS). SFTP uses SSH protocol and SSH keys for authentication.

Requirements

Configuration

Config File Example

Performance

  • Roughly 700 MiB/s throughput
  • Slower than WebDAV and FTP
  • Better security with key-based auth

TFTP (Trivial FTP)

Ultra-simple protocol for hardware and embedded devices.

Features & Limitations

  • ✅ Read and write support
  • ✅ Binary/octet transfer mode
  • ❌ No authentication (uses filesystem permissions)
  • ❌ No RFC 7440 (very slow over WAN)
  • ❌ No netascii mode

Expected Speeds

  • 100BASE-T: ~1100 KiB/s
  • WiFi (good): ~400-500 KiB/s
  • WiFi (bad): ~200 KiB/s

Usage Examples

TFTP is perfect for updating firmware on routers, switches, IP phones, and other network hardware from the 90s.

SMB/CIFS (Windows File Sharing)

Windows network file sharing protocol.
SMB support is:
  • Not fully integrated with VFS (potential security issues)
  • Slow (5x slower than WebDAV, 30x slower than rclone-webdav)
  • Not recommended for WAN use
  • Not compatible with password hashing or --usernames
Use with --smb-port and prisonparty for security.

Requirements

Configuration

Known Issues

  • Only shows first ~400 files in large folders
  • Login doesn’t work on Windows XP
  • Windows 10+ doesn’t allow anonymous connections
  • Slow compared to WebDAV
  • Python 3 only

Authentication

  • Username: $password, Password: k
  • Or Username: $username, Password: $password

Protocol Comparison

Multi-Protocol Example

Enable all protocols with proper configuration:
Use -z to announce all enabled services via mDNS and SSDP, making them automatically discoverable on your LAN.