Please do not cross-post to multiple mailing lists. On Tue, May 26, 2009 at 6:23 AM, Vinod Kumar Singh, Noida <[email protected]> wrote: > 1) I am not able to configure customized command. I will attach the > configuration file and code for that.
Attachments are mostly stripped on this list. Please upload the files somewhere and post a link. > 2) I have override the beforeCommand() method in ftplet and get some > list and displayed the list but after that I am getting the following > message > > “425 Can't open data connection.” > > This means it tried to execute the actual ls (NLST) command and tried to > open the connection and probably giving this message. So, my problem is how > to suppress this message as I have already get the list and displayed using > beforeCommand() method. Alternatively, is there a way that I can pass the > string to be displayed and then it can actually happen as it is and won’t > get this message. This rises to write the customized command and not able to > configure it. As you probably know, NLST return it's data on a data connection. Thus, if you want to replace the NLST command implementation from an Ftplet, you need to handle the data connection, and then tell the Ftplet container to skip the command execution. Did I understand you problem correctly? If not, please elaborate on more exactly what you try to do in your Ftplet. > 3) How can we use the SSL settings and test if it is working? Our documentation covers how you configure it. To test, either use any FTP client that supports SSL, or if you want to automated, have a look at commons-net. > 4) How can we test secure FTP (sftp/ftps)? We do not support SFTP, only FTPS. > 5) How to configure LDAP user authentication apart from file-user, > db-user? We no longer support the LDAP user manager, but it would be fairly simple to write one (feel free to donate it back to the project if you do, we would be interested in it). /niklas
