Error during file transfer: 550 - Permission denied

2013-09-26 Thread Martin Wunderlich
Dear all, I have just joined this list, because I started working on an integration of the Apache FtpServer into an existing project. So far, things have gone well and I can connect to the FTP server. However, when trying to upload a file, I get an 550 - Permission denied error. I have

RE: Error during file transfer: 550 - Permission denied

2013-09-26 Thread Goodwin, Matthew
Did you create create users via UserManagerFactory? -Original Message- From: Martin Wunderlich [mailto:m...@censhare.de] Sent: Thursday, September 26, 2013 10:52 AM To: ftpserver-users@mina.apache.org Subject: Error during file transfer: 550 - Permission denied Dear all, I have just

Re: Error during file transfer: 550 - Permission denied

2013-09-26 Thread Martin Wunderlich
Thanks a lot for the quick reply, Matthew. No, I did not create users via a UserManagerFactory. I have implemented my own UserManager class, because I would like to authenticate against our own authentication system. This UserManager implements the required interface and is attached to the

Re: Error during file transfer: 550 - Permission denied

2013-09-26 Thread Martin Wunderlich
I think I figured out what you meant. In my UserManager the methods save and getUserByName were not implemented, yet. So, in essence, it seems that the UserManager implementation needs to maintain a list of users internally, right? I have done this now using a HashMap, which maps usernames to