Skip to main content
Version: current

back-to-home-file


ip/cloud/back-to-home-file​

Syscap: cloud-vpn
Type: Directory

Directories and files shared with File Share. Each share gets a secret link under <serial>.routingthecloud.net, and the service runs while at least one share exists. For examples, see File Share. The service state is in settings.

FlagNameDescription
XdisabledThe share is disabled, and its link returns HTTP 404.
IinvalidThe share cannot be served yet, for example while the router requests the certificate. A comment line shows the reason, such as getting cert status: requesting SSL certificate.
Ddynamicdynamic
ArgumentTypeDescription
pathfileDirectory or file to share, as /file/print shows it, for example usb1/photos. The router shows it with a leading /.
allow-uploadsboolWhether visitors of a directory share can upload files and create folders in it. Without it, the router refuses uploads with HTTP 403. Default: no.
expiresalt { expires: enum (never) { never:0xFFFFFFFF } , interval: time , date-time: date }When the share stops working: never, a date and time such as "2026-10-01 00:00:00", or a time interval such as 1h. The router converts an interval to a date. never keeps the share until you remove it.
Read-only ArgumentTypeDescription
keystringRandom key of the share, the last part of url.
urlstringLink to the share page, https://<serial>.routingthecloud.net/s/<key>. A directory share lists its files; anyone who has the link can open it.
direct-urlstringurl with ?dl. It downloads the shared file, or the whole directory as download.zip.
downloadsnumNumber of direct downloads of the share. Opening the share page does not count.