Skip to main content

Overview

Write-only folders let users upload files without being able to browse, download, or see other uploads. This is perfect for:
  • Anonymous file submissions
  • Homework/assignment collection
  • Bug report attachments
  • Survey response uploads
  • Photo contest entries

Basic Write-Only Folder

The simplest write-only setup:
  • /mnt/uploads - Local folder for uploads
  • /drop - URL path (http://your-server:3923/drop)
  • w - Write-only permission for everyone
Users can upload but cannot see any files, including their own.

Write-Only with Admin Access

Let users upload files and receive a secret download link:
  • wG - Write permission + Upget (upload and get link)
  • fk=8 - Filekey length (8 random characters)
  • -e2dsa - Required for filekeys
After upload, users receive a link like:
Only someone with this exact link can download the file.

Upload Rules and Limits

File Size Limits

Rate Limiting (per-IP)

File Lifetime (auto-delete)

Automatically delete files after a certain time:
Users can also set custom expiration times in the upload UI (if enabled).

Restrict to Top-Level Uploads

Prevent users from creating subdirectories:

Organizing Uploads

Automatic Folder Organization by Date

Organize uploads into date-based folders:
Uploads automatically go into folders like:

Automatic Folder Organization by Count

Create subfolders after a certain number of files:
Creates folders like:

Preventing Duplicate Uploads

  • -e2dsa - Index all files
  • --dedup - Create symlinks for duplicate files
If someone uploads a file that already exists, copyparty creates a symlink instead of storing a duplicate copy.

Allowing Users to Delete Their Own Uploads (Unpost)

  • --unpost 43200 - Allow undoing uploads within 12 hours (43200 seconds)
  • Users access via the [🧯] unpost tab
Users can delete their own recent uploads even without delete permission.

Write-Only with Move Access

Let one user upload, another user review and move approved files:
Workflow:
  1. Students upload to /submissions
  2. Teacher reviews files
  3. Teacher moves approved files to /approved
  4. Everyone can see approved submissions

Upload Notifications

Email Notifications

Use event hooks to send email on upload:
Create notify-upload.sh:
Make it executable:

Desktop Notifications

On Linux, show a popup notification:

Advanced: Randomized Filenames

Force random filenames on upload:
In the upload UI, users can enable [🎲] to randomize filenames, or make it mandatory with a custom upload hook.

Complete Example: Anonymous Dropbox

anonymous-dropbox.conf
Start the server:
Features:
  • ✅ Anonymous uploads with secret links
  • ✅ 1 hour undo window
  • ✅ Size and rate limits
  • ✅ Auto-delete after 30 days
  • ✅ Organized by upload date
  • ✅ Duplicate prevention
  • ✅ Admin can review everything

Troubleshooting

Make sure you’re using w or wG permission, NOT rw or r.
Filekeys require database indexing:
The -e2dsa is mandatory for filekeys.
Unpost requires -e2d and the --unpost timeout:
Rate limits (maxn, maxb) require -j 1 (single process mode):
Check the ban settings:
Or increase the thresholds (default is 9 failed attempts in 1 hour).

Security Considerations

Write-only folders can be abused for:
  • Storing illegal content
  • Malware distribution
  • Phishing attacks
Mitigate risks:
  • Set file size limits
  • Enable rate limiting
  • Use auto-deletion (lifetime)
  • Monitor uploads regularly
  • Consider requiring accounts instead of anonymous access

Next Steps