Error during file transfer: 550 - Permission denied

2013-09-26 Thread Martin Wunderlich
Dear all, I have just joined this list, because I started working on an integration of the Apache FtpServer into an existing project. So far, things have gone well and I can connect to the FTP server. However, when trying to upload a file, I get an 550 - Permission denied error. I have

Re: Error during file transfer: 550 - Permission denied

2013-09-26 Thread Martin Wunderlich
um 17:32 schrieb Goodwin, Matthew matthew.good...@railinc.com: Did you create create users via UserManagerFactory? -Original Message- From: Martin Wunderlich [mailto:m...@censhare.de] Sent: Thursday, September 26, 2013 10:52 AM To: ftpserver-users@mina.apache.org Subject: Error

Re: Error during file transfer: 550 - Permission denied

2013-09-26 Thread Martin Wunderlich
? -Original Message- From: Martin Wunderlich [mailto:m...@censhare.de] Sent: Thursday, September 26, 2013 10:52 AM To: ftpserver-users@mina.apache.org Subject: Error during file transfer: 550 - Permission denied Dear all, I have just joined this list, because I started working

Re: Error during file transfer: 550 - Permission denied

2013-09-27 Thread Martin Wunderlich
could shed some light on this. Thanks a lot. Kind regards, Martin Am 26.09.2013 um 18:23 schrieb Martin Wunderlich m...@censhare.de: I think I figured out what you meant. In my UserManager the methods save and getUserByName were not implemented, yet. So, in essence, it seems

How explicitly free ports on server close?

2013-10-24 Thread Martin Wunderlich
Hi all, We have noticed that the FTP server doesn't seem to release it's used ports when the close() method is called. The result is that the server can't be restarted, because its ports are already in use. Is this the normal behavior and, if yes, how can I tell the FTP server to release

Question on DataConnectionConfiguration.requestPassivePort()

2014-01-08 Thread Martin Wunderlich
Hi all, We have implemented an FTP server service based on this excellent Apache project. There is one detail, though, that isn't clear to me in relation to the passive mode: What value should be returned by the method requestPassivePort() in cases where all available (i.e. configured)

How to set the log level for the FtpLoggingFilter

2014-01-21 Thread Martin Wunderlich
Hi, I am wondering, how I can adjust the log levels for some message types in the FtpLoggingFilter when using the FTP Server. In particular, I would like the follow to have log level DEBUG: sessionCreatedLevel sessionOpenedLevel sessionIdleLevel sessionClosedLevel I had a look around the

Unexpected high server load caused by MINA-threads

2014-05-06 Thread Martin Wunderlich
Hi all, We have caught some high CPU loads on a server that runs the FTP server feature which is based on MINA. The only running threads at the time were two MINA-related threads and I am wondering, if anyone might know what the cause could be. JStack gives the following thread details:

Error while connection to FTP server running implicit SSL

2014-06-30 Thread Martin Wunderlich
Hi all, I am expanding our MINA-based FTP server by adding a setting for implicit vs. explicit SSL. I have made all the necessary changes, but for some reason I can’t connect to the server anymore when implicit SSL is set to true. In explicit SSL mode it works fine. When trying to connect, I

Re: Error while connection to FTP server running implicit SSL

2014-07-10 Thread Martin Wunderlich
GMT+02:00 Martin Wunderlich m...@censhare.de: Hi all, I am expanding our MINA-based FTP server by adding a setting for implicit vs. explicit SSL. I have made all the necessary changes, but for some reason I can’t connect to the server anymore when implicit SSL is set to true. In explicit SSL

Re: Error while connection to FTP server running implicit SSL

2014-07-11 Thread Martin Wunderlich
specifically (or Explicitly) As delivered the server let's the client use plain FTP if it doesn't request SSL. You can make it insist on SSL by writing an ftplet that rejects USER or PASS commands unless the session is secured. On 10 July 2014 12:12, Martin Wunderlich m...@censhare.de wrote

Re: How to suppress logging of SSLHandshakeException

2014-12-16 Thread Martin Wunderlich
the FilterChain in a servlet when you get the AUTH TLS request and substitute FtpLoggingFilter for your own implementation. I do not know if there is a way to solve this using NDC or MDC... Kindest regards, David Latorre 2014-12-15 9:15 GMT+01:00 Martin Wunderlich m

Connection refused error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
Hi all, We observed some strange behavior that I can’t quite explain: Our FTP server is running in passive mode and offering a listener for FTP over TLS. When the internal IP address is set in the configuration, I am not able to connect with the FTP client (tested with both Filezilla and

Re: Strange exception caught in DefaultFtpHandler: java.io.IOException: Connection reset by peer

2015-06-09 Thread Martin Wunderlich
the TCP connection with a TCP RST. On Jun 3, 2015, at 6:31 AM, Martin Wunderlich m...@censhare.de wrote: Hi all, We have implemented an FTP service based on Apache FTPServer/MINA. Recently, there are some odd exceptions being logged (see below), the root cause of which isn’t clear at all

Strange exception caught in DefaultFtpHandler: java.io.IOException: Connection reset by peer

2015-06-03 Thread Martin Wunderlich
Hi all, We have implemented an FTP service based on Apache FTPServer/MINA. Recently, there are some odd exceptions being logged (see below), the root cause of which isn’t clear at all. There are no uploads or connections attempts at the time of the exception. It seems the exceptions are

Re: Connection refused error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
to server 16:01:50 Trace: CFileZillaEnginePrivate::ResetOperation(66) Cheers, Martin Am 09.06.2015 um 15:47 schrieb David Latorre dvl...@gmail.com: Probably the full Filezilla log file will be enough El 09/06/2015 15:46, Martin Wunderlich m...@censhare.de escribió: Hi David

Re: Connection refused error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
question... when you set the ip to the ftp server, do you use the same ip on the ftp client as well? On Tuesday, June 9, 2015, Martin Wunderlich m...@censhare.de wrote: Hi all, We observed some strange behavior that I can’t quite explain: Our FTP server is running in passive mode

Re: Connection refused error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
file (with the messages which have been received and sent) of the Ftp server? Also, the log file of the ftp client would be helpful El 09/06/2015 15:25, Martin Wunderlich m...@censhare.de escribió: No, in the client I set the external IP address, because the server is accessed from