Skip to content

Give away a file ​

Rolling out to a few sites first. If you don't see File in the block picker, it isn't on your site yet.

Put a PDF on a page, and the people who can read that page get a Download button. It works in a welcome drip too: day 0's email can carry a link to your book, and the person gets it even if they have never signed in.

Add a file ​

  1. Open a page and choose File in the block picker.
  2. Upload PDF. A PDF can be up to 100 MB, and it counts toward your storage like any file.
  3. Write the Button words: they are the whole text of the button, so "Get the book" reads "Get the book". Left blank, the button reads "Download" and the file's name, so Book One.pdf reads "Download Book One".
  4. Publish the page.

Session checks that the file really is a PDF when the upload finishes. If it isn't (a renamed Word file, say), the upload fails and says so.

PDFs need a reviewed site ​

Adding a PDF (a File block, or a PDF in Media) needs a Reviewed site. If yours isn't yet, the File entry shows "This needs a reviewed site. Ask for a review", and your assistant says the same and can ask for you. Files you already added stay: they keep downloading, and you can still rename the button, copy the page and delete the file, even if a review is taken back. Only a new PDF waits.

Who can download it ​

The same people who can read that part of the page, and no one else.

  • On a members-only page: people with access. Below the break, only people who read the whole page.
  • On a public page: anyone, signed in or not.
  • You and your team: always, on drafts too.

The file is saved to the person's device. It is never opened inside your site.

In email ​

Collection email, a drip and a broadcast show your button words (or "Download" and the file name) as a link where the block sits. Each person's link is made for them, so one email can go to hundreds of people and no two links are the same.

  • A person who has never signed in can download from their email. The link is their sign-in for that one file and nothing else.
  • The link is a bearer link. Anyone who holds it can download the file, for as long as the person it was made for is admitted. It is not tied to a sign-in, so forwarding the email forwards the download. That is fine for a freebie, but it is not a lock: the person can also save the file and send it on.
  • Once emailed, a link keeps working after the person's access ends. A page that was emailed to someone stays theirs, as it does on the web. A person whose access ended before the page was emailed to them gets nothing.
  • Replacing or removing a file stops the links already emailed. They point at the old file; once it is deleted (within about a week of coming off the page) they answer "This download link doesn't work." Emails already sent are not changed, so send the new link to the people who need it.
  • A test email to yourself has working links.
  • A short notice email (the "Read it on the web" kind) carries no file. Neither do RSS or podcast feeds; they say "Download on the web" and link to the page.

With your assistant ​

Your assistant can upload a PDF with upload_media (kind document, Claude Code only, because it needs curl), then confirm_media. In write_page, a line of only [file: Book One](media:123) makes the block, and get_page writes it back the same way. The label is optional: [file](media:123).

Coaches: email hello@joinsession.io. Members: ask your coach.