I use the zip node with Decompress mode and the output is an array with objects containing filename as a String and payload as a Buffer.
[{"id":"bb43c18.ca6614","type":"inject","z":"3b501765.6a7958","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":990,"y":3280,"wires":[["548c69f2.0bd0a8"]]},{"id":"548c69f2.0bd0a8","type":"file in","z":"3b501765.6a7958","name":"","filename":"/Temp/FOLDER.zip","format":"","chunk":false,"sendError":false,"encoding":"none","x":1170,"y":3280,"wires":[["d463fe35.49bab"]]},{"id":"d463fe35.49bab","type":"zip","z":"3b501765.6a7958","name":"","mode":"decompress","filename":"","outasstring":false,"x":1130,"y":3400,"wires":[["785fef4f.98257"]]},{"id":"785fef4f.98257","type":"debug","z":"3b501765.6a7958","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1290,"y":3400,"wires":[]}]
Is it possible to output the unzip result to a specified path?
I tried searching on Node-RED's library with output keyword, but there was no result.
If possible, please tell me!
Thanks.