In my Photoshop javascript (using ExtendScript toolkit), I need to download an image before processing it. I’m trying with wget, as such:
app.system("wget https://dl.dropboxusercontent.com/u/73950/IMG_1827%20%282%29.png > ~/Desktop/test.png");
Unfortunately, this produces an empty png file.
What’s the correct way to download files from url when scripting with Photoshop?
2
Answers
Tried your wget command without luck. But it worked with curl for me.
It’s working only for Mac, below is the way for both: