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: CHANGELOG.en.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,13 @@ All notable changes to `ii` are documented here. The default Chinese version is
6
6
7
7
Nothing yet.
8
8
9
+
## 0.1.19 - 2026-07-31
10
+
11
+
### Added
12
+
13
+
- Added `ii web [directory]` for temporary LAN recursive directory browsing, normal file responses, and multi-file uploads; it supports `--token` and `--path`, and prints a QR code plus all IPv4 LAN URLs in the terminal.
14
+
- Added `ii send ... --web --path <dir>` to write web uploads directly into a chosen directory; relative paths are based on the startup directory, while the default remains `./ii/`.
Copy file name to clipboardExpand all lines: README.en.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
24
24
- The sender serves one successful receive by default, then exits
25
25
- It briefly probes for a usable path through complex networks, with S3, WebDAV, FTP, and SFTP backend options
26
-
-`ii send <file-or-folder> --web` opens a temporary LAN download page
26
+
-`ii send <file-or-folder> --web` opens a temporary LAN download page, while `ii web [directory]` browses a LAN directory
27
27
- Receives resume automatically by default
28
28
- Existing files with the same MD5 are skipped
29
29
- Folders can be sent directly
@@ -131,9 +131,14 @@ Open a temporary LAN download page:
131
131
ii send .\video.mp4 --web
132
132
ii send .\my-folder --web
133
133
ii send .\video.mp4 --web --token A1b2C3d4E5f6G7h8
134
+
ii send .\video.mp4 --web --path .\uploads
135
+
ii web
136
+
ii web .\shared --token A1b2C3d4E5f6G7h8 --path .\uploads
134
137
```
135
138
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.
139
+
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. Use `--path <dir>` to write directly into a different directory; relative paths are based on the startup directory, and the directory is created on the first upload. 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.
140
+
141
+
Without a path, `ii web` serves the directory where the command starts; with a path, it accepts only an existing directory. Its page provides recursive nginx-style directory browsing, normal file responses, and multi-file uploads. The terminal still shows the QR code, primary IPv4 LAN URL, and `other:` adapter URLs, but the directory page has no QR code. `--token` and `--path` follow the same rules as `ii send ... --web`; `-p` does not apply to `ii web`.
137
142
138
143
Prefer local network paths and avoid public relays:
0 commit comments