[ https://issues.apache.org/jira/browse/VFS-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243196#comment-16243196 ]
Sudhakar commented on VFS-648: ------------------------------ Originally this code is written for testing sftp that is why the variable is named as sftp, but this issue is with ftp. > “Invalid descendent file name” with Cleo Managed file transfer (MFT) FTP > server > ------------------------------------------------------------------------------- > > Key: VFS-648 > URL: https://issues.apache.org/jira/browse/VFS-648 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 2.0, 2.2 > Environment: VLTrader by Cleo on CentOS6 > Reporter: Sudhakar > Priority: Critical > > getChildren on sub directory method returns “Invalid descendent file name” > with Cleo Managed file transfer (MFT) FTP server. Where I was able to use > getChildren on root folder without any issues. > //Code > FileObject outboundDirectory = sftpFile.resolveFile(remoteDir); > children = outboundDirectory.getChildren(); > //Exception thrown > org.apache.commons.vfs2.FileSystemException: Invalid descendent file name > I was able to use FTP clients like FileZill etc to connect and get list of > files from the same server. -- This message was sent by Atlassian JIRA (v6.4.14#64029)