I wanted to create a simple site where one person can upload a file and transfer a random web address to someone who can upload it.
At this point, I have a web page where someone can successfully upload a file that is stored in / files / on my web server.
The python script also generates a unique random 5-letter code that is stored in a database that identifies the file
I have another page called retrieve, where a person should go, insert a 5-letter code, and he should open a file file asking to save the file.
My problem is that: 1) How to upload a file to download? At this point I get the script, take the code, get the file location on my server, but how do I get the bootloader to start the download?
2) How to get people to directly access the file? Should I change file permissions?
source
share