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
> <[email protected]> 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 <[email protected]>
>> 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
>>>
>>>
>
>