安装包含本地参考和全部已发布模式的完整包。
install uploadupload在浏览器和主机之间传输文件:
upload [dst] [-f]upload选择文件并上传到当前目录
upload <dir>将文件上传到 <dir>
<dir> -f将文件上传到 <dir> 并替换同名文件
<file> -f将单个文件上传到精确路径并替换现有文件
download归档并下载当前目录
download <file>下载可读取的文件
download <dir>自动归档目录并下载临时 TAR 文件
-n <name>使用其他下载文件名(不重命名源文件)
不指定目标时,选择的文件写入当前目录。
直接执行 download 会归档当前目录;download <dir> 对其他目录执行同样操作。lil-terminal 会创建临时 TAR、传输给浏览器并在完成后删除。源目录树不会被重命名或修改。
一次选择最多 20 个文件。实际大小还受 upload_max_filesize、post_max_size、max_file_uploads、临时空间、Web 服务器、反向代理和控制面板限制。过大的请求可能在到达 PHP 前就被拒绝。
文件名会被规范化,目标路径使用正常的文件系统解析器检查;除非明确使用 -f,已有文件会被保留。传输令牌很快过期,不会形成可重复使用的公开下载 URL。
可直接在页面中运行预先准备的示例。结果已预先生成并在浏览器中显示;服务器不会执行任何终端命令。
安装当前兼容版本。完整功能请选择 Base,精简包请选择 Minimum;已安装模块的更新请使用 upgrade。
Base 与 Minimum 是同一当前模块版本的两个包。
安装包含本地参考和全部已发布模式的完整包。
install upload安装精简包。该包不包含本地参考;
install upload -m安装这个确切的已发布版本。
install upload -v 1.2.4让 upgrade 检查兼容性,仅在需要时替换已安装块。
upgrade upload删除扩展块,不影响核心和其他模块。
install upload -u示例可复制,但网站不会执行。请先检查路径、权限和破坏性选项。
cd \sandbox | pwd | upload imagessandbox
picker opens immediately
destination sandbox/imagesuploadpicker opens immediately
destination current directoryupload tmp -fpicker opens immediately
destination sandbox/tmp
replace same-named filesupload tmp/replacement.txt -ftmp/
replacement.txtdownload imagesarchive images-20260809-a1b2.tar
source sandbox/images
temporary archive removed after streamingdownload README.txt -n readme-copy.txtDownload started readme-copy.txt
Source sandbox/README.txtdownload \sandbox\missing.txt未找到文件或目录sandbox/tmp/README.txt该示例使用受保护的 /sandbox/ 文档工作区中的文件或目录。
lil-terminal sandbox temporary workspace
Commands in the public documentation use this directory for disposable copies,
archives, uploads and files created during examples. Review destructive commands
before running them and restore the sandbox from the release package when needed.