Skip to content

Share files in your local network between your devices. Large files are transfered in chunks to the server.

License

Notifications You must be signed in to change notification settings

leno13/simple-file-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Simple File Upload

DO NOT USE THIS ON PUBLIC NETWORKS !!!
DO NOT USE THIS FOR SENSITIVE DOCUMENTS IN LARGE NETWORKS (eg: office/work) !!!
USE THIS AT YOUR OWN RISK !!!
THIS HAS NO SECURITY / ENCRYPTION !!!
HTTP CAN BE LISTENED ( AND YOUR FILES RECOSTRUCTED ) !!!

About

Use this ONLY in your local network to transfer files between your devices, or share files with your friends.
Why this? Because I don't like to install 3rd software on any of my devices eg: PC, phone ( apple / android ), Mac, coffe-expresso, air cooler, etc...

This should be OS-agnostic, as every great software should be + open source + free.

Start server

Start with:
python3 -m http.server --bind YOUR_IP --cgi 8000

If it doesn't work, set execution permission to main.py as:
chmod +777 ./htbin/main.py

If still doesn't work also set the permission to htbin dir as:
chmod +777 ./htbin

How to use

After starting the server, go to your browser at YOUR_IP port 8000 ( http://YOUR_IP:8000 )
Here you should see your uploaded files.
To upload some files go to uploadFiles.html page

  • You can can select multiple files at once
  • Files over 7MB will be transfered in chunks

If you do not see your files listed in the webpage after upload, refresh the page.

If something goes wrong and you see muliple filenames of format part_chunk_****_*:

  1. First check if your upload file has been correctly reconstructed.
  2. Delete them

All the best.

About

Share files in your local network between your devices. Large files are transfered in chunks to the server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published