S3 guide
Floppy S3 endpoint: use your files from any S3 tool
Floppy speaks S3 at https://s3.fpy.sh, so the AWS CLI, rclone, boto3, the AWS SDKs and every other S3 tool read and write your Floppy files. Each space is a bucket, each file a key, and a file you upload becomes a share link. It works on every plan, with an S3 access key from fpy.sh/app/keys.
- Endpoint:
https://s3.fpy.sh, regionauto(any region name works), path-style addressing - Signing: AWS Signature Version 4, in the header or as a presigned URL
- Keys: https://fpy.sh/app/keys, under "S3 access keys"
- This guide as Markdown: https://fpy.sh/docs/s3.md
fpy.sh/docs/s3 · Make an S3 key · This page as Markdown
How do I get an S3 access key?
Make one at https://fpy.sh/app/keys under "S3 access keys", or in Floppy for Mac under Settings › API. Floppy shows the secret once, with a ready-to-paste AWS CLI profile, so copy it then. An access key id starts with FPY.
Each key has an access level and a reach:
| Setting | Options | What it means |
|---|---|---|
| Access | Read and write, Read only, Write only | Read only lists and downloads; write only uploads, copies and deletes |
| Buckets | Every space, or one space | A key for one space sees only that bucket |
Make one key per tool, so you can revoke one without touching the others. An S3 key only works over S3; it can't call the REST API or make other keys. Revoking a key stops it at once.
Floppy for Mac and the web app manage keys through the API, from a signed-in session: GET /api/v1/s3-keys lists them (never their secrets), POST /api/v1/s3-keys with { "name", "access", "space" } makes one and answers with access_key_id and secret_access_key, and DELETE /api/v1/s3-keys/<id> revokes one.
What do the buckets and keys look like?
Your spaces are the buckets: my-files for your own files, and one bucket per team, named after the team in lowercase with hyphens (acme, or acme-2 if two teams share a name). A key is the path Floppy Disk shows in Finder under that space: the folders, then the file's name. A link of several files is a folder of its own, named after the link.
| On Floppy | Its S3 key |
|---|---|
| A link in no folder | notes.md |
| A link in the folder Decks | Decks/Q3 review.pdf |
| A link in Decks › 2026 | Decks/2026/plan.pdf |
| A link of several files called Trip photos, in Decks | Decks/Trip photos/IMG_0001.jpg, Decks/Trip photos/edits/IMG_0002.jpg |
| An empty folder | Drafts/ (a folder marker) |
Names follow Finder's rules: a one-file link shows under its name when that ends in the file's extension, else under the file's name, and of two items with the same name in one folder (ignoring case), the newer one shows as notes (2).md. Uploading to A/B/c.txt makes the folders A and B if they aren't there yet. Keys are matched exactly first, then ignoring case, as Finder does: decks/plan.pdf reads and writes Decks/plan.pdf.
Where S3 and Finder differ
- A space is a bucket named with lowercase letters and hyphens (
my-files,acme), not "My files" or "Acme". - An empty folder shows as a
Name/marker key; Finder just shows the folder. - A key written in another case (
decks/x.pdf) lands in the existing folder (Decks), so the key you list afterwards isDecks/x.pdf. - Files Finder keeps only on your Mac (
.DS_Store,._…files) never reach Floppy from the disk, but uploaded over S3 they become links like any other file.
What happens when I upload, copy or delete?
Every S3 change goes through the same rules as the web app and Floppy Disk: your plan's storage and file-size limits, team permissions, and the safety check every file passes before strangers can open it.
| S3 operation | On Floppy |
|---|---|
PutObject on a new key | A new share link (and any folders on the way that don't exist yet), with the longest expiry your plan allows |
PutObject on a key that exists | A new version of that link: same URL, the old file kept in its history |
PutObject under a link of several files | A new version of that link with the file added |
CopyObject | Instant: a copy of a whole link to a new key is a duplicate (a new link over the same stored bytes); any other copy points at the same bytes too. Nothing is uploaded again |
DeleteObject, DeleteObjects | The link goes to Recently deleted (recoverable for 7 or 30 days, by plan); a file inside a link of several makes a new version without it |
| Multipart upload | One file, made into a link or a version when you complete it |
On a team bucket, anyone in the team can add files, but only a link's owner or a team admin can replace or delete it.
Do I read my own writes straight away?
Yes. Right after a PutObject, CopyObject or CompleteMultipartUpload answers, your own account reads the new bytes, size and ETag over S3 (GET, HEAD and listings) and on Floppy Disk. Everyone else, the link's viewers and your teammates, keeps the current file until the new version passes Floppy's malware scan, usually in a few seconds. A version that fails the scan never goes live, and you see the current file again.
Which S3 operations does Floppy support?
ListBuckets, HeadBucket, GetBucketLocation, ListObjectsV2 and ListObjects (prefix, delimiter, continuation token, start-after, max-keys up to 1000, encoding-type=url), HeadObject and GetObject (Range, If-Match, If-None-Match, If-Modified-Since, If-Unmodified-Since, the response-* overrides on presigned URLs), PutObject, CopyObject, DeleteObject, DeleteObjects, CreateMultipartUpload, UploadPart, UploadPartCopy, CompleteMultipartUpload, AbortMultipartUpload, ListParts and ListMultipartUploads.
Uploads can be signed with a SHA-256 of the body, UNSIGNED-PAYLOAD, or the chunked encodings the AWS CLI and SDKs send (STREAMING-AWS4-HMAC-SHA256-PAYLOAD, with or without a trailer, and STREAMING-UNSIGNED-PAYLOAD-TRAILER). Floppy checks every chunk's signature and keeps nothing from a request that fails.
Not supported, and answered with NotImplemented: ACLs, bucket policies, CORS and lifecycle settings, tagging, object lock, S3 version ids, and SigV2. CreateBucket answers BucketAlreadyOwnedByYou for your own buckets; a new space is made on Floppy, not over S3.
How do I set up the AWS CLI?
Paste the profile Floppy shows when you make the key into ~/.aws/credentials and ~/.aws/config:
# ~/.aws/credentials
[floppy]
aws_access_key_id = FPY…
aws_secret_access_key = …
# ~/.aws/config
[profile floppy]
region = auto
endpoint_url = https://s3.fpy.sh
s3 =
addressing_style = pathThen:
aws s3 ls --profile floppy
aws s3 cp deck.pdf s3://my-files/Decks/deck.pdf --profile floppy
aws s3 sync ./site s3://my-files/Site/site --profile floppy
aws s3 presign s3://my-files/Decks/deck.pdf --expires-in 3600 --profile floppyOlder AWS CLI versions without endpoint_url in the profile take --endpoint-url https://s3.fpy.sh on each command.
How do I use boto3 (Python)?
import boto3
from botocore.config import Config
s3 = boto3.client(
"s3",
endpoint_url="https://s3.fpy.sh",
aws_access_key_id="FPY…",
aws_secret_access_key="…",
region_name="auto",
config=Config(s3={"addressing_style": "path"}),
)
s3.upload_file("report.pdf", "my-files", "Reports/report.pdf")
for obj in s3.list_objects_v2(Bucket="my-files", Prefix="Reports/")["Contents"]:
print(obj["Key"], obj["Size"])How do I set up rclone?
# ~/.config/rclone/rclone.conf
[floppy]
type = s3
provider = Other
access_key_id = FPY…
secret_access_key = …
endpoint = https://s3.fpy.sh
region = auto
force_path_style = trueThen rclone lsd floppy:, rclone copy ./photos floppy:my-files/Photos/trip or rclone sync. rclone compares sizes and modification times, so it works with Floppy's ETags.
How do I use the AWS SDK for JavaScript?
import { S3Client, PutObjectCommand, GetObjectCommand } from "@aws-sdk/client-s3";
const s3 = new S3Client({
endpoint: "https://s3.fpy.sh",
region: "auto",
forcePathStyle: true,
credentials: { accessKeyId: "FPY…", secretAccessKey: "…" },
});
await s3.send(new PutObjectCommand({ Bucket: "my-files", Key: "notes/today.md", Body: "# Today", ContentType: "text/markdown" }));
const res = await s3.send(new GetObjectCommand({ Bucket: "my-files", Key: "notes/today.md" }));
console.log(await res.Body.transformToString());Why isn't the ETag an MD5?
Floppy's ETag is the id of the stored file, 24 hex characters, not the MD5 of its bytes. It changes exactly when the bytes change, and a copy has the same ETag as its source. Tools that compare ETags to a local MD5 should compare sizes and dates instead (rclone and the AWS CLI do by default). If-Match and If-None-Match work with these ETags.
What are the limits?
| Limit | Value |
|---|---|
| One file | Your space's plan: 500 MB on Free, 50 GB on Pro, Studio and in a team |
| Storage | Your space's plan: 2 GB on Free, 250 GB on Pro and in a team, 1 TB on Studio |
One PutObject or CopyObject | 5 GiB; use a multipart upload for more |
| Multipart | Up to 10,000 parts, each 5 MiB to 5 GiB (the last may be smaller), all but the last the same size |
| Unfinished multipart uploads | Dropped after 7 days |
| Presigned URLs | Up to 7 days |
| Keys per listing page | 1,000 |
| Clock | Requests more than 15 minutes off are refused (RequestTimeTooSkewed) |
A file over the plan's size is refused with EntityTooLarge before any byte is sent; a full space answers QuotaExceeded. Errors are S3's XML with S3's codes: NoSuchKey, NoSuchBucket, NoSuchUpload, AccessDenied, InvalidAccessKeyId, SignatureDoesNotMatch, InvalidRange, PreconditionFailed, InvalidPart, InvalidPartOrder, EntityTooSmall, OperationAborted (another write to the same link is in progress: retry) and the others S3 clients know.
FAQ
Is the Floppy S3 endpoint included in my plan?
Yes. S3 access works on every Floppy plan, Free included, within the plan's storage and file-size limits.
Do files uploaded over S3 get share links?
Yes. Every file you upload is a Floppy link at fpy.sh/<code>, listed in the web app, Floppy for Mac and Floppy Disk, with the same analytics as any other link.
Can an agent use the S3 endpoint?
Yes. Any agent that can run the AWS CLI or a Python or JavaScript S3 SDK can use it with an S3 key. Agents that speak MCP can use Floppy's MCP server instead (https://fpy.sh/docs/agents).
Why do I get OperationAborted?
Two writes changed the same link at once and the second waited more than a minute for the first, or a new version is still in its safety check. Retry the request; the AWS CLI and SDKs retry on their own.