Git Product home page Git Product logo

simple-file-server's Introduction

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.

simple-file-server's People

Contributors

rdch106 avatar vgonisanz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-file-server's Issues

Logout doesn't work all the time

1stly, many thanks for the great improvements.
...
I was able to logout on chrome (android). But firefox on ubuntu desktop did not logout even after repeated tries.

Better log

I have just started using this server, which works perfectly for my use. Thank a lot.
Will it be possible to include time and Ip address of the computer accessing this server.

Premature exit in the first execution

Simple File Server generates an exit call if the config.json it is not present and creates it using default.json as model.

In the following executions the problem is not present because the config.json already exists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.