commons-issues mailing list archives

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

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

Sudhakar commented on VFS-648:
------------------------------

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
		|
		----test.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
>
> 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