Skip to content

BwithE/UpPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

UpPy

image

A Python HTTP server that runs on port 80 and supports POST method to receive files from remote machines.

Files will be uploaded into the current working directory that up.py is ran.

It's an easy way to trasfer files.

The webpage has buttons that can be used.

Below is a list of CLI commands to get the job done.

Windows clients need curl.exe for CLI commands which can be found at https://curl.se/windows/.

USAGE

python3 up.py

CLIENT USAGE

  • WINDOWS UPLOAD COMMAND
curl -X POST -F "file=@c:\path\to\your\file.txt" http://<PYTHON_SERVER_IP>

Invoke-WebRequest -Uri "http://<PYTHON_SERVER_IP>" -Method Post -Form @{file=Get-Item "C:\path\to\your\file.txt"}
  • LINUX & MAC UPLOAD COMMAND
curl -X POST -F "file=@/path/to/your/file.txt" http://<PYTHON_SERVER_IP>

About

Python HTTP server that supports POST.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages