Documentation

Help for MailMigrata and the whole suite

S3 path-style URLs and folder markers

Two S3 details look like console bugs, namely how the URL is formed and how empty folders appear.

Virtual-hosted URLs appear as https://bucket.s3.region.amazonaws.com/key, and both AWS and Wasabi use that pattern. Path-style URLs must take the form https://host/bucket/key, because MinIO, Cloudflare R2, and Backblaze B2 typically require that layout. A wrong style returns a 301, a 403, or a NoSuchBucket error even when the key itself is valid. Provider presets should therefore set the correct style for you, since a mismatch produces those errors. You should override the URL style on a self-hosted MinIO deployment, because a provider preset cannot know your endpoint layout. A custom S3 service URL is the escape hatch for any compatible endpoint that the directory does not list.

S3 has no real folders, so an empty directory in the AWS Console, Cyberduck, MinIO, and s3fs usually depends on a dummy marker object. Such a marker is an object whose key ends in /, and that trailing slash makes the empty folder appear in those tools.

By default, FileMigrata writes those markers when it creates folders, so the destination tree stays visible in the console. FileMigrata's folder listing skips keys ending in /, because marker keys must not be copied as files into Drive or SharePoint. B2 and R2 bill you for every object they store, so each empty-folder marker adds a charge. You can turn markers off when you pay per object on B2 or R2 and do not need empty folders in the console.

FileMigrata connect checks may write probe keys under .filemigrata-probe/, yet the migration list skips every one of them. You can delete those keys after verify, because FileMigrata ignores them and the check has already finished.

See Amazon S3 and S3-compatible storage.