https://github.com/rdch106/simple-file-server
Simple Python File Server with browser upload and authentication
https://github.com/rdch106/simple-file-server
authentication file-server file-upload python-2 web-interface
Last synced: 7 days ago
JSON representation
Simple Python File Server with browser upload and authentication
- Host: GitHub
- URL: https://github.com/rdch106/simple-file-server
- Owner: RDCH106
- License: agpl-3.0
- Created: 2017-02-15T10:01:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-24T15:36:25.000Z (almost 3 years ago)
- Last Synced: 2025-03-23T18:38:57.383Z (4 months ago)
- Topics: authentication, file-server, file-upload, python-2, web-interface
- Language: Python
- Homepage:
- Size: 98.6 KB
- Stars: 22
- Watchers: 7
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple-File-Server
[](https://www.codacy.com/app/RDCH106/Simple-File-Server?utm_source=github.com&utm_medium=referral&utm_content=RDCH106/Simple-File-Server&utm_campaign=Badge_Grade)
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 navigationFind 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 RunConfigure 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](https://github.com/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.