Hi all!
I'm trying to download a picture from unsplash.com and save it to a file, but...I can't!
The file gets downloaded, but it's not an image (Windows says that it's an unsupported format).
I've tried to save the file in base64, but it doesn't change anything.
The flow is pretty simple:
What's wrong with it?
[{"id":"013c7a22beb6ab0f","type":"inject","z":"43c90ca80bbceedd","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":280,"y":160,"wires":[["774b29243863822b"]]},{"id":"774b29243863822b","type":"http request","z":"43c90ca80bbceedd","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://source.unsplash.com/3840x2160/?space,astronomy,pleasant,places,landscape","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"credentials":{},"x":490,"y":160,"wires":[["2807546d40cd9116","f22198f9c8fac199"]]},{"id":"f22198f9c8fac199","type":"file","z":"43c90ca80bbceedd","name":"","filename":"C:\\wallpaper\\image2.jpg","filenameType":"str","appendNewline":false,"createDir":false,"overwriteFile":"true","encoding":"none","x":750,"y":160,"wires":[[]]},{"id":"2807546d40cd9116","type":"debug","z":"43c90ca80bbceedd","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":680,"y":100,"wires":[]}]