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 Miroslav Pokorny <mi...@gmail.com> on 2011/07/21 10:37:20 UTC
SFTP support in FtpServer
Hi all,
I am using ApacheFtpServer as the server while attempting to test Apache
Commons VFS SFTP file system and having problems. Jsch is complaining that
the connection is refused, and yes the port/host match. To make things as
simple as possible I copied the example from
http://mina.apache.org/ftpserver/embedding-ftpserver-in-5-minutes.html into
a class with a main. Running that and then attempting to connect w/ CuteFTP,
WInScp and some other clients all fail. They basically complain that the
connection was refused. Am i missing something...obivous :) Any pointers
would be appreciated...
tya
--
mP
Re: SFTP support in FtpServer
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sat, Jul 23, 2011 at 1:13 AM, Miroslav Pokorny
<mi...@gmail.com> wrote:
> Then you really should fix the example in the link below which shows how to
> build a ftps server.
Please note that FTPS and SFTP (as referenced in your first email) are
two completely different protocols, despite their similar looking
names. FTPS is the original FTP protocol over SSL (compare with
HTTPS). FTPS is supported by FtpServer. SFTP is a newer protocol for
doing file transfers over SSH. This is not supported by FtpServer.
/niklas
Re: SFTP support in FtpServer
Posted by Miroslav Pokorny <mi...@gmail.com>.
Then you really should fix the example in the link below which shows how to
build a ftps server.
On Sat, Jul 23, 2011 at 1:33 AM, Niklas Gustavsson <ni...@protocol7.com>wrote:
> On Thu, Jul 21, 2011 at 10:37 AM, Miroslav Pokorny
> <mi...@gmail.com> wrote:
> > I am using ApacheFtpServer as the server while attempting to test Apache
> > Commons VFS SFTP file system and having problems. Jsch is complaining
> that
> > the connection is refused, and yes the port/host match. To make things as
> > simple as possible I copied the example from
> > http://mina.apache.org/ftpserver/embedding-ftpserver-in-5-minutes.htmlinto
> > a class with a main. Running that and then attempting to connect w/
> CuteFTP,
> > WInScp and some other clients all fail. They basically complain that the
> > connection was refused. Am i missing something...obivous :) Any pointers
> > would be appreciated...
>
> FtpServer does not support SFTP. It's been a long standing request to
> support it, but so far we have not integrated support, e.g. using
> Apache SSHD.
>
> /niklas
>
--
mP
Re: SFTP support in FtpServer
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Thu, Jul 21, 2011 at 10:37 AM, Miroslav Pokorny
<mi...@gmail.com> wrote:
> I am using ApacheFtpServer as the server while attempting to test Apache
> Commons VFS SFTP file system and having problems. Jsch is complaining that
> the connection is refused, and yes the port/host match. To make things as
> simple as possible I copied the example from
> http://mina.apache.org/ftpserver/embedding-ftpserver-in-5-minutes.html into
> a class with a main. Running that and then attempting to connect w/ CuteFTP,
> WInScp and some other clients all fail. They basically complain that the
> connection was refused. Am i missing something...obivous :) Any pointers
> would be appreciated...
FtpServer does not support SFTP. It's been a long standing request to
support it, but so far we have not integrated support, e.g. using
Apache SSHD.
/niklas