You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.en.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,9 +130,10 @@ Open a temporary LAN download page:
130
130
```powershell
131
131
ii send .\video.mp4 --web
132
132
ii send .\my-folder --web
133
+
ii send .\video.mp4 --web --token A1b2C3d4E5f6G7h8
133
134
```
134
135
135
-
The command displays a QR code directly above the primary LAN URL for opening the download page, then lists the remaining physical and virtual adapter IPv4 URLs under `other:`. The QR code at the top of that page points directly to `/download` for phone downloads. Folders download as `.tar` archives. Press `Ctrl+C` to stop the server. This mode has no authentication and is intended only for short-lived, trusted LAN sharing.
136
+
The command displays a QR code directly above the primary LAN URL for opening the download page, then lists the remaining physical and virtual adapter IPv4 URLs under `other:`. The QR code at the top of that page points directly to `/download` for phone downloads. The page can also upload multiple files into `./ii/` under the directory where the command started; directory uploads are not supported. Folders download as `.tar` archives. Press `Ctrl+C` to stop the server. Optional `--token <value>` adds a path access token to the page, download, and upload URLs; it must be 16 to 128 ASCII letters, digits, `-`, or `_`, and omitting it keeps the unprotected URLs. This mode has no account authentication and is intended only for short-lived, trusted LAN sharing.
136
137
137
138
Prefer local network paths and avoid public relays:
Copy file name to clipboardExpand all lines: SIZE.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ All measurements use `cargo build -p ii --release --locked` followed by UPX
26
26
| LAN web-share QR SVG and terminal QR | 5,970,944 | 2,161,152 | +12,288 |`cargo test -p ii --locked` (76 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
27
27
| Web download QR and responsive share page | 5,975,040 | 2,159,616 | -1,536 |`cargo test -p ii --locked` (76 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
28
28
| Web-share other IPv4 URL list | 5,979,648 | 2,160,640 | +1,024 |`cargo test -p ii --locked` (77 tests), isolated `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
29
+
| Web-share bidirectional file upload | 5,992,960 | 2,166,784 | +5,632 |`cargo test -p ii --locked` (78 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
30
+
| Web-share path access token | 6,001,664 | 2,169,344 | +2,560 |`cargo test -p ii --locked` (83 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
29
31
30
32
Equivalent release rebuilds have varied by up to `1,536` UPX bytes; the latest
31
33
measurement is recorded with the pinned `5.1.0` packer.
0 commit comments