mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Theodoros Semertzidis <theo...@iti.gr>
Subject Re: first attempt failed
Date Fri, 18 Jun 2010 11:26:59 GMT
thanks for the answers,
it worked.... but I finally decided to use the ftpserver separately and
not integrated in my program
thanks again!
 
Toli Kuznets wrote:
> Theodoros,
>
> I think you need the following line:
>     <ftp:file-user-manager encrypt-passwords="clear"
> file="src/test/resources/users.properties"/>
> 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
>>>
>>>       
>
>   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message