Skip to content

Placeholders in Upload paths

Dropshare 5.30 and newer

Certain connection types support placeholders in the upload path in order to have dynamic save paths for the files uploaded with Dropshare.

Storage Providers that support placeholders currently are:

  • SCP over SSH
  • SFTP
  • FTP(S)
  • Amazon S3
  • S3 API-compliant
  • Filebase
  • MinIO
  • Scaleway Object Storage
  • Alibaba Object Storage
  • Linode Object Storage
  • Contabo Object Storage
  • IDrive e2
  • Backblaze B2 (Dropshare 5.44 or newer)
  • Hetzner Object Storage

If placeholders are supported, it will be shown in the connection preferences.

Available placeholders

PreferenceDescription
%year%Year, e.g. "2023"
%month%Month, e.g. "04"
%day%Day, e.g. "17"

How to use placeholders

In order to use a placeholder, open the connection preferences and edit the upload path or bucket name of the connection to include placeholders from the list above:

  • e.g. for upload path: /var/www/uploads/%year%/%month%/
  • e.g. for bucket name: dropshare-uploads/files/%year%/%month%

For SCP over SSH, SFTP, FTP(S) or WebDAV connections, make sure to also include the placeholders in the URL to Path field.