mina-ftpserver.git
9 years agoTagging 1.0.0-RC2 tags/1.0.0-RC2 1.0.0-RC2
Niklas Gustavsson [Sat, 31 Jan 2009 11:44:21 +0000 (11:44 +0000)] 
Tagging 1.0.0-RC2

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/tags/1.0.0-RC2@739547 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSetting version for release of 1.0.0-RC2 1.0.0-RC2 1.0.0-RC2
Niklas Gustavsson [Sat, 24 Jan 2009 19:58:28 +0000 (19:58 +0000)] 
Setting version for release of 1.0.0-RC2

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.0-RC2@737428 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBranching for release of 1.0.0-RC2
Niklas Gustavsson [Sat, 24 Jan 2009 19:55:22 +0000 (19:55 +0000)] 
Branching for release of 1.0.0-RC2

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.0-RC2@737427 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixing parent of exemples POM to make sure it gets signed (FTPSERVER-265)
Niklas Gustavsson [Thu, 22 Jan 2009 12:30:55 +0000 (12:30 +0000)] 
Fixing parent of exemples POM to make sure it gets signed (FTPSERVER-265)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@736623 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemoving quotes around booleans to make statements work on some databases (like MySQL)
Niklas Gustavsson [Thu, 22 Jan 2009 12:30:01 +0000 (12:30 +0000)] 
Removing quotes around booleans to make statements work on some databases (like MySQL)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@736622 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFTPSERVER-268 bundled sample XML file updated with new database configuration.
David Latorre Gallego [Tue, 20 Jan 2009 12:33:21 +0000 (12:33 +0000)] 
FTPSERVER-268 bundled sample XML file updated with new database configuration.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@736002 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake our distributions prefixed with "apache-" (FTPSERVER-266)
Niklas Gustavsson [Fri, 16 Jan 2009 21:28:32 +0000 (21:28 +0000)] 
Make our distributions prefixed with "apache-" (FTPSERVER-266)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@735147 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure we dispose the FileSystemView when the user session ends (FTPSERVER-262)
Niklas Gustavsson [Tue, 13 Jan 2009 21:54:50 +0000 (21:54 +0000)] 
Make sure we dispose the FileSystemView when the user session ends (FTPSERVER-262)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@734250 13f79535-47bb-0310-9956-ffa450edef68

9 years agoWe now close the stream provided by the file system within the scope for sending...
Niklas Gustavsson [Tue, 13 Jan 2009 21:05:31 +0000 (21:05 +0000)] 
We now close the stream provided by the file system within the scope for sending an error to the client. So, if the file system throws an exception on closing the stream, we will now send an error to the client (FTPSERVER-119)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@734241 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTest certificate replace as it had expired
Niklas Gustavsson [Tue, 13 Jan 2009 20:14:41 +0000 (20:14 +0000)] 
Test certificate replace as it had expired

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@734229 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIncreasing version for new development in trunk
Niklas Gustavsson [Fri, 9 Jan 2009 22:11:37 +0000 (22:11 +0000)] 
Increasing version for new development in trunk

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@733170 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix for statistics being wrong for the number of connections (FTPSERVER-259) and...
Niklas Gustavsson [Fri, 9 Jan 2009 21:37:49 +0000 (21:37 +0000)] 
Fix for statistics being wrong for the number of connections (FTPSERVER-259) and removed directories (FTPSERVER-261). Also added test for all stats

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@733158 13f79535-47bb-0310-9956-ffa450edef68

9 years agoEnforce the user set max idle time within the boundary set by the listener idle timeo...
Niklas Gustavsson [Tue, 6 Jan 2009 20:25:55 +0000 (20:25 +0000)] 
Enforce the user set max idle time within the boundary set by the listener idle timeout (FTPSERVER-258)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@732098 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBacking out RC1 release to get the last bug fixes in
Niklas Gustavsson [Tue, 6 Jan 2009 19:31:49 +0000 (19:31 +0000)] 
Backing out RC1 release to get the last bug fixes in

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@732072 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix for SITE DESCUSER printing WriteRequest FQCN instead of true (FTPSERVER-257)
Niklas Gustavsson [Tue, 6 Jan 2009 19:29:06 +0000 (19:29 +0000)] 
Fix for SITE DESCUSER printing WriteRequest FQCN instead of true (FTPSERVER-257)
Fix for SITE WHO throwing NPE (FTPSERVER-256)
Added test for the above commands

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@732069 13f79535-47bb-0310-9956-ffa450edef68

9 years agoNotes commited by mistake
Niklas Gustavsson [Mon, 5 Jan 2009 20:54:54 +0000 (20:54 +0000)] 
Notes commited by mistake

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@731714 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIncreasing version for new development in trunk
Niklas Gustavsson [Mon, 5 Jan 2009 20:44:30 +0000 (20:44 +0000)] 
Increasing version for new development in trunk

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@731700 13f79535-47bb-0310-9956-ffa450edef68

9 years agoApplying clean up patch from Jiri Kuhn (FTPSERVER-248)
Niklas Gustavsson [Mon, 29 Dec 2008 19:44:16 +0000 (19:44 +0000)] 
Applying clean up patch from Jiri Kuhn (FTPSERVER-248)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729984 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure we use a free port
Niklas Gustavsson [Sun, 28 Dec 2008 22:23:51 +0000 (22:23 +0000)] 
Make sure we use a free port

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729793 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTrying with 2 clients, see if that stable on Solaris
Niklas Gustavsson [Sun, 28 Dec 2008 22:21:37 +0000 (22:21 +0000)] 
Trying with 2 clients, see if that stable on Solaris

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729790 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdding a session ID, both to the API and to the MDC logging (FTPSERVER-252)
Niklas Gustavsson [Sun, 28 Dec 2008 21:54:39 +0000 (21:54 +0000)] 
Adding a session ID, both to the API and to the MDC logging (FTPSERVER-252)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729782 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixing typo in method name: setPassiveExernalAddress -> setPassiveExternalAddress...
Niklas Gustavsson [Sun, 28 Dec 2008 19:48:36 +0000 (19:48 +0000)] 
Fixing typo in method name: setPassiveExernalAddress -> setPassiveExternalAddress (FTPSERVER-254)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729767 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUsing 10 connections should be sufficient for the test
Niklas Gustavsson [Sun, 28 Dec 2008 19:34:12 +0000 (19:34 +0000)] 
Using 10 connections should be sufficient for the test

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729764 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFTPServer-249 DBUserManager doesn't close Connections leading to pool exhaustion.
David Latorre Gallego [Fri, 26 Dec 2008 13:34:39 +0000 (13:34 +0000)] 
FTPServer-249 DBUserManager doesn't close Connections leading to pool exhaustion.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729495 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCleaning up the code for how we create active data connections and setting active...
Niklas Gustavsson [Fri, 26 Dec 2008 12:32:18 +0000 (12:32 +0000)] 
Cleaning up the code for how we create active data connections and setting active sockets to be available for reuse, this is to fix FTPSERVER-250.
Adding tests from FTPSERVER-250 that shows that multiple active connections can not be opened when specifying the local address.
Attempting a better behavior on what local address to default to, we now choose the same address as the client used when connecting to us, this removes the need to disable remote verification.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729486 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd support for implicit SSL for data connections, mostly based on the patch provided...
Niklas Gustavsson [Fri, 26 Dec 2008 10:09:07 +0000 (10:09 +0000)] 
Add support for implicit SSL for data connections, mostly based on the patch provided by Kevin Conaway (FTPSERVER-247)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@729474 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure to destroy the FtpletContainer when the server shuts down (FTPSERVER-248)
Niklas Gustavsson [Mon, 22 Dec 2008 20:45:46 +0000 (20:45 +0000)] 
Make sure to destroy the FtpletContainer when the server shuts down (FTPSERVER-248)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@728769 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove logging of file renames
Niklas Gustavsson [Mon, 22 Dec 2008 20:32:55 +0000 (20:32 +0000)] 
Improve logging of file renames

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@728763 13f79535-47bb-0310-9956-ffa450edef68

9 years agoidle-timeout on data connections not parsed by XML config (FTPSERVER-246).
Niklas Gustavsson [Fri, 19 Dec 2008 21:18:12 +0000 (21:18 +0000)] 
idle-timeout on data connections not parsed by XML config (FTPSERVER-246).

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@728145 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix bug where we would close the statement before the user was actually loaded from...
Niklas Gustavsson [Mon, 15 Dec 2008 20:39:06 +0000 (20:39 +0000)] 
Fix bug where we would close the statement before the user was actually loaded from the database (FTPSERVER-242)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@726795 13f79535-47bb-0310-9956-ffa450edef68

9 years agoClean up the code somewhat
Niklas Gustavsson [Sun, 14 Dec 2008 22:09:18 +0000 (22:09 +0000)] 
Clean up the code somewhat

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@726556 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix for FTPSERVER-241 where the JVM leaks file handles when using the SSLServerSocket...
Niklas Gustavsson [Sun, 14 Dec 2008 21:53:19 +0000 (21:53 +0000)] 
Fix for FTPSERVER-241 where the JVM leaks file handles when using the SSLServerSocket (bugs.sun.com/view_bug.do?bug_id=6764972). While this bugs seems to be fixed in 1.6u12, we should fix it for users of other JVMs. Using the workaround described here http://nabble.com/-security-dev-00402-:-Re:-NullPointerException-at%09sun.security.ssl.OutputRecord.writeBuffer-td20492154.html. It's based on using a wrapper SSLSocket rather than creating an SSLServerSocket. Using this, the number of used file handles seems to be consistent and low when debugged using lsof -p <the PID> | grep sock | wc -l

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@726546 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow PROT and PBSZ to be sent before authentication (FTPSERVER-238)
Niklas Gustavsson [Fri, 12 Dec 2008 15:36:16 +0000 (15:36 +0000)] 
Allow PROT and PBSZ to be sent before authentication (FTPSERVER-238)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@726050 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDefault to the listener SSL configuration if none is provided for the data connection...
Niklas Gustavsson [Fri, 12 Dec 2008 15:31:03 +0000 (15:31 +0000)] 
Default to the listener SSL configuration if none is provided for the data connection (FTPSERVER-239)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@726046 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUpgrade to MINA 2.0.0-M4 (FTPSERVER-237)
Niklas Gustavsson [Wed, 10 Dec 2008 22:13:23 +0000 (22:13 +0000)] 
Upgrade to MINA 2.0.0-M4 (FTPSERVER-237)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725462 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPublish docs to people.a.o so that we don't have to wait for replication during release
Niklas Gustavsson [Wed, 10 Dec 2008 21:53:38 +0000 (21:53 +0000)] 
Publish docs to people.a.o so that we don't have to wait for replication during release

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725452 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIncrease version for new development
Niklas Gustavsson [Wed, 10 Dec 2008 21:43:17 +0000 (21:43 +0000)] 
Increase version for new development

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725449 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdding example for managing users using the API
Niklas Gustavsson [Wed, 10 Dec 2008 21:38:25 +0000 (21:38 +0000)] 
Adding example for managing users using the API

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725447 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd test case to ensure we treat TYPE consistent (FTPSERVER-234)
Niklas Gustavsson [Wed, 10 Dec 2008 21:28:04 +0000 (21:28 +0000)] 
Add test case to ensure we treat TYPE consistent (FTPSERVER-234)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725442 13f79535-47bb-0310-9956-ffa450edef68

9 years agoReply with an error when listing non-existing directory or file (FTPSERVER-228)
Niklas Gustavsson [Wed, 10 Dec 2008 20:52:32 +0000 (20:52 +0000)] 
Reply with an error when listing non-existing directory or file (FTPSERVER-228)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725428 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDo not recursively create directories with the MKD command (FTPSERVER-233)
Niklas Gustavsson [Wed, 10 Dec 2008 20:36:20 +0000 (20:36 +0000)] 
Do not recursively create directories with the MKD command (FTPSERVER-233)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725420 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFTPSERVER-227 RMD command should not delete the current working directory or the...
David Latorre Gallego [Wed, 10 Dec 2008 11:51:35 +0000 (11:51 +0000)] 
FTPSERVER-227 RMD command should not delete the current working directory or the any parent of current working directory.  Report, patch & Test case provided by Sai Pullabhotla.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@725059 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove logging when client disconnects before server can send the last reply (FTPSER...
Niklas Gustavsson [Tue, 9 Dec 2008 20:34:36 +0000 (20:34 +0000)] 
Improve logging when client disconnects before server can send the last reply (FTPSERVER-236)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@724873 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDELE should not delete directories (FTPSERVER-226). Thanks for the patch, Sai Pullabh...
Niklas Gustavsson [Fri, 5 Dec 2008 21:50:21 +0000 (21:50 +0000)] 
DELE should not delete directories (FTPSERVER-226). Thanks for the patch, Sai Pullabhotla!

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723886 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUse static SimpleDateFormat (FTPSERVER-229)
Niklas Gustavsson [Fri, 5 Dec 2008 21:44:17 +0000 (21:44 +0000)] 
Use static SimpleDateFormat (FTPSERVER-229)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723885 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixed tyop in comment
Niklas Gustavsson [Fri, 5 Dec 2008 21:43:20 +0000 (21:43 +0000)] 
Fixed tyop in comment

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723883 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixed bug where multiple replies would be sent if the timestamp can not be changed.
Niklas Gustavsson [Fri, 5 Dec 2008 21:42:34 +0000 (21:42 +0000)] 
Fixed bug where multiple replies would be sent if the timestamp can not be changed.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723881 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAccording to the draft RFC, the reply should be "ModifyTime", not "Modify".
Niklas Gustavsson [Fri, 5 Dec 2008 21:40:43 +0000 (21:40 +0000)] 
According to the draft RFC, the reply should be "ModifyTime", not "Modify".

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723879 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFTPSERVER-231 MFMT Commad does not work on file/path names that have one or more...
David Latorre Gallego [Thu, 4 Dec 2008 23:05:54 +0000 (23:05 +0000)] 
FTPSERVER-231 MFMT Commad does not work on file/path names that have one or more white spaces
FTPSERVER-232 MFMT command always returns a 2XX reply even if the date could not be set
FTPSERVER-234 TYPE command with no argument

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723482 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMFMT Command reply should include a message (FTPSERVER-230). Fixed incorrect reply...
Niklas Gustavsson [Thu, 4 Dec 2008 11:32:14 +0000 (11:32 +0000)] 
MFMT Command reply should include a message (FTPSERVER-230). Fixed incorrect reply code in message bundle

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@723290 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemoving some files added by mistake
Niklas Gustavsson [Tue, 2 Dec 2008 20:32:43 +0000 (20:32 +0000)] 
Removing some files added by mistake

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@722611 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImplement the MFMT command (FTPSERVER-224)
Niklas Gustavsson [Mon, 1 Dec 2008 21:28:40 +0000 (21:28 +0000)] 
Implement the MFMT command (FTPSERVER-224)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@722239 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImplement the MFMT command (FTPSERVER-224)
Niklas Gustavsson [Mon, 1 Dec 2008 20:54:54 +0000 (20:54 +0000)] 
Implement the MFMT command (FTPSERVER-224)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@722225 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure we store files sent in ASCII mode with the local line endings (FTPSERVER...
Niklas Gustavsson [Fri, 28 Nov 2008 18:56:16 +0000 (18:56 +0000)] 
Make sure we store files sent in ASCII mode with the local line endings (FTPSERVER-184)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@721551 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove Javadocs to explain that ordering of Ftplets requires passing an ordered Map
Niklas Gustavsson [Wed, 26 Nov 2008 14:31:16 +0000 (14:31 +0000)] 
Improve Javadocs to explain that ordering of Ftplets requires passing an ordered Map

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@720880 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow QUIT before authenticated
Niklas Gustavsson [Thu, 20 Nov 2008 21:57:05 +0000 (21:57 +0000)] 
Allow QUIT before authenticated

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@719392 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemoved unneccessary clearLastReply method (FtpIoSession not reused)
Niklas Gustavsson [Thu, 20 Nov 2008 21:55:07 +0000 (21:55 +0000)] 
Removed unneccessary clearLastReply method (FtpIoSession not reused)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@719391 13f79535-47bb-0310-9956-ffa450edef68

9 years agoApplied modified patch for providing FtpReply on the Ftplet.afterCommand (FTPSERVER...
Niklas Gustavsson [Thu, 20 Nov 2008 21:50:22 +0000 (21:50 +0000)] 
Applied modified patch for providing FtpReply on the Ftplet.afterCommand (FTPSERVER-222). Most of the code by Sai Pullabhotla.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@719389 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFTPSERVER-136 incorrent IP used in opening data channel.
David Latorre Gallego [Tue, 18 Nov 2008 18:01:31 +0000 (18:01 +0000)] 
FTPSERVER-136 incorrent IP used in opening data channel.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718667 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdding command line tool for adding users to a user manager (FTPSERVER-205)
Niklas Gustavsson [Mon, 17 Nov 2008 22:26:37 +0000 (22:26 +0000)] 
Adding command line tool for adding users to a user manager (FTPSERVER-205)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718416 13f79535-47bb-0310-9956-ffa450edef68

9 years agoComplete the Javadocs for the public API (FTPSERVER-212)
Niklas Gustavsson [Mon, 17 Nov 2008 21:43:30 +0000 (21:43 +0000)] 
Complete the Javadocs for the public API (FTPSERVER-212)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718394 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow for empty passwords (FTPSERVER-220)
Niklas Gustavsson [Sun, 16 Nov 2008 21:15:52 +0000 (21:15 +0000)] 
Allow for empty passwords (FTPSERVER-220)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718119 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSuggestion to enable user properties file to be updated without restarting server...
Niklas Gustavsson [Sun, 16 Nov 2008 21:05:00 +0000 (21:05 +0000)] 
Suggestion to enable user properties file to be updated without restarting server (FTPSERVER-218)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718118 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDirectory permissions should include execute permission (FTPSERVER-221)
Niklas Gustavsson [Sun, 16 Nov 2008 21:00:24 +0000 (21:00 +0000)] 
Directory permissions should include execute permission (FTPSERVER-221)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718117 13f79535-47bb-0310-9956-ffa450edef68

9 years agoClean up the dependencies
Niklas Gustavsson [Sun, 16 Nov 2008 20:46:28 +0000 (20:46 +0000)] 
Clean up the dependencies

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718111 13f79535-47bb-0310-9956-ffa450edef68

9 years agoClean up the dependencies
Niklas Gustavsson [Sun, 16 Nov 2008 20:45:02 +0000 (20:45 +0000)] 
Clean up the dependencies

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718110 13f79535-47bb-0310-9956-ffa450edef68

9 years agoClean up the dependencies
Niklas Gustavsson [Sun, 16 Nov 2008 20:32:55 +0000 (20:32 +0000)] 
Clean up the dependencies

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718109 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIncluding OSGi examples in build
Niklas Gustavsson [Sun, 16 Nov 2008 20:26:42 +0000 (20:26 +0000)] 
Including OSGi examples in build

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718108 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCommiting an example of how to use FtpServer in Spring-DM (Spring and OSGi)
Niklas Gustavsson [Sun, 16 Nov 2008 20:21:25 +0000 (20:21 +0000)] 
Commiting an example of how to use FtpServer in Spring-DM (Spring and OSGi)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718106 13f79535-47bb-0310-9956-ffa450edef68

9 years agoInitial import.
Niklas Gustavsson [Sun, 16 Nov 2008 20:19:55 +0000 (20:19 +0000)] 
Initial import.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718105 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCommiting an example of publishing an Ftplet as an OSGi service
Niklas Gustavsson [Sun, 16 Nov 2008 20:19:00 +0000 (20:19 +0000)] 
Commiting an example of publishing an Ftplet as an OSGi service

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718104 13f79535-47bb-0310-9956-ffa450edef68

9 years agoInitial import.
Niklas Gustavsson [Sun, 16 Nov 2008 20:16:32 +0000 (20:16 +0000)] 
Initial import.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718103 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow the XML config to use the Spring beans:map element for defining ftplets
Niklas Gustavsson [Sun, 16 Nov 2008 20:10:31 +0000 (20:10 +0000)] 
Allow the XML config to use the Spring beans:map element for defining ftplets

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@718101 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow the XML config to use the Spring beans:map element for defining ftplets
Niklas Gustavsson [Sat, 15 Nov 2008 21:46:14 +0000 (21:46 +0000)] 
Allow the XML config to use the Spring beans:map element for defining ftplets

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@717933 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFTPSERVER-219 The STOR command can hang a thread.
David Latorre Gallego [Fri, 14 Nov 2008 18:09:01 +0000 (18:09 +0000)] 
FTPSERVER-219 The STOR command can hang a thread.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@714088 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure the version is correct for OSGi exported packages
Niklas Gustavsson [Mon, 10 Nov 2008 23:20:56 +0000 (23:20 +0000)] 
Make sure the version is correct for OSGi exported packages

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712870 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure the version is correct for OSGi exported packages
Niklas Gustavsson [Mon, 10 Nov 2008 23:18:51 +0000 (23:18 +0000)] 
Make sure the version is correct for OSGi exported packages

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712869 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow setting the users file as a URL so ensure it will work in OSGi
Niklas Gustavsson [Mon, 10 Nov 2008 23:14:01 +0000 (23:14 +0000)] 
Allow setting the users file as a URL so ensure it will work in OSGi

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712867 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDisabled unstable test (due to race condition) for now, will investigate later
Niklas Gustavsson [Sat, 8 Nov 2008 08:05:54 +0000 (08:05 +0000)] 
Disabled unstable test (due to race condition) for now, will investigate later

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712362 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixing POM so that it uses the parent POM
Niklas Gustavsson [Sat, 8 Nov 2008 06:19:08 +0000 (06:19 +0000)] 
Fixing POM so that it uses the parent POM

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712355 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTest still failing in the CI build, adding a check
Niklas Gustavsson [Sat, 8 Nov 2008 05:50:03 +0000 (05:50 +0000)] 
Test still failing in the CI build, adding a check

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712353 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTest failing on Solaris, increasing buffer size to see if that helps
Niklas Gustavsson [Fri, 7 Nov 2008 21:41:49 +0000 (21:41 +0000)] 
Test failing on Solaris, increasing buffer size to see if that helps

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712279 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXML config does not allow multiple ftplets to be configured (FTPSERVER-217)
Niklas Gustavsson [Fri, 7 Nov 2008 20:23:45 +0000 (20:23 +0000)] 
XML config does not allow multiple ftplets to be configured (FTPSERVER-217)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712254 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdding missing POM
Niklas Gustavsson [Fri, 7 Nov 2008 20:16:00 +0000 (20:16 +0000)] 
Adding missing POM

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@712252 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake sure PropertiesUserManager is volatile if the file is set to null (FTPSERVER...
Niklas Gustavsson [Thu, 6 Nov 2008 20:29:48 +0000 (20:29 +0000)] 
Make sure PropertiesUserManager is volatile if the file is set to null (FTPSERVER-146)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@711965 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImproving Javadocs for the public API. Marked all internal classes as internal
Niklas Gustavsson [Wed, 5 Nov 2008 08:48:47 +0000 (08:48 +0000)] 
Improving Javadocs for the public API. Marked all internal classes as internal

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@711534 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFull Javadoc coverage fro ftplet-api module
Niklas Gustavsson [Tue, 4 Nov 2008 20:02:43 +0000 (20:02 +0000)] 
Full Javadoc coverage fro ftplet-api module
Returning socket addresses in the session

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@711368 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix DbUserManager.save with null password (FTPSERVER-183)
Niklas Gustavsson [Sun, 2 Nov 2008 22:23:23 +0000 (22:23 +0000)] 
Fix DbUserManager.save with null password (FTPSERVER-183)
Add test for password saves and updates

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709964 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd license header and set the correct version
Niklas Gustavsson [Sun, 2 Nov 2008 22:21:26 +0000 (22:21 +0000)] 
Add license header and set the correct version

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709962 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix so that Javadoc links work between modules (FTPSERVER-203)
Niklas Gustavsson [Sun, 2 Nov 2008 22:18:16 +0000 (22:18 +0000)] 
Fix so that Javadoc links work between modules (FTPSERVER-203)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709959 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSkip afterCommand if Ftplet.beforeCommand returns SKIP (FTPSERVER-211)
Niklas Gustavsson [Fri, 31 Oct 2008 19:31:59 +0000 (19:31 +0000)] 
Skip afterCommand if Ftplet.beforeCommand returns SKIP (FTPSERVER-211)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709542 13f79535-47bb-0310-9956-ffa450edef68

9 years agoReformat to make it readable (FTPSERVER-204)
Niklas Gustavsson [Fri, 31 Oct 2008 15:10:08 +0000 (15:10 +0000)] 
Reformat to make it readable (FTPSERVER-204)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709441 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUse commons-net now available in central repo (FTPSERVER-159)
Niklas Gustavsson [Fri, 31 Oct 2008 15:07:25 +0000 (15:07 +0000)] 
Use commons-net now available in central repo (FTPSERVER-159)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709439 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDo not time out session while they are transfering data (FTPSERVER-170)
Niklas Gustavsson [Fri, 31 Oct 2008 14:58:58 +0000 (14:58 +0000)] 
Do not time out session while they are transfering data (FTPSERVER-170)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709438 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprovements for OSGi for the UserManager (was unusable from OSGi due to encryptors...
Niklas Gustavsson [Fri, 31 Oct 2008 14:00:43 +0000 (14:00 +0000)] 
Improvements for OSGi for the UserManager (was unusable from OSGi due to encryptors not being visible and returning an private class in the factories

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709420 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDefaultFtplet.onSite() should be called before the command, not after (FTPSERVER...
Niklas Gustavsson [Fri, 31 Oct 2008 13:51:23 +0000 (13:51 +0000)] 
DefaultFtplet.onSite() should be called before the command, not after (FTPSERVER-209)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709413 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixed two issues with suspend/resume.
Niklas Gustavsson [Fri, 31 Oct 2008 13:42:36 +0000 (13:42 +0000)] 
Fixed two issues with suspend/resume.

NioListener fails to resume (FTPSERVER-209)
NioListener fails to suspend (FTPSERVER-210)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709409 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixed incorrect Javadoc (FTPSERVER-206)
Niklas Gustavsson [Thu, 30 Oct 2008 10:07:02 +0000 (10:07 +0000)] 
Fixed incorrect Javadoc (FTPSERVER-206)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@709130 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRollback the removal of setReuseAddress, broke on some platforms (e.g. Solaris).
Niklas Gustavsson [Thu, 23 Oct 2008 04:42:59 +0000 (04:42 +0000)] 
Rollback the removal of setReuseAddress, broke on some platforms (e.g. Solaris).

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@707269 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemove the use of SO_REUSEADDR on the NioListener, it's a no use for us and behaves...
Niklas Gustavsson [Tue, 21 Oct 2008 19:42:34 +0000 (19:42 +0000)] 
Remove the use of SO_REUSEADDR on the NioListener, it's a no use for us and behaves in odd ways on Windows

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@706734 13f79535-47bb-0310-9956-ffa450edef68