[ 
https://issues.apache.org/jira/browse/NET-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631668#comment-17631668
 ] 

Gary D. Gregory commented on NET-716:
-------------------------------------

Uh? The listFiles() method works, but your custom code does not, "Therefore the 
problem could not be found in my client code." makes no sense. The problem can 
only be the custom code, you are calling a low-level method with incorrect 
expectations to match the listFiles() method. I'll repeat: It sounds like your 
code does something different or is missing steps from the listFiles() method. 
I suggest you step through your debugger to understand the difference. 


> sendCommand("LIST") ends up with "425 Can't open data connection."
> ------------------------------------------------------------------
>
>                 Key: NET-716
>                 URL: https://issues.apache.org/jira/browse/NET-716
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.8.0
>            Reporter: Andreas Wagner
>            Priority: Major
>
> Hello!
> I'm using org.apache.commons.net.ftp.FTPSClient to connect to FTP server 
> running on a mainframe. Method "listFiles" works correct and the actual list 
> of my datasets is returned to my java client program. But when using method 
> call 'sendCommand("LIST")' error "425 Can't open data connection." is 
> returned.
> With kind regards,
> Andreas Wagner



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to