How keepcoolch/dropzonefilesharing works
Dropzone File Sharing is a PHP file-transfer application: users select files or folders, upload them resumably, and receive a protected, expiring download link or send it by email. Admins manage uploads, settings, and user accounts. The map follows the evidenced browser-to-upload and link-download paths; README-described ZIP finalization and admin capabilities are included, but their unsampled wiring is not inferred. State is file-backed JSON and filesystem storage, with SMTP as an optional integration.
Main entry points: upload.php Upload endpoint · admin.php Admin panel · main.js Chunk transfer client · download.php Protected download
Components 23
Sharing workflow
- Upload interface
index.php - Chunk transfer client
js/main.js - Upload endpoint
upload.php - Folder ZIP creation
upload.php - Download link
upload.php - Protected download
download.php - Uploaded files
inc/config.php - Upload metadata
inc/config.php - Email verification
verify.php - Email cleanup
delete_emailadress.php
Administration
- Admin panel
admin.php - Admin download
admin_download.php - User sign-in
index.php - User accounts
inc
Shared services
- Configuration
inc/config.php - Shared helpers
inc/helpers.php - Translations
inc/language.php - Disk capacity check
check_disk_space.php
External integrations
- SMTP server
Other components
- Uploader
- Link recipient
- Administrator
- Email recipient
Connections 27
- Uploader → Upload interface: selects files
- Upload interface → Chunk transfer client: starts upload
- Chunk transfer client → Disk capacity check: checks capacity
- Chunk transfer client → Upload endpoint: sends chunks
- Upload endpoint → Uploaded files: stages files
- Upload endpoint → Folder ZIP creation: finalizes folders
- Upload endpoint → Upload metadata: records link
- Upload endpoint → Download link: returns link
- Download link → Link recipient: shares access
- Link recipient → Protected download: opens link
- Protected download → Upload metadata: reads token
- Protected download → Uploaded files: serves file
- Administrator → Admin panel: manages service
- Admin panel → Upload metadata: manages uploads
- Admin panel → Configuration: updates settings
- Admin panel → User accounts: manages accounts
- Admin panel → Admin download: downloads upload
- Admin download → Uploaded files: streams file
- Uploader → User sign-in: signs in
- User sign-in → User accounts: checks account
- Email verification → Upload metadata: checks verification
- Email verification → SMTP server: sends mail
- SMTP server → Email recipient: delivers message
- Chunk transfer client → Email cleanup: cleans up
- Upload interface → Translations: loads translations
- Upload endpoint → Shared helpers: uses utilities
- Protected download → Translations: loads translations