Discuss Scratch

Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

Bump

Last edited by Red_Firework (July 19, 2021 14:24:18)

BlockPoint
Scratcher
100+ posts

New Blocks: Download blocks

Support! Here are the main things that should be added:

upload [string v] [] to server under tag:[]::variables // Sends text to a tag
upload [file v] [] to server under tag:[]::variables // Sends a file to a tag
upload [list v] [] to server under tag:[]::variables // Sends a list to a tag
(item from tag: []::variables) // Outputs text or a file from a tag

replace list [ v] with list from tag []::variables // replaces a list with a list from a tag

download [string v] from tag []::variables // Downloads a text file that contains the text from a tag (with permission)
download [file v] from tag []::variables // Downloads a file from a tag (with permission)
download [list v] from tag []::variables // Downloads a text file that contains the list from a tag (with permission)

ask for file type: []::variables // Asks for a file with a certain file type
replace list [ v] with requested file::variables // Replaces a list with a list within a text file
(requested file) // Outputs the file that the project asked for

I think the “download string” would be useful for downloading save codes. The “ask for file” would be useful for importing save codes.

Last edited by BlockPoint (July 8, 2021 15:33:18)

BlockPoint
Scratcher
100+ posts

New Blocks: Download blocks

Also, you can change the color of blocks by putting :: (COLOR HERE) or :: (HEX CODE HERE) or :: (BLOCK CATEGORY HERE)

Just make sure the colons are next to the color and inside the block

Last edited by BlockPoint (July 8, 2021 15:28:43)

BlockPoint
Scratcher
100+ posts

New Blocks: Download blocks

Bump
WindowsWhiz1234
Scratcher
100+ posts

New Blocks: Download blocks

The_Agent_J wrote:

May you please tell me where it gets saved? If it gets saved into the computer's files then no support because people can use it to download NSFS/W stuff onto your computer, if there is a section that would be added to scratch that would file everything that you saved/downloaded the support, as it can really help big platformers and other things you want to save.
Support, as long as it has some restrictions on files otherwise we could all get malware and get hacked or end up with a whole load of illegal files.
Ciyob86
Scratcher
500+ posts

New Blocks: Download blocks

Support! This would make it easier to export files since the workaround is very long and complex:

https://scratch-mit-edu.ezproxyberklee.flo.org/projects/550488140/
OwOmasterlunarae
Scratcher
100+ posts

New Blocks: Download blocks

files would have to be submitted. attempting to download an unuploaded file would give the user a notification on the project saying “sorry! we didnt find this file.” attempting to download an unaproved file would give you a notification saying “this file has not been aproveed yet! please check in soon!” downloading a rejected file gives you a notif saying “this file cannot be downloaded due to it being in violation of the community guidelines.”
Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

Bump

Last edited by Red_Firework (July 19, 2021 14:23:53)

Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

Bump

Last edited by Red_Firework (July 19, 2021 14:23:28)

orangetheory
Scratcher
500+ posts

New Blocks: Download blocks

You can't import things directly from Scratch to your compute manually. Besides there is no need of this, anyway, as Scratch would need special permissions to count the amount of files, delete files and add files directly from your computer. Scratch is for all ages 8 and up and we tend to keep it that way.
Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

Bump

Last edited by Red_Firework (July 19, 2021 14:23:03)

Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

Bump
An0therRand0mC0der
Scratcher
1000+ posts

New Blocks: Download blocks

No support:

when green flag clicked
download [virus.exe v] ::variables

Please tell me if I misunderstood this.
If there's some sort of file approval system to go along with this suggestion, then semi-support, since I don't see a use in using Scratch to download files.
Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

An0therRand0mC0der wrote:

No support:

when green flag clicked
download [virus.exe v] ::variables

Please tell me if I misunderstood this.
If there's some sort of file approval system to go along with this suggestion, then semi-support, since I don't see a use in using Scratch to download files.
You misunderstand. You can only download/upload text, and it asks the user if they would like to download the file.
CreatorBN
Scratcher
100+ posts

New Blocks: Download blocks

If it uploads text, wouldn't this be used for private messaging OR insulting???????????????????????????
Red_Firework
Scratcher
100+ posts

New Blocks: Download blocks

CreatorBN wrote:

If it uploads text, wouldn't this be used for private messaging OR insulting???????????????????????????
You can already do that.
when green flag clicked
Secret Message
define Secret Message
if <[username] = [*Put any username here*]> then
say [*Secret message here*]
end
BlockPoint
Scratcher
100+ posts

New Blocks: Download blocks

(By the way, I already supported)

There should be a feature with downloading text that you get to see the text before you download it
YesBruh1232
New Scratcher
5 posts

New Blocks: Download blocks

b7_ wrote:

This could be used to install malware and computer viruses. It would have to be a button and not a block, so that the project couldn't go like this:
when green flag clicked
download (computerirus.png)
people who “care about nd people”: bro, you put computerirus, a typo? bro thats abeliesm!!!!
DIAVLODUDE
Scratcher
76 posts

New Blocks: Download blocks

FULL SUPPORT

To make this safer, I would limit it to only have these formats:
.SVG- Image format by Scratch. Has never been detected to have any viruses/malware
.PNG-Image format. Has never been detected to have any viruses/malware
.TXT-Text format; used by Scratch in lists. (Cannot contain viruses as .txt cannot execute/run code)
.SB3-Scratch 3.0 Project format; currently used
.SB2-Older format
.SB-Oldest survivng Scratch format

dhuls
Scratcher
1000+ posts

New Blocks: Download blocks

DIAVLODUDE wrote:

.SVG- Image format by Scratch. Has never been detected to have any viruses/malware
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script
Let's also not forget that was the cause of one of Scratch's security vulnerabilities.

DIAVLODUDE wrote:

.TXT-Text format; used by Scratch in lists. (Cannot contain viruses as .txt cannot execute/run code)
A txt file could contain a Windows batch file or shell script with the first line telling users to rename the file then run it.

DIAVLODUDE wrote:

.SB2-Older format
.SB-Oldest survivng Scratch format
Why?

Powered by DjangoBB