Skip to content
Sections
Docs

Share files and folders

Share a file, folder, or static site directly from your computer over HTTPS.

On this page4

Start sharing

Sign in with prontaro login, then run prontaro serve:

bash
prontaro serve report.pdf          # one file
prontaro serve photos              # browsable folder with a ZIP download
prontaro serve dist                # static site when dist/index.html exists
prontaro serve                     # current folder

The command prints a public HTTPS address. Keep the terminal open while people download; Ctrl+C stops the share and interrupts active downloads. The tunnel name and public address can be reused on the next run. Anyone who received the link earlier can still open the same address, so protect private files with --basic-auth.

For a protected share, run prontaro serve dump.sql.gz --basic-auth. Prontaro generates username share and a password for this run. Send the link and credentials separately. A reconnect keeps the same password; stopping and starting creates a new one. prontaro http 3000 --basic-auth gives a local web app the same temporary protection. For a service, create a permanent Basic Auth login in the dashboard instead.

The temporary login works alongside permanent Basic Auth logins. Any IP allowlist and Google or GitHub sign-in still apply. Stopping the CLI revokes the temporary login; removing a permanent login in the dashboard does not revoke the temporary one. To restrict visitors by IP, run prontaro access <name> allow <visitor IP/CIDR> (me refers to your own IP, not the visitor’s).

Download from a terminal

For a file or browsable folder, the CLI shows a command with an explicit output name. Copy it as shown; curl asks for the password interactively so it stays out of shell history:

bash
curl --fail -u share -o 'report.pdf' 'https://example.prontaro.run/report.pdf'
curl --fail -u share -o 'photos.zip' 'https://example.prontaro.run/?download=1'

Use the address printed by your CLI. Without Basic Auth, omit -u share. For an unchanged, finished file you can resume with -C -. If the file changed or was still being written, download it again from the start. A generated ZIP is streamed and cannot be resumed; retry the download or ask for a pre-built archive. Unreadable entries are skipped in the ZIP and reported to the sender.

In Windows PowerShell 5.1 and cmd, run curl.exe with double quotes:

text
curl.exe --fail -u share -o "report.pdf" "https://example.prontaro.run/report.pdf"

curl and wget download a file without the Free notice page. Browsers may show that notice page after Basic Auth and any Google or GitHub sign-in. On Free, open the link in a browser tab before using “Save link as”. Static sites and prontaro http do not print a download command. curl cannot complete browser OAuth sign-in; use a separate tunnel with Basic Auth or an IP allowlist.

Folders, sites, and safe paths

A root index.html makes the folder a site: missing paths without an extension serve index.html, while missing paths with an extension return 404. Without a root index.html, visitors see a folder listing with a ZIP download. To offer a site folder as a ZIP, share its parent only if that parent contains no private files and no root index.html.

Hidden names such as .env, symbolic links inside the shared folder, special files, and the Prontaro state directory are excluded from direct requests, listings, and ZIPs. Choosing your home folder or one of its parents requires confirmation; --yes confirms only that broad choice and never opens excluded files. For a build under .output, pass a visible path such as .output/public.

If the selected path is unreadable, no public address is issued. Check permissions; on macOS, allow your terminal access in System Settings. A folder removed during a rebuild briefly returns 404 and works again when recreated. The CLI’s “Downloading now” count shows active file responses, not proof that the recipient saved them.

An old browser tab may retry an old password after a restart and briefly hit a rate limit. Close the tab, wait a moment, and open the link with the new credentials. If a chat app’s built-in browser does not show the sign-in prompt, open the link in Safari or Chrome.

Next steps

Something wrong on this page? Contact us

Contact us

Enter your email so we can reply.Enter a valid email, e.g. name@company.example.
Tell us what you need or what went wrong.up to 2,000 characters

Sent! We’ll reply to .

Or email us at support@prontaro.com