mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toli Kuznets <tkuzn...@marinsoftware.com>
Subject Re: first attempt failed
Date Thu, 17 Jun 2010 18:08:11 GMT

I think you need the following line:
    <ftp:file-user-manager encrypt-passwords="clear"
I think that by default authentication uses some form of encryption,
so you need to tell it to use plain-text passwords that you see in the
sample users.properties file

On Thu, Jun 17, 2010 at 5:16 AM, Sai Pullabhotla
<sai.pullabhotla@jmethods.com> wrote:
> Assuming you have used pretty much the same code as in the tutorial -
> Have you put some entries in the properties file with some users,
> passwords and home directory etc.?
> An example properties file could be found in the download at location
> - res/conf/users.properties.
> Also, make sure your passwords are hashed or unhashed depending on the
> PasswordEncryptor you have set on on the PropertiesUserManagerFactory.
> If you did set everything up correct, and still not able to login,
> then we might have to look at the code and any other resources the
> server is configured to use.
> On Thu, Jun 17, 2010 at 3:18 AM, Theodoros Semertzidis <theosem@iti.gr>
> wrote:
>> Hello ftpserver users,
>> I am trying to build an application that exchanges files with some
>> client applications through ftp.
>> I have downloaded the apache Ftpserver project and trying to integrate
>> it to my java application (on linux) with no luck.
>> I have followed the tutorial " Embedding FtpServer in 5 minutes" and
>> then  try to connect using an Ftp client.
>> At the beginning it is connecting but then  I get an error  530
>> authentication failed and stop.
>> Please could you instruct me how to configure it to serve some files
>> from a certain folder because I can't find it in the documentation.
>> thanks in advance,
>> Thodoris

View raw message