On Wed, Mar 11, 2009 at 9:36 AM, Raphael Bauduin <[email protected]> wrote: > I want to prevent users to create directories, and I thought to return > FtpletResult.SKIP from onMkdirStart. > However, when the client issues a mkdir command, nothing happens after > the command has been sent: no error from the server, no prompt > available for another command, nothing.
If you choose to return SKIP from your Ftplet, FtpServer will do nothing more with that request, meaning you're now responsible for returning the correct reply code to the client. For MKD, that's probably 257 if you created the directory that the client requested.. /niklas
