So I'm trying to figure out the difference between doing this...
session.getCloseFuture().addListener(new IoFutureListenerIoFuture() {
public void operationComplete(IoFuture ioFuture) {
// Handle reconnection here...
}
});
and this...
(connector|acceptor).addListener(new
Niklas wrote:
It has likely created the default users by something calling
createDefaultUsers() on DefaultFtpServerContext. What version of
FtpServer are you using?
I'm about to remove this very feature, as it only cause confusion.
Thanks. That is the method name, createDefaultUsers(). It gets
Ilya Sterin wrote:
So I'm trying to figure out the difference between doing this...
session.getCloseFuture().addListener(new IoFutureListenerIoFuture() {
public void operationComplete(IoFuture ioFuture) {
// Handle reconnection here...
}
});
and this...
Are there any examples on writing a client to to use the server?
thanks,
micah
No, you'd use a regular FTP client to connect to the server.There're several
Java implementations of a FtpClient you can use. The simplest case: if i'm
not wrong you can use a 'ftp://' string in order to create an URL with Java
standard classes which will effectively connect you to the specified
2008/10/14 Andrea Francia [EMAIL PROTECTED]
2008/10/14 David Latorre [EMAIL PROTECTED]:
No, you'd use a regular FTP client to connect to the server.There're
several
Java implementations of a FtpClient you can use. The simplest case: if
i'm
not wrong you can use a 'ftp://' string in order
Something that I am using at work with great success is an ftp client called
enterprisedt. I replaced commons-net with this new free ftp for java client
and it is working great, check it out.
http://www.enterprisedt.com/
Thanks,
Nick Vujasin
- Original Message
From: David
Can anyone recommend a simple way to force Spring to automatically call
FTPServer.start() when Spring gets an instance of it through
BeanFactory? Keep in mind, FTPServer is not registered with Spring
through the applicationContext, but rather using the server /server
element configuration file.
2008/10/14 David Latorre [EMAIL PROTECTED]:
No, you'd use a regular FTP client to connect to the server.There're several
Java implementations of a FtpClient you can use. The simplest case: if i'm
not wrong you can use a 'ftp://' string in order to create an URL with Java
standard classes which