Skip to content

nvth/file-upload-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple File Upload Server

Run the server

python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
python server.py

The server runs at http://127.0.0.1:8000 by default.

Features

  • Drag-and-drop upload interface at /
  • Lists files from the server's current working directory
  • Lets you download files from the current working directory
  • Accepts files via POST /upload
  • Saves uploaded files to the uploads/ directory
  • Automatically renames files when a name conflict occurs
  • Shows recent uploaded files with download links

Configuration

  • HOST: bind address, default 0.0.0.0
  • PORT: server port, default 8000

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages