Skip to content

Simple file sharing server, to upload and download file from cli

License

Notifications You must be signed in to change notification settings

SharonBrizinov/bashupload-pype

 
 

Repository files navigation

Pype

License: MIT

Simple file sharing server, to upload and download file from cli

Use the online version

Usage

Show help

curl https://pype.sellan.fr/help

Upload a file

curl -T file.txt https://pype.sellan.fr

Download a file

curl https://pype.sellan.fr/id/file.txt > file.txt

or

wget https://pype.sellan.fr/id/file.txt

Delete file after download

curl https://pype.sellan.fr/id/file.txt?delete > file.txt

or

wget https://pype.sellan.fr/id/file.txt?delete

Get infos about a file

curl https://pype.sellan.fr/id/file.txt?info

For easyest usage, you can add a Pype alias

Install alias

curl -s -L https://pype.sellan.fr/install | $SHELL

Then, to upload a file

pype file.txt

Use your own server

Launch server

./pype.py

Functions

  • Show homepage
  • Easy upload and download with curl
  • Show file infos
  • Delete file after download
  • Auto-cleaning files after expiration

About

Simple file sharing server, to upload and download file from cli

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.2%
  • HTML 29.2%
  • Shell 3.6%