// the front upload a `prd.zip` file。I receive it, unzip it,and send it to another folder。
// I use the following code。
const reader = fs.createReadStream(ctx.request.files['file']['path']);
const filePath = `${path.resolve(__dirname, '../../www/assets')}/ddmccdn/`;
compressing.zip.uncompress(reader, filePath)
What I want:
under the floder ddmccdn/,I can find all unziped files.
What I meet:
when I use stream as compressing.zip.uncompress source param, I find children'children'children's file will be lost
When I use file path as compressing.zip.uncompress source param, I find children'children'children'children's file will be lost
Hi, man !
what I do:
What I want:
under the floder
ddmccdn/
,I can find all unziped files.What I meet:
compressing.zip.uncompress
source param, I find children'children'children's file will be lostcompressing.zip.uncompress
source param, I find children'children'children'children's file will be lostThe following is my project: https://github.com/woden0415/prdreview1
Looking forward to your reply!