An HTTP based file sharing application written in Python.
The server application provides access to files and directories (folders) on a machine to anybody that can connect to it. No passwords or other authentication are required.
The client is used to view and download files.
To try Buckets:
-
Get a copy from the releases page.
-
Extract the code wherever you want.
-
Install Python 3.x if you're on Windows or macOS. Windows users must enable the Add Python to PATH setup option.
-
To keep things clean, create a virtual environment with
venv
and enter it. -
Get the packages required by Buckets by running
pip3 install -r requirements.txt
inside the code directory from a terminal.
Sharing is done by allowing access to a directory on the computer.
Open the buckets_server.py
file. This contains code of the server.
Edit the line that says shares = { ... }
.
Linux (Unix) sharing examples:
Suppose you want to add /home/user/
with the share name files
:
shares = {'files': '/home/user/'}
Let's add /var/www/html
under the name mirror
to this:
shares = {
'files': '/home/user/',
'mirror': '/var/www/html/'
}
Windows sharing example:
Suppose you want to share the E Drive and your Downloads folder:
shares = {
'e_drive': 'E:\\',
'downloads': 'C:\\Users\\Me\\Downloads\\'
}
Note the double backslashes used inside the paths.
Do python3 buckets_server.py
to run the server app on its own. You can also
control the server from the Server menu in the client.
-
Do
python3 app.py
. -
Set up the Download directory by going to Preferences.
-
Type in the IP address and port of the server machine. The address format is
http://ipaddress:portnumber
. The default port is8080
. -
Double click on a file to download it.