通过HTTP分享下载本地文件、文件夹。或允许其他设备通过HTTP上传文件到本地或发送文本消息。
Share and download local files and folders via HTTP. Or allow other devices to upload files to local or send text messages via HTTP.
Method 1
npm install -g github:iwinmin/http-share
Method 2
npm install -g git+https://github.com/iwinmin/http-share.git
Command:
http-drop [OPTIONS]
Start Upload server with current working directory(CWD) for uploading file and recive client message and print out to console screen.
Command:
http-drop [OPTIONS] <file/directory>
Start Download server for <file/directory>.
Option Name | Comments |
---|---|
-p <number> , --port <number> |
Server port number (Default: RANDOM port) |
-t <token> , --token <token> |
Sefety URL path name (Default: RANDOM string) |
-h , --help |
Print help message |
scan the
QRCODE
on the screen
open the
URL
on the screan