commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudhakar (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (VFS-648) “Invalid descendent file name” with Cleo Managed file transfer (MFT) FTP server
Date Tue, 07 Nov 2017 20:10:00 GMT

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

Sudhakar edited comment on VFS-648 at 11/7/17 8:09 PM:
-------------------------------------------------------

Stack trace from sample program

org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "inbound/test.txt".
	at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:796)
	at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1045)
	at org.apache.commons.vfs2.provider.ftp.FtpFileObject.getChildren(FtpFileObject.java:420)
	at com.rnd.App.process(App.java:158)
	at com.rnd.App.main(App.java:81)

Since this server endpoint belongs to a customer, I won't be able to share. FTP folder hierarchy
is as follows 
[^ftp.jpg]


was (Author: sanivella):
Stack trace from sample program

org.apache.commons.vfs2.FileSystemException: Invalid descendent file name "inbound/test.txt".
	at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:796)
	at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1045)
	at org.apache.commons.vfs2.provider.ftp.FtpFileObject.getChildren(FtpFileObject.java:420)
	at com.rnd.App.process(App.java:158)
	at com.rnd.App.main(App.java:81)

Since this server endpoint belongs to a customer, I won't be able to share. FTP folder hierarchy
is as follows 
/
|--inbound
         |-------input.txt


> “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
>         Attachments: ftp.jpg
>
>
> 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)

Mime
View raw message