Re: Problem getting the server working on MacOSX Leopard

2008-08-20 Thread David Latorre
There is a chance that is due to canWrite() returning false even if the directory is writable. There are several bug reports at http://bugs.sun.com/which complain about this fact (in most systems there isn't any syscall or function which will return this value correctly). Erik could you try this

Z mode in Java FTP Clients

2008-09-30 Thread David Latorre
Hello, I was wondering if any java ftps client libraries ( currently I'm using the latest commons net ftp version so I can use explicit SSL) support Z mode or I would have to compress/uncompress everything coming from the data channel.

Re: Setting Up Logging in FTP Server

2008-10-06 Thread David Latorre
Hello Phlogiston, I'm embedding FTPServer in a webapp with my log4j.properties in WEB-INF/classes and it is working perfectly. I don't know what can be your problem. By the way, if you're reading this Niklas, I was about to send my .war with FTPServer embedded when I noticed that if my listener

Re: using SSL with FTPServer

2008-10-06 Thread David Latorre
Phlogiston, SSL configuration is explained at the docs. I guess you have to -at least- set the keystore file and the keystore password. FtpServer comes with a keystore file you can use for this. Otherwise, google for instructions on using keytool to generate a self-signed certificate. You don't

Re: how to client

2008-10-14 Thread David Latorre
No, you'd use a regular FTP client to connect to the server.There're several Java implementations of a FtpClient you can use. The simplest case: if i'm not wrong you can use a 'ftp://' string in order to create an URL with Java standard classes which will effectively connect you to the specified

Re: how to client

2008-10-14 Thread David Latorre
2008/10/14 Andrea Francia [EMAIL PROTECTED] 2008/10/14 David Latorre [EMAIL PROTECTED]: No, you'd use a regular FTP client to connect to the server.There're several Java implementations of a FtpClient you can use. The simplest case: if i'm not wrong you can use a 'ftp://' string in order

Re: Any simple way to make Spring auto-call start() on FtpServer when it is registered using the server tags? Follow-up, Ralph Palmer: No--the XML config

2008-10-16 Thread David Latorre
Hello Brad, Actually Ralph's idea sounds great (why does it need to be a DisposableBean, Ralph? my knowledge of Spring is = null) and it start FtpServer automatically , no need to provide a Main class. He builds a web application with that single file and the changes stated in his mail (yeah,

Re: FTPS List, assert secure data connection?

2008-10-16 Thread David Latorre
I misunderstand you? What version are you working with? In your case I would probably use onBeforeCommand for PORT and PASV. Cheers, David Latorre -Oorspronkelijk bericht- Van: Niklas Gustavsson [mailto:[EMAIL PROTECTED] Verzonden: Thursday, October 16, 2008 3:48 PM Aan

Re: ContextListener Example NetBeans Project

2008-10-19 Thread David Latorre
Phlogiston, I've tested the example under windows with both tomcat and glassfish 2(v1 I think but I cannot tell you right now) with this simple configuration in ftpd-typical.xml: server xmlns=http://mina.apache.org/ftpserver/spring/v1; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Any real-world Evidence FtpServer can be run in Spring as part of a webapp, and still accept connections?

2008-10-20 Thread David Latorre
or the keystore. But as I said, I suggest that you try first with no UserManager configured nor SSL. I sent you the body of the xml file so just substitute your current server/server with that one I provided. Cheers, David Latorre 2008/10/20 Phlogiston Eight [EMAIL PROTECTED] Is there any

Re: Active vs Passive performance

2008-11-06 Thread David Latorre
Hello, This is a very odd behaviour indeed. Any way, we should congratulate ourselves that Apache FtpServer might perform as well as GlobalScape. Although it seems that globalscape can do much more things than us. How are you sending the files? It would be great if you could provide a test case

Re: Active vs Passive performance

2008-11-08 Thread David Latorre
Steve, 1.5 and 1.6 JREs and Windows Vista have had several issues and I guess there are more to be fixed. (For instance, just this week I had to update to 1.6.0_7 in order to have Socket.getLocalAddress() return the correct IP address - it didn't in 1.6.0_6) I expected that 1.5.0_16 included all

Re: Socket file descriptors leak leading to Too Many Files Opened using FTP/S on Linux?

2008-12-10 Thread David Latorre
Hello Randy, I am using FTPServer embedded in glassfish with two listeners (implicit ssl explicit ssl/plain - although we forbid plain connections) and we are not seeing this issue. Since it is two of you already reporting this problem can you please elaborate a little more on : - Operating

Re: Socket file descriptors leak leading to Too Many Files Opened using FTP/S on Linux?

2008-12-11 Thread David Latorre
Hey, Fred you should try the workaround proposed in security-dev: In JSSE, you can layer a SSLSocket over an existing Socket. That will avoid SSLServerSocket creating the dummy Socket that is eventually leaking the file descriptors. ServerSocket ss = new ServerSocket(port); Socket s =

Re: Implicit SSL PROT level defaults to Clear

2008-12-17 Thread David Latorre
Hello Kevin, As you already said we are following the RFC here and -although I admit that makes little sense in these days- Sai is right that it is quite common to have only the control channel encrypted: I even saw a client (gFtp maybe?) that didn't support SSL for the data channel. And there

Re: Unix filesystem

2009-01-20 Thread David Latorre
As Niklas said I think you should extend AbstractUserManager (or just implement UserManager) Or are you using /etc/password for authentication and you want to extract the user information from a database? It doesn't sound very likely. If you are starting FTPServer programatically, you will use

Re: Sent 421: Maximum login limit has been reached

2009-02-03 Thread David Latorre
Hello Dan, Max login per user are set using authorities, an example from DBUserManager: ListAuthority authorities = new ArrayListAuthority(); if (rs.getBoolean(ATTR_WRITE_PERM)) { authorities.add(new WritePermission()); }

Re: How to set timeout?

2009-02-04 Thread David Latorre
, Feb 3, 2009 at 3:12 AM, David Latorre dvl...@gmail.com wrote: 2009/2/3 Ashish paliwalash...@gmail.com On Tue, Feb 3, 2009 at 2:38 PM, David Latorre dvl...@gmail.com wrote: Hello Mohit, My advice is to update to the latest version of FtpServer. A lot of improvements and bugfixes have

Re: symbolic links

2009-02-04 Thread David Latorre
2009/2/4 Francis De Brabandere franci...@gmail.com what is the url for these wiki's? On Wed, Feb 4, 2009 at 9:29 AM, Ashish paliwalash...@gmail.com wrote: On Wed, Feb 4, 2009 at 1:50 PM, Niklas Gustavsson nik...@protocol7.com wrote: On Wed, Feb 4, 2009 at 9:11 AM, Ashish

Re: Maximum login connections: 421

2009-04-04 Thread David Latorre
);                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 Message- From: David Latorre

Re: Possible DefaultFtpStatistics Bug.

2009-04-14 Thread David Latorre
Uh, I meant, the null value is returned from IoSession.getRemoteAddress() 2009/4/14 David Latorre dvl...@gmail.com: It seems that the NPE is being thrown in ioSession.getRemoteAddress() right? 2009/4/14 Niklas Gustavsson nik...@protocol7.com: We should never throw NPEs so this is clearly

Re: mulite language support for the name of the file been uploaded

2009-04-18 Thread David Latorre
Hello li fayan, This issue has been discussed extensively before. Currently, as spec mandates, you need to use an UTF-8 compatible client in order to use chinese characters. We should provide an alternative mechanism for 'broken' client that do not support UTF-8 but meanwhile I use Filezilla and

Re: mulite language support for the name of the file been uploaded

2009-04-20 Thread David Latorre
2009/4/19 fayan li lifa...@gmail.com: Hi David Thanks for your reply. Strange enough, I use filezila too. And the upload success while I tried on another an ftpd server running on redhat. I see the log, seems the file upload is succed, but failed when trying to write the file out to disk on

Re: Users and their permissions

2009-05-07 Thread David Latorre
2009/5/7 Simone Giannecchini simbo...@gmail.com: Ciao Sai, thanks for the feedback, but I am already doing that in my custom UserManager I load users from a db table and I create BaseUsers instances on the fly, setting the Home Directory correctly, however as I log in with one of my user the

Re: STOR a temporary file

2009-05-12 Thread David Latorre
2009/5/12 massimiliano basilica massimiliano.basil...@yahoo.it: HI all, I'm using FTPServer 1.0.I need that the FTPServer stores a file with a temporary file extention and  rename it with originally file name.The scenario is:The Client sends the file FirstFile.txt (put FirstFile.txt).The

Re: STOR a temporary file

2009-05-13 Thread David Latorre
2009/5/13 Fred Moore fred.moor...@gmail.com: Hi David, in you previous post you stated: There's no way to know (at the server side) if the file has been transferred correctly. When the data connection is closed, the server thinks the file transfer finished correctly but this must not be

Re: STOR a temporary file

2009-05-14 Thread David Latorre
...@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 dvl...@gmail.com wrote: If the client renamed the file itself when  the upload finished, you'd be sure that it had been successfully

Re: Overriding XML configuration from system properties

2009-05-31 Thread David Latorre
Yeah it's a same that because of different issues none of them, PropertyPlaceholder nor PropertyOverriden will work :-S 2009/5/31 Niklas Gustavsson nik...@protocol7.com: On Sun, May 31, 2009 at 12:06 AM, Niklas Gustavsson nik...@protocol7.com wrote: On Fri, May 29, 2009 at 7:17 PM, Roger

Re: Failed to open passive data connection

2009-06-09 Thread David Latorre
This is strange . Our codebase has changed a lot since incubator and actually I'm not familiar with your version, but i'd say that support for port-reuse in passive mode was just recently added. Are you sure that your stress tests do actually use passive mode rather than active? I think Niklas

Re: FtpServer hitting its limit?

2009-10-09 Thread David Latorre
I see Niklas and Sai are already helping you out but just in case ... Which version of Apache Ftpserver are you using? We had some issues with passive data transfers ( related to SSL connections). Are you using plain or SSL connections? As Niklas said, netstat -an report would be of much help.

Re: IODataConnection.getDataInputStream()

2009-10-14 Thread David Latorre
2009/10/13 Niklas Gustavsson nik...@protocol7.com: On Tue, Oct 13, 2009 at 6:21 AM, Charles Karow char...@karow.com wrote: I am using ftpserver to provide a standard way for people to upload files to a bucket on Amazon's S3 service. My users will always be uploading files in binary mode. I am

Re: Running FtpServer in plain FTP mode only or Explicit FTP mode only

2009-10-21 Thread David Latorre
Hello Matt, You can use a custom FTPLet for this. If you search the mailing list you will find this question asked several times ... For FTPES only: In your custom FTPLet you can hook onLoginStart - this is the beforeCommand when the command is USER- to make sure that channel is secured with

Re: implement a ftplet to limit the size of upload files

2009-10-21 Thread David Latorre
I think your code is OK except for a problem: - Restarting a failed transfer would mean that the user can safely ignore your limit. To solve this, you could take into account the skipLen value in order to prevent users from circumventing your limits. The pieces of code you didn't

Re: How to limit file upload and download to a set of directories.

2009-10-21 Thread David Latorre
the FTP server just needs to limit uploads to /projects/*/*/upload, I guess, at least as a first stab. How do I make an FTPLet to do that? Me being very green on all this. Does this make any sense, or is there a better way? Many regards, John. -Original Message- From: David

Re: Problem embedding in Glassfish

2009-11-11 Thread David Latorre
Hello Brett, Try to uncomment this line in domain.xml: com.sun.enterprise.server.ss.ASQuickStartup=false It seems that there's some odd problem relating to NIO when QuickStartup is enabled. I had this problem myself but only in some glassfish versions under Vista, i wonder why's that... If you

Re: Problem embedding in Glassfish

2009-11-16 Thread David Latorre
I'm glad, your problem was solved (should we maybe add this somewhere in the wiki?) and as Niklas said, It would be cool that you shared your db-based file manager :-) Cheers, David 2009/11/12 Brett Bergquist br...@thebergquistfamily.com: Yes, I am under the gun to use them for a Friday demo

Re: Problem embedding in Glassfish

2009-11-16 Thread David Latorre
2009/11/16 Niklas Gustavsson nik...@protocol7.com: On Mon, Nov 16, 2009 at 11:40 AM, David Latorre dvl...@gmail.com wrote: I'm glad, your problem was solved (should we maybe add this somewhere in the wiki?) Sounds good. Feel free to add it to the FAQ :-) http://mina.apache.org/ftpserver

Re: How to configure Apache FtpServer?

2009-11-28 Thread David Latorre
You might want to have a look at our examples (if you are using OSGI or a web application) or tests. Actually, in order to use Spring configuration , it would be useful if you knew a little bit about Spring :-) I haven't studied Spring framework at all so yes, at first, it might be a little hard

Re: ssl connection problem

2009-12-14 Thread David Latorre
Hello Tirtza, According to FileZilla log you're trying to connect via SFTP protocol, which is a protocol for file transfer over SSH different from FTP. So, you should chose FTPS (FTP OVER TLS/SSL IMPLICIT) in the server type combo or even FTPES if you keep implicit-ssl to false. Let us know

Re: Upgrading from old ftpserver jar raises MINA library questions.

2010-01-21 Thread David Latorre
You can use both MINA MINA 2 based applications if you're deploying the apps on an Application Server as Ashish suggested. Another option that might work for you would be using an OSGI environment ( mmh anyone, is that right? ) or use your own custom classloaders. Still, if it is a single app

Re: Avoid onuploadend being called after connection lost

2010-03-01 Thread David Latorre
Hello Vinicius, You have to explicitly check the reply variable in your onUploadEnd()/afterCommand() method. This variable should contain the last reply of the 'upload'(STOR, STOU...) command which, I guess, will be = 400 in case of any IO error. 2010/2/25 Vinicius Carvalho

Re: Avoid onuploadend being called after connection lost

2010-03-02 Thread David Latorre
get its value? Regards On Mon, Mar 1, 2010 at 7:08 AM, David Latorre dvl...@gmail.com wrote: Hello Vinicius, You have to explicitly check the reply variable in your onUploadEnd()/afterCommand() method. This variable  should contain the last reply of the 'upload'(STOR, STOU...) command which

Re: Detecting interrupted upload

2010-03-19 Thread David Latorre
You should check the reply code as Niklas suggested but, besides this, we usually suggest that the client rename the file after successfully uploading it - ideally it would also check the MD5 sum of the transferred file prior to this name change. 2010/3/18 Niklas Gustavsson

Re: LIST from database

2010-03-19 Thread David Latorre
2010/3/19 Kenneth Vanvik Hansen kvhan...@online.no: I've got a custom ( looks very much like the native one atm) filesystem implemented. Now I am wondering how to make the server use it. Figure I have to call setFileSystem() in FileSystemFactory somehow. Help? :) You should create your own

Re: FTPServer 1.0.4: suspect race condition during requestPassivePort() hanging FTP(S) server with one passive data connection port

2010-03-25 Thread David Latorre
2010/3/24 Niklas Gustavsson nik...@protocol7.com: On Wed, Mar 24, 2010 at 6:03 PM, Fred Moore fred.moor...@gmail.com wrote: we found an issue related to requestPassivePort() which may lead to an unresponsive V1.0.4 FTP (or FTP/S) Server, this issue can be reproduced.

Re: FTP transport alternatives for faster throughput

2010-03-26 Thread David Latorre
2010/3/26 DevNull43 dev.null...@gmail.com: I've been wondering so many times about FTP alternatives for faster transfers. I've seen commercial companies with nice experimental protocols boosting throughput efficiency ( but haven't had the chance to test myselves).

Re: FTPServer 1.0.4: suspect race condition during requestPassivePort() hanging FTP(S) server with one passive data connection port

2010-03-29 Thread David Latorre
. Regards, Sai Pullabhotla On Fri, Mar 26, 2010 at 7:11 AM, David Latorre dvl...@gmail.com wrote: 2010/3/26 Niklas Gustavsson nik...@protocol7.com: On Fri, Mar 26, 2010 at 9:50 AM, Fred Moore fred.moor...@gmail.com wrote: 1\ Priority of passive port sharing ehnancement: Niklas survey shows

Re: Netstat and LAST_ACK hanging

2010-05-10 Thread David Latorre
Hello Dan, Can you describe your environment? Version, configuration, SSL or not... We had some problems with hanging connections but those were solved before 1.0.4 (probably they are solved in all the 1.0.x distributions). 2010/5/10 Dan d...@tipjarawards.com: Our server is running but over

Re: Embedding ftpserver for unit test

2010-05-24 Thread David Latorre
Thanks for the help, Andy! Please note that the current recommended way of creating users is using org.apache.ftpserver.usermanager.UserFactory if available, this way you can create users in an OSGI environment. I just updated the ManagingUsers example :) 2010/5/23 Marc Esher

Re: How do you specify a custom file system?

2010-06-03 Thread David Latorre
I'm glad you solved your problem! AFAIK, we don't have any example of FTPFileSystem which implements permissions (be it DB-based or otherwise) so if you were able to contribute it ( i don't know if as an example or even as an alternative FileSystem implementation) many of our users would be

Re: keep user files on ftp server always encrypted

2010-07-16 Thread David Latorre
Hello, As Frank says, this is easily fixed using your own FileServer implementation. I made some changes in the Default FileSystem impl. in order to make this task simpler by extending NativeFtpFile. In our case, we only needed to extend two methods: public InputStream createInputStream(final

Re: Handling maximum login limit condition

2010-07-20 Thread David Latorre
Hello Satish, You can set an idle timeout so clients will be disconnected after this time as the documentation explains. Killing all the client connections doesn't sound quite right to me. 2010/7/19 Satish Kaveti satish.kav...@sick.com: I am using FtpServer with multiple FTP clients sending

Re: localhost is working, machine name does not

2010-08-04 Thread David Latorre
Hello Oleg, Just remove the local-address property in the listener configuration so FTPServer will bind to all the available interfaces. 2010/8/3 Francis De Brabandere franci...@gmail.com: I suppose you could try binding to 0.0.0.0 that should bind to all interfaces On Tue, Aug 3, 2010 at

Re: [proftpd] Re: diagnosing startup problems

2010-08-04 Thread David Latorre
AM, David Latorre dvl...@gmail.com wrote: Can you copypaste the code  you are using to start the server? 2010/8/2 Allen Firstenberg prof...@addventure.com: I have been attempting to incorporate FtpServer into a current spring-based project that I have, and have run into some problems

Re: Logging level

2010-11-08 Thread David Latorre
Hello Danilo, You can set the log levels individually according to the logger name (which usually is equal to the name of the class that instantiated the logger) . Something like this should be possible: com.your.enterpise.yourapp = DEBUG org.apache.ftpserver = ERROR See the

RE: Logging level

2010-11-09 Thread David Latorre
level David, Sorry, but what do you mean with log4j/jul/logback ? Thank you! On Mon, Nov 8, 2010 at 2:14 PM, David Latorre dvl...@gmail.com wrote: Hello Danilo, You can set the log levels individually according to the logger name (which usually is equal to the name of the class

Re: Error when setting file type

2010-11-12 Thread David Latorre
Do you have the server log and ftpclient output? I mean the output you get if you do something like this: client.addProtocolCommandListener(new PrintCommandListener(new PrintWriter(System.out))); The active/passive mode settings are per connection (session) so I don't think this may be the

Re: Connection errors

2010-12-10 Thread David Latorre
I don't have the time to look into this with detail right now but are you sure it's not the client side the one which is closing the connection? 2010/12/10 Danilo Rosetto Muñoz munozdan...@gmail.com: Hi all, I'm getting to many errors on my ftp server. The scenario is:   - I have ftp server

Re: 502 Command ALLO not implemented.

2011-01-13 Thread David Latorre
Hello Nguyen, Your problem is not the response to the ALLO command but that your client is unable to connect to 10.2.177.137 One possibility is that the IP is correct but a firewall is rejecting the connections. But 10.2.177.137 is not an internet address which is what you probably want; this is

Re: Is there a way to access the FtpSession.lastReply in the handleOnClose() call?

2011-02-14 Thread David Latorre
Hello Toli, why don't you set your ftpet to be run after STOR (and STOU...) command? In the old way this was the method onUploadEnd(). 2011/2/12 Toli Kuznets tkuzn...@marinsoftware.com: Hi, I have a custom FtpLet and I wan to kick off a job on file upload, so i override the

Re: Is there a way to access the FtpSession.lastReply in the handleOnClose() call?

2011-02-14 Thread David Latorre
Uh, I see that's what you did :) 2011/2/14 David Latorre dvl...@gmail.com: Hello Toli,  why don't you set your ftpet to be run after STOR (and STOU...) command? In the old way  this was the method onUploadEnd(). 2011/2/12 Toli Kuznets tkuzn...@marinsoftware.com: Hi, I have a custom

Re: Get the stream file

2011-03-03 Thread David Latorre
I agree with nilkas here for your use case. Still, are you sure you don't need to store the file? I think there are a number of reasons, mainly traceability, for you to keep those files as 'a backup' or in case the file cannot be parsed. I would rather have a copy of the file that failed so I can

Re: FTPlet entrySet: Sort order for multiple active FTPlets?

2011-03-21 Thread David Latorre
If you read the case that sai himself opened, you'll see that the Spring config generates a subclass of LinkedHashMap which is enough to preserve order of execution. So, for theI users wiring the server via Spring there's no need to specify a Map version. For embedders invoking the API methos

Re: Determine hostname from a custom UserManager

2011-03-27 Thread David Latorre
We are also using this user_Domain as a workaround but in case of Dan question, he only need to know what is the server name to which FTPserver is deployed... I would have it in my config file and pass it as an argument to your custom UserManager. If you don't want to depend on properties,

Re: Supporting CCC (Clear Command Channel) command

2011-04-19 Thread David Latorre
2011/4/19 sebb seb...@gmail.com: On 19 April 2011 14:46, Sai Pullabhotla sai.pullabho...@jmethods.com wrote: I was trying it with one of our own home grown client API and with Apache Commons-net. The current release of commons-net is broken, but there is a patch that was submitted, which is in

Re: [proftpd] Re: Re: ftplet not being called

2011-06-08 Thread David Latorre
Hello Allen, I would need some more info for this, e.g., 1) Are the clients using FTP or FTPS? 2) Are they using a 'publicly available' FTP client? which one? 3) Is it possible that you're capturing some exceptions silently? If I understand you correctly, FTPServer itself has logging

OutOfMemoryError - GC overhead limit exceeded

2011-07-11 Thread David Latorre
Hey guys, This weekend our ftpserver implementation (which we recently switched from a web-based application to a standalone app launched using ftpd.sh from the distro but using some 'company standard' memory options) threw the exception in the title: OutOfMemoryError - GC overhead limit

Re: Problems with SSL

2011-07-29 Thread David Latorre
Hello, What does your log say? 2011/7/28 Fabio Melo fabio.f...@gmail.com Hi All, I'm facing some problem while coding a server server using Apache FTP server. I'm using the code bellow to create a FTP server (MyFTPServer), when a run this piece of code I'm not able to connect through

Re: Ftplet

2011-08-04 Thread David Latorre
Hello Alexandre, With the current ftplet implementation this is not possible. but you can provide your own STOR/STOU implementation that handles this. We did have this very same need and I just copied the whole source code of the STOR command and added an invocation to the FTPLet method (so,

Re: find out the transfer rate

2011-08-12 Thread David Latorre
If you are doing what Miroslav said, I'd rather believe that it is your 'manual calculation' which is wrong. This should be with files of some size, otherwise the difference might be related to different starting points (e.g., with some firewalls that open/close ports automatically -but slowly-,

Re: Has anybody used any kind of load balancing

2011-08-12 Thread David Latorre
As Toli said, I don't think this is not really FTPServer-related so, in case you don't get a response, I would try a more specific forum about LBs.Anyway, in a scenario like the one Toli described, FTPServer should need no configuration changes at all- you just have to make sure that your LB is

Re: Has anybody used any kind of load balancing

2011-08-12 Thread David Latorre
Wow, my English sucks... Among others, I meant I think this is not really FTPServer-related so 2011/8/12 David Latorre dvl...@gmail.com As Toli said, I don't think this is not really FTPServer-related so, in case you don't get a response, I would try a more specific forum about LBs.Anyway

Re: FTPD service does not start

2011-11-10 Thread David Latorre
Hello Jamal, Have you tried running it from the command line Instead of using the created service? Just to find out what components are failing. 2011/11/8 Jamal Abreu jamallu...@hotmail.com Hi, I installed the service using service install ftpd ftpd-typical.xml the installation

Re: FOUND THE REAL ISSUE - RE: Control connection closing on idle timeout even when data transfer is going on

2011-12-12 Thread David Latorre
Hello Sachin, It seems this is a bug we should fix. Can you open a JIRA issue and provide a test case with it? 2011/12/10 Sachin Shetty sshe...@egnyte.com I found the real issue here. I was misguided by Filezilla's dual connection behavior where it always spawns a new connection for a

Re: Accessing Files from other users home folder?

2011-12-15 Thread David Latorre
Hello, You can use symbolic links as gary bell suggested. Another option is that you replace our default FileSystem implementation with the one provided by the VFS Utils Project, VFS FTPServer Bridge http://vfs-utils.sourceforge.net/ftpserver/index.html If I'm not wrong, in one of its

Re: Issue while running FTP daemon in Linux environment

2012-02-29 Thread David Latorre
Hello, I didn't take a look at your code, but it seems that your problem is related to data connections. Please, deactivate your firewall and try both active or passive mode. 2012/2/28 gaurav chopra gaurav.chopr...@gmail.com Hi All, I have created a daemon for ftp purpose. The daemon

Re: Setup UIDs at apache FTP

2012-03-18 Thread David Latorre
Hello, Unfortunately, this is not available out of the box. You can, however, use your own custom FileSystem implementation or even a FTPlet for this. Unless you' re using Java 7, you'll probably have to run chmod in a system call 2012/3/17 Алексей lexleogry...@mail.by Hello how i can

Re: ipv6, subdomain and DNS

2012-08-29 Thread David Latorre
Why don't you just use a single User Manager which returns a different FileSystem 'Root folder' depending on the group the user belongs to? 2012/8/28 Niklas Gustavsson nik...@protocol7.com On Tue, Aug 28, 2012 at 7:43 PM, Mauro Asprea mauroasp...@gmail.com wrote: There is a maximum

Re: FTP server dies every few hours

2012-12-07 Thread David Latorre
Hello Jerry, We have several instances of FTPServer in Linux and Win Server 2003 and never suffered such a problem (they have been running for months now). Can you provide us with the following information? 1) Apache FTPServer, Apache MINA and JRE/JDK versions. 2) Are you using any custom

Re: Upload hangs using FTPS

2013-01-28 Thread David Latorre
Hola Rubén, Are you sure your description of the problem is correct? [ INFO] 2013-01-25 12:05:07,599 [xxx] [127.0.0.1] RECEIVED: STOR xx [ WARN] 2013-01-25 12:05:28,477 [xxx] [127.0.0.1] Exception during data transfer, closing data connection socket According to you, this error

Re: No users can connect, no error.

2013-05-22 Thread David Latorre
States [image: Inactive hide details for David Latorre ---05/22/2013 07:55:10 AM---If you cannot debug the code, remove your FTPLet , set the]David Latorre ---05/22/2013 07:55:10 AM---If you cannot debug the code, remove your FTPLet , set the debug level to DEBUG and try and connec From: David

Re: user authntication

2013-08-23 Thread David Latorre
If you mean SSL client-cert-authentication, there are some emails regarding this topic in the mailing list: http://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/201104.mbox/%3CBANLkTikGiHjLLZufBn=cgqydjjkzrlw...@mail.gmail.com%3E 2013/8/21 pri...@meyersascha.de Hello, i have a

Re: Doubt on partial files

2014-03-22 Thread David Latorre
Hello Edson, Even though you might achieve that by using a FTPlet, I think a better solution is that the Ftp client itself renames the file after a successful upload. El 22/03/2014 19:06, Edson Richter edsonrich...@hotmail.com escribió: Hi! I'm new on FTP Server project, and after reading

Re: Error while connection to FTP server running implicit SSL

2014-07-04 Thread David Latorre
Martin, Could you attach Filezilla and Mina FTPServer log files as well as FTPServer configuration xml and Filezilla's config (either screenshot or XML file without the passwords)? 2014-06-30 10:57 GMT+02:00 Martin Wunderlich m...@censhare.de: Hi all, I am expanding our MINA-based FTP

Re: How to suppress logging of SSLHandshakeException

2014-12-15 Thread David Latorre
do not know if there is a way to solve this using NDC or MDC... Kindest regards, David Latorre 2014-12-15 9:15 GMT+01:00 Martin Wunderlich m...@censhare.de: Hi all, we recently noticed that the Apache MINA FTPServer will log an javax.net.ssl.SSLHandshakeException when the server

Re: How to suppress logging of SSLHandshakeException

2014-12-16 Thread David Latorre
Uh, when I said 'servlet' I meant ftplet. ​

Re: disable sslv3

2015-01-21 Thread David Latorre
As Erick says, you need to invoke SSLFilter.setEnabledProtocols() . If you are willing to provide a patch in order to expose the EnabledProtocols method in the Listener configuration, we will be happy to integrate it into the FTPServer code . Kindest regards, 2015-01-21 12:13

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

2015-06-09 Thread David Latorre
15:47 schrieb David Latorre dvl...@gmail.com: Probably the full Filezilla log file will be enough El 09/06/2015 15:46, Martin Wunderlich m...@censhare.de escribió: Hi David, There isn’t much in the log files, I am afraid. This is what I get with Filezilla on the client side: 15:44

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

2015-06-09 Thread David Latorre
. Cheers, Martin Am 09.06.2015 um 15:36 schrieb David Latorre dvl...@gmail.com: Martin, Can you include the log file (with the messages which have been received and sent) of the Ftp server? Also, the log file of the ftp client would be helpful El 09/06/2015 15:25, Martin

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

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

Re: accessing ftp server from remote client

2015-06-11 Thread David Latorre
I believe your client might be using active mode instead of passive mode. Is that possible? In that case, you also need to allow connections from your ftp server to the Ftp client. El 11/06/2015 05:43, Derya Altuntas deryaaltun...@gmail.com escribió: I am using apache ftp server 1.05 as

Re: Problem with FTPServer / MINA on Tomcat

2015-07-08 Thread David Latorre
Try removing the Mina-core dependency. It doesn't specify the version number and it is probably being included as a transitive dependency of Mina ftpserver anyway. In case mina-core didn't get included, specify the correct version (2.0.4 I think) for the library El 08/07/2015 12:33, David

Re: Trying to use ftpserver 1.0.6 standalone on Windows, unable to configure users

2015-09-09 Thread David Latorre
Hello alain, I have never used the utility myself, but I guess you should double check that the jar files you are including in the 'cp' argument do exist. El 09/09/2015 05:27, "Lanteigne, Alan" escribió: > Hello, > > I've been trying to set up ftpd 1.0.6 on a windows

Re: Embedded FTP Server / adding files

2017-10-28 Thread David Latorre
There is an implementation of filesystemview over commons vfs that could be a good solution for you. I think there used to be a link in the project's website. El 27 oct. 2017 10:02, "John Hartnup" escribió: > The simplest approach is probably the standard FileSystemViews

Re: how to disable plain ftp when server is configured with explicit ftp

2019-02-06 Thread David Latorre
from the top of my head, I think there's an isSecure() method you can use in a FTPLet... El mié., 6 feb. 2019 a las 11:30, Chandrashekhar H S () escribió: > Hi, > > Is it possible to disable plain-ftp connections when the apache ftp server > is configured to work with explicit-ssl? > > Thanks, >

Re: FTP Data Channels Through Reverse Proxy

2019-08-21 Thread David Latorre
focus on verifying why the client is failing and, if it is caused by an invalid response, why the proxy is generating it. On Thu, 22 Aug 2019, 00:03 David Latorre, wrote: > Hi Kenneth, > > Shouldn't you receive the proxy address as a response to PASV when going > through the proxy? Otherwi

Re: FTP Data Channels Through Reverse Proxy

2019-08-21 Thread David Latorre
Hi Kenneth, Shouldn't you receive the proxy address as a response to PASV when going through the proxy? Otherwise it would bypass the proxy, but I'm assuming you should not connect directly from the client to the server and that's why you need a proxy. I'm a bit puzzled since you state that the

Re: FTP Data Channels Through Reverse Proxy

2019-08-22 Thread David Latorre
; messages are supposed to go through the data channel from the client to the > server. Could it be that Apache is expecting something on that stream, > even if its just an ACK or disconnect? > > Thanks. > Ken > > -Original Message- > From: David Latorre >

Re: FTP Data Channels Through Reverse Proxy

2019-08-22 Thread David Latorre
gt; match FTP with auto-flush on. We know the socket close logic is at the > heart of the problem. Apache is closing the command socket and I'll bet > there is some internal hidden error causing that. > > Thanks. > Ken > > -Original Message- > From: David Latorre >