Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork16
CLI tool to send and receive file on a network to a server
License
NotificationsYou must be signed in to change notification settings
cube-root/directory-serve
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Directory serve is a CLI library for sending and receiving a file from your android and IOS devices.
This is aNode.js module available through thenpm registry. Installation is done using thenpm install command:
$ npm install -g directory-serve
npx directory-serve --help
After installing globally
directory-serve /path-of-directory
or
Directly use the command
npx directory-serve /path-of-directory
or
npx directory-serve /path-to-file
| options | default | description | Example |
|---|---|---|---|
| u | true | Restrict upload file option | npx directory-serve /path-of-directory -u=false |
| p | 8989 | Change the port | npx directory-serve /path-of-directory -p=3000 |
| help | Help | npx directory-serve --help | |
| username | undefined | Client auth username | npx directory-serve /path-of-directory --username=my_username |
| password | undefined | Client auth password (optional) | npx directory-serve /path-of-directory --username=my_username --password=my_password |
| delete | false | To delete file/folder | npx directory-serve /path-of-directory --delete=true |
| debug | false | Debug mode | npx directory-serve /path-of-directory --delete=true --debug=true |
npx directory-serve.npx directory-serve~/Desktopnpx directory-serve~/Desktop/my_image.pngnpx directory-serve~/Desktop -p=3000 --username=test --password=password- Node (>=12.0)
clone the repo and follow the commands
git clone https://github.com/cube-root/directory-serve.git
npm i
npm run dev /path-of-directory
About
CLI tool to send and receive file on a network to a server
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.



