RE: [net] FTPClient Transfer succeeds but fails in cleanUp

2016-11-18 Thread Seganti, Michael (DOF)
Users List Subject: Re: [net] FTPClient Transfer succeeds but fails in cleanUp Does the same code fail when sending the same file to a different host? Have you tried using the example utility? http://commons.apache.org/proper/commons-net/#Examples This exercises most of the FTP methods. On 17 Novem

RE: [net] FTPClient Transfer succeeds but fails in cleanUp

2016-11-17 Thread Seganti, Michael (DOF)
gov.nyc.ftputils.FTPPropertyProcessor.processFileProps(FTPPropertyProcessor.java:126) at gov.nyc.ftputils.FTPClientUtil.main(FTPClientUtil.java:378) FTPClientUtil has Failed QUIT 221 Quit command received. Goodbye. -Original Message- From: Seganti, Michael (DOF) [mailto:segan...@finance.nyc.gov

RE: [net] FTPClient Transfer succeeds but fails in cleanUp

2016-11-17 Thread Seganti, Michael (DOF)
com] Sent: Thursday, November 17, 2016 12:31 PM To: Commons Users List Subject: Re: [net] FTPClient Transfer succeeds but fails in cleanUp Can you try version 3.5? Gary On Thu, Nov 17, 2016 at 9:19 AM, Seganti, Michael (DOF) < segan...@finance.nyc.gov> wrote: > I'm having a sporadic

[net] FTPClient Transfer succeeds but fails in cleanUp

2016-11-17 Thread Seganti, Michael (DOF)
I'm having a sporadic issue transferring files to a Mainframe, was wondering if anyone else has run into this. I'm trying to figure out if this is a Mainframe issue, or a net commons issue. I'm using Java 1.7 and commons-net-3.3.jar The file transfer completes, but it looks like either the 200

RE: [net] FTPS passive data connection not using SSLSocketFactory?

2014-01-24 Thread Seganti, Michael (DOF)
A couple of things. You don't set the protection buffer size or the data channel protection which has to happen immediately after the connection. client.connect(host, port); client. execPBSZ(0); client. .execPROT("P"); // Private client.login("", ""); cli

[FTPSclient] FTPS Authentication using client Certificate / public key

2013-11-06 Thread Seganti, Michael
I'm attempting to connect via FTPS to one of our clients. We provided them a public SSL key for authorization for their server. How can I perform authentication of the FTP user (as in FTP login, not just SSL negotiation/validation) by supplying a client certificate/public key? If there is an exa