[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997686#comment-12997686
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

I've done all tests with 1.0.4

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 02:05:18,397 [pool-4-thread-16] INFO 
 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread Niklas Gustavsson (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997689#comment-12997689
 ] 

Niklas Gustavsson commented on FTPSERVER-339:
-

Then it would be great if you would be able to perform the tests as described 
in the comment above. The most significant issue is that currently released 
versions of FtpServer ships with old releases of MINA and many things has been 
fixed in MINA since.

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997690#comment-12997690
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

I don't mind to use trunk or branch, but this server is in production. I prefer 
my customer not to behead me. I think the branch is more stable than the trunk, 
isn't it?

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997695#comment-12997695
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

I can't import sources. I get this message access to 
'/repos/asf/!svn/act/f0673f83-627e-2b42-ac4b-b61036a4472b' forbidden

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread Niklas Gustavsson (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997697#comment-12997697
 ] 

Niklas Gustavsson commented on FTPSERVER-339:
-

Yes, the 1.0.x branch is the most stable version of FtpServer available.

Could you please try using https, it might be a proxy interfering with your 
checkout.

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997700#comment-12997700
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

Better. No error, but it asks me for user and password

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 02:05:18,397 [pool-4-thread-16] INFO 
 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997704#comment-12997704
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

Access fixed

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 02:05:18,397 [pool-4-thread-16] INFO 
 

[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997751#comment-12997751
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

Version 1.0.6-SNAPSHOT works fine. 
Thanks

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 02:05:18,397 [pool-4-thread-16] INFO 
 

Re: Regarding Google Summer Of code 2012

2011-02-22 Thread Bernd Fondermann
On Mon, Feb 21, 2011 at 22:18, Niklas Gustavsson nik...@protocol7.com wrote:
 On Fri, Feb 18, 2011 at 7:03 PM, Eshan Sudharaka esudhar...@gmail.com wrote:
  I am a final year computer science and engineering student who is studying
 at University of Moratuwa Sri lanka, I am interested in applying a proposal
 for a java based project.And  i used apache FTP server in my training place.
 It was a great experience and i would like to submit a proposal regarding a
 improvement (Add a new feature ).

 The ASF has not yet started the work on project proposals for GSoC.
 But, judging from previous years, I believe the process is the other
 way around. That is, a mentor proposes a project and students can
 apply for these projects. Not sure if students can propose projects on
 their own.

At least in the years before, they could. A student proposing her own
project is seen as a plus.

  Bernd


[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread Niklas Gustavsson (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997755#comment-12997755
 ] 

Niklas Gustavsson commented on FTPSERVER-339:
-

Meaning you don't see the problem?

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 02:05:18,397 [pool-4-thread-16] INFO 
 

Re: Regarding Google Summer Of code 2012

2011-02-22 Thread Niklas Gustavsson
On Tue, Feb 22, 2011 at 12:58 PM, Bernd Fondermann
bernd.fonderm...@googlemail.com wrote:
 At least in the years before, they could. A student proposing her own
 project is seen as a plus.

Oh, I had no idea. How was mentors be assigned to such proposals?

/niklas


[jira] Created: (FTPSERVER-394) Download pages: no link to KEYS file, no links to MD5 or SHA hashes

2011-02-22 Thread Sebb (JIRA)
Download pages: no link to KEYS file, no links to MD5 or SHA hashes
---

 Key: FTPSERVER-394
 URL: https://issues.apache.org/jira/browse/FTPSERVER-394
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb


The download pages have links to the file signatures, but I could find no 
obvious link to the KEYS file which is necessary to make use of the .ASC file.

Also, download pages should have links to MD5 and/or SHA hashes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Assigned: (FTPSERVER-394) Download pages: no link to KEYS file, no links to MD5 or SHA hashes

2011-02-22 Thread Niklas Gustavsson (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niklas Gustavsson reassigned FTPSERVER-394:
---

Assignee: Niklas Gustavsson

 Download pages: no link to KEYS file, no links to MD5 or SHA hashes
 ---

 Key: FTPSERVER-394
 URL: https://issues.apache.org/jira/browse/FTPSERVER-394
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb
Assignee: Niklas Gustavsson

 The download pages have links to the file signatures, but I could find no 
 obvious link to the KEYS file which is necessary to make use of the .ASC file.
 Also, download pages should have links to MD5 and/or SHA hashes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (FTPSERVER-339) Commands Dropped After Successful File Upload

2011-02-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FTPSERVER-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12997766#comment-12997766
 ] 

Aniceto Pérez y Madrid commented on FTPSERVER-339:
--

That is correct. The user who always was having problems is not having problems 
since upgrade to 1.0.6. I'll keep this under close surveillance for two weeks.

 Commands Dropped After Successful File Upload
 -

 Key: FTPSERVER-339
 URL: https://issues.apache.org/jira/browse/FTPSERVER-339
 Project: FtpServer
  Issue Type: Bug
Affects Versions: 1.0.3
Reporter: Nick Padgett
Assignee: Niklas Gustavsson
Priority: Critical
 Fix For: 1.0.6, 1.1.0


 After my ftp client successfully uploads a file, it sends a QUIT request.  
 This QUIT request doesn't always appear to be logged by the FtpServer which 
 results in the connection idling and the FtpServer subsequently closes the 
 connection.  We experience this issue often when uploading large files (2+GB) 
 or multiple medium size files (~1 GB).  When the QUIT is received before the 
 FtpServer issues a 226 transfer complete message, the server sends a 226 
 transfer complete message , the a 221 goodbye message before closing the 
 connection.  When the QUIT is received after the FtpServer issues a 226 
 transfer complete message, sometimes the QUIT is processed on the existing 
 thread and sometimes it is processed on a new thread.  In either case, the 
 server sends a 221 goodbye message and closed the connection.  This leads me 
 to believe that a QUIT message could be sent to the server in the time 
 between when the first thread is being closed and the second thread is being 
 opened.  Below are logs from my FtpServer that illustrate all of these 
 scenarios.
 This issue occurs very frequently and is resulting in the user believing 
 their uploads failed.
 QUIT received before 226 transfer complete sent:
 2009-11-04 14:32:31,936 [pool-4-thread-8] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1024/2009/11/02/7558_7W5oJqfN_event.wmv
 2009-11-04 14:32:31,937 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-04 14:32:32,104 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-04 14:32:32,105 [pool-4-thread-8] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after 226 transfer complete sent on the same thread:
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1017/2009/10/09/7235_xVJpQ8tT_event.wmv
 2009-11-03 19:25:23,958 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 19:25:23,968 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 19:25:23,991 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 19:25:23,992 [pool-4-thread-697] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT received after the 226 transfer complete sent on a new thread:
 2009-11-03 04:43:16,551 [pool-4-thread-662] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1030/2009/11/02/7580_GxDwum7M_event.wmv
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 150 File status 
 okay; about to open data connection.
 2009-11-03 04:43:16,552 [pool-4-thread-662] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 226 Transfer 
 complete.
 2009-11-03 04:43:16,595 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - RECEIVED: QUIT
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 221 Goodbye.
 2009-11-03 04:43:16,598 [pool-4-thread-667] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - CLOSED
 QUIT NOT received because the FtpServer is between threads:
 2009-11-04 02:05:18,328 [pool-4-thread-16] INFO 
 org.apache.ftpserver.command.impl.STOR  - File uploaded 
 /1051/2008/11/15/7400_NHftLRzu_event.mp4
 2009-11-04 02:05:18,329 [pool-4-thread-16] INFO 
 org.apache.ftpserver.listener.nio.FtpLoggingFilter  - SENT: 

Re: Regarding Google Summer Of code 2012

2011-02-22 Thread Bernd Fondermann

On 22.02.11 13:05, Niklas Gustavsson wrote:

On Tue, Feb 22, 2011 at 12:58 PM, Bernd Fondermann
bernd.fonderm...@googlemail.com  wrote:

At least in the years before, they could. A student proposing her own
project is seen as a plus.


Oh, I had no idea. How was mentors be assigned to such proposals?

/niklas


Don't know. You'd have to ask on community@ or something similar.
At first, proposals where drafted on the wiki. Assignment was easy.
Then it was tagged JIRAs, which mentors could take over.

  Bernd


[jira] Closed: (FTPSERVER-394) Download pages: no link to KEYS file, no links to MD5 or SHA hashes

2011-02-22 Thread Niklas Gustavsson (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niklas Gustavsson closed FTPSERVER-394.
---

Resolution: Fixed

Fixed for our 1.0.5 release page, which will also be used for future releases. 
Verification instructions reused from the ActiveMQ downloads page

 Download pages: no link to KEYS file, no links to MD5 or SHA hashes
 ---

 Key: FTPSERVER-394
 URL: https://issues.apache.org/jira/browse/FTPSERVER-394
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb
Assignee: Niklas Gustavsson

 The download pages have links to the file signatures, but I could find no 
 obvious link to the KEYS file which is necessary to make use of the .ASC file.
 Also, download pages should have links to MD5 and/or SHA hashes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (FTPSERVER-395) Typo in http://mina.apache.org/ftpserver/ftp-commands.html

2011-02-22 Thread Sebb (JIRA)
Typo in http://mina.apache.org/ftpserver/ftp-commands.html
--

 Key: FTPSERVER-395
 URL: https://issues.apache.org/jira/browse/FTPSERVER-395
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb
Priority: Minor


The page says:

=
NOOP
No operation.
Server Replies
200 Command okay.

NOOP
Cause the server use optional features for the command specified.
=

The second NOOP should presumably be OPTS?

The page also fails to show which commands have parameters and which do not

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (FTPSERVER-396) Typo in http://mina.apache.org/ftpserver/ftplet.html

2011-02-22 Thread Sebb (JIRA)
Typo in http://mina.apache.org/ftpserver/ftplet.html


 Key: FTPSERVER-396
 URL: https://issues.apache.org/jira/browse/FTPSERVER-396
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb


Each connection will have its own request (FtpRequest) and session 
(FtpRequest) objects.

should probably be

Each connection will have its own request (FtpRequest) and session 
(FtpSession) objects.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (FTPSERVER-397) DefaultFtplet does not return valid FtpResult values

2011-02-22 Thread Sebb (JIRA)
DefaultFtplet does not return valid FtpResult values


 Key: FTPSERVER-397
 URL: https://issues.apache.org/jira/browse/FTPSERVER-397
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb


The DefaultFtplet returns null for all the methods which should return an 
FtpResult.

This appears to be treated the same as FtpResult.DEFAULT - so why not use that 
value?

Also, the Javadoc does not state what the return value is, so it's not clear 
which methods need to be overridden.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Reopened: (FTPSERVER-394) Download pages: no link to KEYS file, no links to MD5 or SHA hashes

2011-02-22 Thread Sebb (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb reopened FTPSERVER-394:



The 1.0.5 page looks good, but the other pages really ought to be updated as 
well.

Failing that, then delete the pages and refer the users to the archive server.

In fact, the non-current releases should be deleted from the mirror system 
anyway.

 Download pages: no link to KEYS file, no links to MD5 or SHA hashes
 ---

 Key: FTPSERVER-394
 URL: https://issues.apache.org/jira/browse/FTPSERVER-394
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb
Assignee: Niklas Gustavsson

 The download pages have links to the file signatures, but I could find no 
 obvious link to the KEYS file which is necessary to make use of the .ASC file.
 Also, download pages should have links to MD5 and/or SHA hashes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (FTPSERVER-398) distribution/res/ftp-db.sql has extraneous text at start of file

2011-02-22 Thread Sebb (JIRA)
distribution/res/ftp-db.sql has extraneous text at start of file


 Key: FTPSERVER-398
 URL: https://issues.apache.org/jira/browse/FTPSERVER-398
 Project: FtpServer
  Issue Type: Bug
Reporter: Sebb


The ftp-db.sql file starts with the line:

managermanager-- Licensed to the Apache Software Foundation (ASF) under one

This looks wrong. 

The managermanager prefix was added in r506620, comment:
Updated SQL example with missing columns and default values
Updated config examples with data source for DbUserManager

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (FTPSERVER-399) DefaultFtpHandler.sessionOpened does not check if the Ftplet returned a FtpletResult.SKIP

2011-02-22 Thread Sai Pullabhotla (JIRA)
DefaultFtpHandler.sessionOpened does not check if the Ftplet returned a 
FtpletResult.SKIP
-

 Key: FTPSERVER-399
 URL: https://issues.apache.org/jira/browse/FTPSERVER-399
 Project: FtpServer
  Issue Type: Bug
  Components: Core
Affects Versions: 1.0.5
Reporter: Sai Pullabhotla
Assignee: Sai Pullabhotla
 Fix For: 1.0.6


I was trying to use an Ftplet to send a custom welcome message using the 
Ftplet.onConnect. Within this method, I write a 220 reply to the client with my 
custom message, and return FtpletResult.SKIP. I expect that the server would 
not send the default welcome message, but it does it any how. When I looked at 
the server code, the DefaultFtpHandler does not handle the FtpletResult.SKIP 
case. I think it needs to be updated so a welcome message is sent only if the 
Ftplet returned DEFAULT result. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (FTPSERVER-371) Create a specialized FtpReply to send to Ftplets after login finishes

2011-02-22 Thread Sai Pullabhotla (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sai Pullabhotla updated FTPSERVER-371:
--

Attachment: FTPSERVER-371.patch

I've worked on this several months ago, and have been using in production with 
no issues. Just forgot to check it in. When you guys have a chance, could you 
please review it and provide your feedback? 

Thanks. 

 Create a specialized FtpReply to send to Ftplets after login finishes
 -

 Key: FTPSERVER-371
 URL: https://issues.apache.org/jira/browse/FTPSERVER-371
 Project: FtpServer
  Issue Type: New Feature
  Components: Core, Ftplets
Reporter: Sai Pullabhotla
Assignee: Sai Pullabhotla
 Fix For: 1.1.0

 Attachments: FTPSERVER-371.patch


 As an addition to https://issues.apache.org/jira/browse/FTPSERVER-253, I 
 think it would be nice to have a specialized reply that could be sent to the 
 Ftplets. The reply could include information such as the attempted user name, 
 password used by anonymous users, any exception that was thrown by the 
 UserManager during authentication. Perhaps the exception is the most 
 important piece that the Ftplets (like the one that does audit logging) would 
 like to know. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2011-02-22 Thread Sai Pullabhotla (JIRA)

[ 
https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12998022#comment-12998022
 ] 

Sai Pullabhotla commented on FTPSERVER-357:
---

Can this marked as done and closed or do we have any more work to do on this? 

 Implement IP Filtering based on black or white list
 ---

 Key: FTPSERVER-357
 URL: https://issues.apache.org/jira/browse/FTPSERVER-357
 Project: FtpServer
  Issue Type: New Feature
  Components: Core
Reporter: Sai Pullabhotla
Assignee: Sai Pullabhotla
 Fix For: 1.1.0

 Attachments: ftpserver-ipfilter.patch, ftpserver-ipfilter2.patch


 Create a new IP Filter based on black or white list to deny or allow incoming 
 client connections. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira