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(, );
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 November 2016 at 18:01, Seganti, Michael (DOF
)
at
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
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
: 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 issue transferr