Closed GrosSacASac closed 1 year ago
@wbt and @Akxe have another look, it works now
The thing I forgot initially when moving to async, is I have to await for a directory to be created and then let the actual file that has that directory destination continue
@wbt I would be curious what the code you made looked like
@wbt I would be curious what the code you made looked like
It had client-side recursive iteration that sent several requests to the server, one for each folder creation and file upload. The server side did path validation (including checking for attempts to walk up the directory tree) etc.
@wbt thanks for sharing
It might be helpful to add some documentation updates with this PR too.
It might be helpful to add some documentation updates with this PR too.
@wbt Added a note in the readme
Published https://www.npmjs.com/package/@grossacasacs/formidable here so I can test it for a while
@tommyhtran please help to review this PR
Thanks for the review, I will add a few more tests then merge
All the test pass now ;) But they don't even run in github actions ... Published as 3.3.2
For some reason parse callback is never called, I did not yet figure out whyContext:
https://github.com/node-formidable/formidable/pull/853