You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Nitish Bangera <ba...@gmail.com> on 2011/04/13 07:53:32 UTC

setting up the ftp server

I am really stuck in setting up the ftpserver. I have tried the tutorial
provided by the apache ftpserver web site and then when i try to connect to
the ftpserver using a filezilla client, it does not connect. Please help me
in setting up the ftp server.

-- 
Regards,
Nitish S. Bangera

Re: setting up the ftp server

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Wed, Apr 13, 2011 at 11:57 AM, Nitish Bangera
<ba...@gmail.com> wrote:
> Which module handles the username and password authentication?

If by module you mean class, have a look in:
org.apache.ftpserver.usermanager.impl.PropertiesUserManager.authenticate(Authentication)

/niklas

Re: setting up the ftp server

Posted by Nitish Bangera <ba...@gmail.com>.
Which module handles the username and password authentication?

On Wed, Apr 13, 2011 at 2:53 PM, Nitish Bangera <ba...@gmail.com>wrote:

> I was using the saltedpasswordencrypter. I defaulted it to use the
> md5passwordencrypter which solved the problem. Now the ftp client can
> connect to the ftp server.
>
>
> On Wed, Apr 13, 2011 at 2:25 PM, Niklas Gustavsson <ni...@protocol7.com>wrote:
>
>> On Wed, Apr 13, 2011 at 10:53 AM, Nitish Bangera
>> <ba...@gmail.com> wrote:
>> > The password authentication failed for the anonymous users as well as
>> the
>> > new users that i had created.
>>
>> Sounds like there's a problem with your user manager configuration.
>> Could you provide your configuration, user manager data source
>> (obfuscated as needed) and server log file?
>>
>> /niklas
>>
>
>
>
> --
> Regards,
> Nitish S. Bangera
>



-- 
Regards,
Nitish S. Bangera

Re: setting up the ftp server

Posted by Nitish Bangera <ba...@gmail.com>.
I was using the saltedpasswordencrypter. I defaulted it to use the
md5passwordencrypter which solved the problem. Now the ftp client can
connect to the ftp server.

On Wed, Apr 13, 2011 at 2:25 PM, Niklas Gustavsson <ni...@protocol7.com>wrote:

> On Wed, Apr 13, 2011 at 10:53 AM, Nitish Bangera
> <ba...@gmail.com> wrote:
> > The password authentication failed for the anonymous users as well as the
> > new users that i had created.
>
> Sounds like there's a problem with your user manager configuration.
> Could you provide your configuration, user manager data source
> (obfuscated as needed) and server log file?
>
> /niklas
>



-- 
Regards,
Nitish S. Bangera

Re: setting up the ftp server

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Wed, Apr 13, 2011 at 10:53 AM, Nitish Bangera
<ba...@gmail.com> wrote:
> The password authentication failed for the anonymous users as well as the
> new users that i had created.

Sounds like there's a problem with your user manager configuration.
Could you provide your configuration, user manager data source
(obfuscated as needed) and server log file?

/niklas

Re: setting up the ftp server

Posted by Nitish Bangera <ba...@gmail.com>.
The password authentication failed for the anonymous users as well as the
new users that i had created.

On Wed, Apr 13, 2011 at 1:35 PM, Niklas Gustavsson <ni...@protocol7.com>wrote:

> Please keep the mailing list included.
>
> On Wed, Apr 13, 2011 at 10:03 AM, Nitish Bangera
> <ba...@gmail.com> wrote:
> > I had embedded the ftpserver into my application and was facing some
> > problems during the password authentication through the ftp client.
>
> Can you please provide more details about "some problems"?
>
> /niklas
>



-- 
Regards,
Nitish S. Bangera

Re: setting up the ftp server

Posted by Niklas Gustavsson <ni...@protocol7.com>.
Please keep the mailing list included.

On Wed, Apr 13, 2011 at 10:03 AM, Nitish Bangera
<ba...@gmail.com> wrote:
> I had embedded the ftpserver into my application and was facing some
> problems during the password authentication through the ftp client.

Can you please provide more details about "some problems"?

/niklas

Re: setting up the ftp server

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Wed, Apr 13, 2011 at 7:53 AM, Nitish Bangera
<ba...@gmail.com> wrote:
> I am really stuck in setting up the ftpserver. I have tried the tutorial
> provided by the apache ftpserver web site and then when i try to connect to
> the ftpserver using a filezilla client, it does not connect. Please help me
> in setting up the ftp server.

Are you sure you're using the right port in the client? Also, could
you provide the output of netstat -a (switches might be different on
Windows) for the port you're using for the server? This will ensure
that the server is correctly listening to network traffic.

/niklas

Re: setting up the ftp server

Posted by Toli Kuznets <tk...@marinsoftware.com>.
Nitish,

Can you give us a bit more context? Is the server starting up? Is it
listening on the expected port? Can you telnet to the port? Do you see
it up via netsat (if you are doing this on *nix or Windows as well)?

does it not connect because the server is not up, or because the user
doesn't have permissions to log on?

Did you go through the "5-min" startup guides posted at
http://mina.apache.org/ftpserver/running-ftpserver-stand-alone-in-5-minutes.html
?

How are you starting up the server?

On Tue, Apr 12, 2011 at 10:53 PM, Nitish Bangera
<ba...@gmail.com> wrote:
> I am really stuck in setting up the ftpserver. I have tried the tutorial
> provided by the apache ftpserver web site and then when i try to connect to
> the ftpserver using a filezilla client, it does not connect. Please help me
> in setting up the ftp server.
>
> --
> Regards,
> Nitish S. Bangera
>