Closed andrea-dintino closed 2 years ago
We need a statement that downloads a zip from an endpoint and extracts it in a given folder:
Given I have a 'string' named 'myFile' Given I have a 'string' named "myFolder' Then I download the 'myFile" and extract it into "myFolder"
data:
{ "myFile": "https://zenroom.org/robba.zip" "myFolder": "/home/instance/" }
Maybe using:
https://www.npmjs.com/package/extract-zip
Closed with commit: https://github.com/dyne/restroom-mw/commit/5786eb4008a95ffa6009bba94e7bd0e21a3f79f0
We need a statement that downloads a zip from an endpoint and extracts it in a given folder:
data:
Maybe using:
https://www.npmjs.com/package/extract-zip