downloads

by pokebrouserkat
See Code Download Embed
file hosting. best with TXT and CSV files. remember to create a copy of this if you actually want to host files! use the block stored in the sprite to store your files.

HOW TO ADD FILES:

create a copy of your file, then rename to end with .txt

copy and paste the txt EXACTLY (it does not have to be exact if you are uploading a file that was already a .txt) into the "data" section of the block

copy and paste the original file name (without extension) into the name section

copy the extension into the extension area (like txt or xml) without the .

make up a code for people to enter in order to download the file, putting it in the code section.

TO ADD MULTIPLE FILES, COPY AND PASTE THE HAT BLOCK AND GRAY BLOCK, REPEAT ABOVE STEPS.

(this is done to better utilize the Snap scheduler buffer, in hopes of multithreading. this will take full advantage of multithreading when it comes out)

you CAN use reporters in the inputs but it is not recommended as it may result in different downloads at different times or from different people. you could use an if to disable a download, or use reporters to add a festive veriety of a file for Christmas or a spoopy version for halloween or even some pranks on April fools, but using it to change the code input is A BAD IDEA (unless you are changing who can access it, but keep in mind that all files are loaded when the page loads even if they are not downloaded)

Created June 20, 2022

Last updated June 22, 2022

Published June 20, 2022