We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I have size check of post size, while user uploading file:
.on('progress', function (bytesReceived) { if (bytesReceived > maxPostSize) { console.log('~~~~', 'Too big, dropping'); req.connection.destroy(); } })
It's ok, but node v10 always give me such message: fs: missing callback Error: ENOENT, unlink 'proj\incoming\b37e2c105abcbef09d05df639923668b'
fs: missing callback Error: ENOENT, unlink 'proj\incoming\b37e2c105abcbef09d05df639923668b'
Why this happening?
The text was updated successfully, but these errors were encountered:
Or maybe I can use another method to cancel file uploading?
Sorry, something went wrong.
I use form._error() to simplify the error handling, but probably shouldn't.
form._error()
Hi @klimashkin, @OrangeDog Now size check can be achieved using maxFieldSize and maxFileSize settings.
The issue is quite old and I'm going to close it. If I understood it incorrectly, or if it still persists, feel free to reopen or comment it. Thanks.
No branches or pull requests
Hello!
I have size check of post size, while user uploading file:
It's ok, but node v10 always give me such message:
fs: missing callback Error: ENOENT, unlink 'proj\incoming\b37e2c105abcbef09d05df639923668b'
Why this happening?
The text was updated successfully, but these errors were encountered: