Using an uploaded asset from a node script

bumb

I think one thing you can do is, use something like the image upload project. I personally use it as my CDN, but it can also work for what you need help with. (I am pretty sure the files have some hash for the name. So a little algoritm should do the trick.)

1 Like

This is actually the solution I came up with too, but I did not want the one who makes the excel to even have to know about the console. Thanks for the suggestion!

Usually what I do is something like:
wget -O config.xlsx <asset link>
The -O is so I always get the same file name, and can replace it with a new version.

edit adding the comment regarding -O

the -O is useful when you hate the fact that wget will choose the name for u if you don’t do specify it which makes a really weird filename if downloading from the glitch cdn

2 Likes