On Thu, Jun 24, 2010 at 2:57 PM, Hiran Chaudhuri <[email protected]> wrote: > On my attempt to integrate ftpserver into our application I also want to > ensure files uploaded by clients match certain criteria, e.g. the filename > must match a certain pattern. > Meanwhile I got it that far that the AuthorizationRequest is not approved and > therefore the whole transfer gets rejected with a code 550.
I'm not sure that using the authorization API is the best way of doing this. I would recommend using an Ftplet and to intercept uploads, in which case you can return whatever reply code you see fit. /niklas
