Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

file-up

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-up

file uploader

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-45.45%
Maintainers
1
Weekly downloads
 
Created
Source

file-up

build status

js-standard-style

Upload files like you would with curl --upload-file (almost).

npm install file-up -g

Usage

file-up file.txt example.com

api

file-up can be used as a command that takes a filename and url as arguments, or you can pass it optional parameters.

-T or --upload-file

specifies the file to upload

--url

specifies the url (default localhost)

-p or --port

specifies the port (default 80)

-m or --method

specifies the method (default PUT)

Notes

You can specify one -T for each URL on the command line. Each -T + URL pair specifies what to upload and to where.

Todos
  1. Support URL globbing (like curl).
  2. Write better test.
  3. Probably lots of other things. I haven't had time to find edge cases.

License

MIT

Keywords

FAQs

Package last updated on 21 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc