Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
/ FileServer Public archive

A flask local server that serves a directory and its subdirectories over a local network. GUI in PySide6 and tkinter

License

Notifications You must be signed in to change notification settings

prmpsmart/FileServer

Repository files navigation

File Server

Uses Flask and PySide6 to serve a file 🗃️ or folder 📁 over HTTP on the specified port.

Once the server is started, you don't need to switch it off to change the path to serve or upload, just change it and the download from that moment will serve the current file 🗃️ or folder 📁.

Serving folder


  • the folder directories will be displayed
  • if url is /served, folder will be zipped before being served, but if the folder has been zipped already it just sends the zipped file instead.
  • if the url contains argument /served?latest=1, inasmuch the value is not [none, 0, false], the folder will be zipped before been served.
  • it will exclude __pycache__ folders from the folder given when zipping.

Scripts


  • main.py for the running the server in the terminal.
  • qt_main.py for the running the server in the Qt for Python (PySide6).
  • tk_main.py for the running the server in the tkinter.

tk_qt left-tkinter, right-Qt

About

A flask local server that serves a directory and its subdirectories over a local network. GUI in PySide6 and tkinter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published