Skip to content

Simple Python File Server with browser upload and authentication

License

Notifications You must be signed in to change notification settings

asmwarrior/Simple-File-Server

 
 

Repository files navigation

Simple-File-Server

Codacy Badge

Simple Python File Server with browser upload and authentication.

Simple tool that gives secure remote file control with no client-side installation.

What is this?

This is a simple file server that

  • supports file directory browse of the server
  • supports file upload to the server
  • supports authentication
  • marks frequently visited directories for easier navigation

Find the latest code version at https://github.com/RDCH106/Simple-File-Server

Find the latest release at https://github.com/RDCH106/Simple-File-Server/releases

How to configure server

First execution, into config folder, from default.json will create config.json with initial configuration values. You can edit them to use other port, password, etc...

How To Run

Configure the setting.py file with the desired configuration and run as other python program:

python simple_file_server.py

To run the server in background redirecting the log tmp symtem folder:

python simple_file_server.py > /tmp/simple_file_server.log 2>&1 & (only in GNU/Linux)

How To Install

Read and edit settings.py.

sudo ./install

Once the script is completed, this file server should be registered as an upstart service.

Check the file server at http://host:port/base_url

How To Uninstall

sudo ./uninstall

Credits

This is a fork of https://github.com/wonjohnchoi/Simple-Python-File-Server-With-Browse-Upload-and-Authentication written by wonjohnchoi (who also forked of http://li2z.cn/?s=SimpleHTTPServerWithUpload written by bones7456 who also was forked from http://www.opensource.apple.com/source/python/python-3/python/Lib/SimpleHTTPServer.py)

This fork basically adds install scripts, authentication, and some more on top of the original code that supports directory browse and file upload.

About

Simple Python File Server with browser upload and authentication

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.4%
  • Shell 2.4%
  • AutoIt 2.2%