Skip to content

alamages/pfshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Info

pfshare.py script starts an HTTP server which serves files from a given directory and below. The script uses miniupnpc (for port forwarding) so the client's files can be easily served behind NAT.

Dependencies

Usage

For available arguments run the script with -h argument (or --help)
Some usage examples:

$ # serves the current directory behind NAT in a random port
$./pfshare.py

$ # serves my_dir in port 8000
$ ./pfshare -d my_dir -p 8000

$ # serves but only locally (no port forwarding is performed)
$ ./pfshare.py -l

TODO

  • add more fancy stuff into the script

About

Small script for HTTP File Sharing behind NAT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages