SSL for javaftpserver

2008-12-17 Thread Dan
d. I can't get any folder/file listing due to the 431 Error. Any ideas/suggestions? Thanks, Dan Frank [14:03:40] 220 Service ready for new user. [14:03:40] AUTH TLS [14:03:40] 234 Command AUTH okay; starting TLS connection. [14:03:40] Connected. Exchanging encryption keys... [14:03:40]

Uploading: How to determine the file size

2008-12-19 Thread Dan
When a user uploads a file to the server is there any way to determine, before opening an OutputStream, the size (length) of the file that is being uploaded? public OutputStream createOutputStream(long offset) throws IOException { // check for file size... } Thanks, Dan

RE: Uploading: How to determine the file size

2008-12-19 Thread Dan
Then how can I implement storage quotas with this server without having to wait until the file is uplaoded, and then to check if it's too big? Thanks, Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: December-19-08 1:57 PM To: ftpserver-

BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-20 Thread Dan
"File rename (" + session.getUser().getName() + ") " + logFrFileAbsolutePath + " -> " + toFile.getAbsolutePath()); Let me know your thoughts, thanks Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: December-19-08 4:45 PM To: ftpserver-users@mi

BUG: org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-20 Thread Dan
"File rename (" + session.getUser().getName() + ") " + logFrFileAbsolutePath + " -> " + toFile.getAbsolutePath()); Let me know your thoughts, thanks Dan

RE: BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-21 Thread Dan
One of the nice features of the ftp server is its abstraction of the "file system". I don't use a java.io.File object. Dan -Original Message- From: David Latorre [mailto:dvl...@gmail.com] Sent: December-21-08 6:08 PM To: ftpserver-users@mina.apache.org S

RE: BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134)

2008-12-22 Thread Dan
ion (as it should) when a request is made for getAbsolutePath() on it. Dan -Original Message- From: David Latorre [mailto:dvl...@gmail.com] Sent: December-22-08 4:01 AM To: ftpserver-users@mina.apache.org Subject: Re: BUG? org.apache.ftpserver.command.impl.RNTO.execute(RNTO.java:134) Hello

RE: Uploading: How to determine the file size

2008-12-23 Thread Dan
I can't see how to track uploads either, I would say this is definitely nice to have for next version. Dan -Original Message- From: Sai Pullabhotla [mailto:sai.pullabho...@jmethods.com] Sent: December-23-08 6:56 AM To: ftpserver-users@mina.apache.org Subject: Re: Uploading: H

Who is using ftpserver?

2009-01-08 Thread Dan
Is there going to be a page that lists organizations that are using ftpserver? I think it would be helpful to show it used in real-world applications etc. Wondering if there any plans for this. Dan

RE: Who is using ftpserver?

2009-01-11 Thread Dan
Is there a tentative release date for 1.0.0? I think it would make sense to have testimonials for the launch etc. Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: January-09-09 1:50 AM To: ftpserver-users@mina.apache.org Subject: Re: Who is using

RE: Modifying STOR response on upload

2009-01-12 Thread Dan
This would be nice, would be a good way to implement storage quotas restrictions for user accounts. Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: January-12-09 2:36 PM To: ftpserver-users@mina.apache.org Subject: Re: Modifying STOR response on

RE: FW: Who is using ftpserver?

2009-01-13 Thread Dan
there will be some good feedback once we get to release 1.0.0. Thanks, Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: January-13-09 2:13 PM To: Dan Cc: ftpserver-users@mina.apache.org Subject: Re: FW: Who is using ftpserver? I've added a sli

Sent 421: Maximum login limit has been reached

2009-02-02 Thread Dan
I am getting 421 Maximum login limit has been reached. Logs. Is there a way to setup a maximum login limit per user? Can't see in the docs where this is documented. Thanks, Dan

RE: Sent 421: Maximum login limit has been reached

2009-02-02 Thread Dan
I'm using my own custom user manager, I'll look around there for the settings, thanks Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: February-02-09 5:07 PM To: ftpserver-users@mina.apache.org Subject: Re: Sent 421: Maximum login limi

RE: Sent 421: Maximum login limit has been reached

2009-02-02 Thread Dan
Have looked around Niklas I only see: setMaxLogins(int) - Method in class org.apache.ftpserver.ConnectionConfigFactory Where is the call to set the max logins by user? I don't see any methods for UserManager etc. Thanks, Dan -Original Message- From: Niklas Gustavsson [mailt

Maximum login connections: 421

2009-04-03 Thread Dan
to 32 people logged in right now, are there known bugs with having hanging connections etc. that could cause this? Any hints to help debug this in the future? Thanks, Dan

RE: Maximum login connections: 421

2009-04-03 Thread Dan
ger, I'm going to keep looking. -Original Message- From: Steve Winter [mailto:st...@bluecrocodile.co.nz] Sent: April-03-09 11:09 AM To: ftpserver-users@mina.apache.org Subject: Re: Maximum login connections: 421 Hi Dan, I know that many ftp clients will open multiple simultaneous connections t

RE: Maximum login connections: 421

2009-04-03 Thread Dan
)); setAuthorities(authorities); setMaxIdleTime(0); Is there a problem with the setMaxIdleTime? Otherwise I assume I am setting the logins to be a max of 4..or 8, I am not sure since my javadocs don't include ConcurrentLoginPermission info! Thanks, Dan -Original Me

RE: Stability and reliability issues

2009-04-06 Thread Dan
connection etc. that should not be able to crash the ftp server. Maybe connections are not being closed or collected with an idle timeout in some cases? For now we are just going to restart the server and wait and see. Thanks, Dan -Original Message- From: West, John C [mailto:john.c.w

Stability and reliability issues

2009-04-06 Thread Dan
info or log info to help, it's just not clear how to accomplish this. Where can I easily set the debug level? Any ideas? Let me know. Thanks, Dan

RE: Stability and reliability issues

2009-04-06 Thread Dan
The good news is we are now running a test server so we should have a clue next time an issue arises. Dan -Original Message- From: West, John C [mailto:john.c.w...@citizensbank.com] Sent: April-06-09 2:00 PM To: ftpserver-users@mina.apache.org Subject: RE: Stability and reliability

RE: Stability and reliability issues

2009-04-10 Thread Dan
rg Subject: Re: Stability and reliability issues My answers are below: 2009/4/6 Dan : > We are using RC1 with Mina M4 and we start the server embedded in a > tomcat 5.5.x webapp. Java is version 5.0 running on Linux. There was > another user with the same "Max login" problem a

RE: Stability and reliability issues

2009-04-10 Thread Dan
Um no :) Next time I'll get them Thanks Niklas, Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: April-10-09 2:16 PM To: ftpserver-users@mina.apache.org Subject: Re: Stability and reliability issues Were you able to get a netstat -a or

Evocam upload problem

2009-05-11 Thread Dan
after opening the passive data connection as the log below shows. Any ideas? Both logs are below Thanks, Dan EVOCAM LOG: --- // // EvoCam 3.6.4 Transcript // * Preparing to upload file to <ftp://ftp.hostedftp.com/webcam.jpg> * Opening connection to * Connection established * Openi

RE: STOR a temporary file

2009-05-13 Thread Dan
sh to the server? Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: May-13-09 6:52 AM To: ftpserver-users@mina.apache.org Subject: Re: STOR a temporary file On Wed, May 13, 2009 at 12:44 PM, David Latorre wrote: > If the client renamed the file its

Virtual hosts

2009-11-27 Thread Dan
Does FTP server support virtual hosts? E.g. more than one domain name pointing to a single IP address running one instance of ftp server Thanks, Dan

Differing behavior Windows vs Linux

2010-02-26 Thread Dan
26, 2010 8:07:22 PM org.apache.mina.filter.logging.LoggingFilter log INFO: SENT: 227 Entering Passive Mode (127,0,0,1,4,176) Feb 26, 2010 8:07:22 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter messageReceived INFO: RECEIVED: MLSD Dan

RE: Differing behavior Windows vs Linux

2010-02-26 Thread Dan
BTW the FTP client used was Filezilla Dan -Original Message- From: Dan [mailto:d...@tipjarawards.com] Sent: February-26-10 9:42 PM To: ftpserver-users@mina.apache.org Subject: Differing behavior Windows vs Linux When we get a command to make a new directory with a colon ":&qu

RE: Differing behavior Windows vs Linux

2010-02-27 Thread Dan
e in windows vs linux in how that command is processed? It should, irrespective of the underlying OS, get through the normal flow of commands and be handled by our filesystemview properly Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: February-2

Blocking during/after upload

2010-03-03 Thread Dan
, and then commit a response back to the client? Thanks, Dan

RE: Blocking during/after upload

2010-03-03 Thread Dan
that overrides the close() method to do the processing but that triggers the client to upload again as it timeouts waiting for a response On the surface it doesn't look like you can block effectively after an upload since the client will timeout waiting in any case and then retry. Dan -

Netstat and LAST_ACK hanging

2010-05-10 Thread Dan
Our server is running but over time it hanged and the netstat gave this kind of output (endless connections waiting for LAST_ACK). Are we missing something to clean up these connections if the client leaves them hanging? Is there a timout we can use? Thanks, Dan Here is the output from netstat

RE: Netstat and LAST_ACK hanging

2010-05-10 Thread Dan
Linux, 32-bit Redhat core 8, TLS/SSL yes (but not necessarily used in those connections I don't think), running inside tomcat 5.5.x Haven't noticed the LAST_ACK building up again but will be keeping an eye Thanks, Dan -Original Message- From: David Latorre [mailto:dvl...

FtpServer release

2008-01-26 Thread Abramovich, Dan
eta? What's the plan? Inquiring minds want to know (and embed it production code)! :-) Thank, -Dan

test failures during build...

2008-01-28 Thread Abramovich, Dan
: testMkdir(org.apache.ftpserver.ftplet.FtpLetReturnDefaultTest) Tests run: 538, Failures: 3, Errors: 1, Skipped: 0 Thanks, -Dan

passwords logged in plain text

2008-03-27 Thread Abramovich, Dan
gging of passwords will make security folks unhappy. Perhaps, it could just log *** or somesuch? If this is non-controversial I'll be happy to file a bug. (FYI, we're working on the 1.4 branch while the trunk is under construction) Thanks, -Dan