Import file into asset folder from javascript


Im trying to figure out how i can have an file get sent to the asset folder from a javascript script.

1 Like

I don’t think it’s possible to do, because the Assets folder is a special Glitch feature, not something you could access from the server. If you want to save files in your Glitch project folder, take a look at this question on SO:

I guess if you are trying to save an image since you want it to be in the assets folder, so this article could be helpful:

1 Like