Reject files that don't fit a scheme #329
Unanswered
FreshImmuc
asked this question in
Q&A
Replies: 1 comment
-
That would be up to you - but you can throw an error and pass back the rejected signal; here is an example from the default STOR command: ftp-srv/src/commands/registration/stor.js Lines 61 to 65 in 50e8c45 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
how do i reject file uploads at all?
Beta Was this translation helpful? Give feedback.
All reactions