You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (JIRA)" <ji...@apache.org> on 2012/06/13 16:35:43 UTC

[jira] [Commented] (VFS-420) SFTP : USING SLASH (/) SYMBOLS AS DIRECTORY NAME PREFIXES

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

Gary D. Gregory commented on VFS-420:
-------------------------------------

Can you give a code example?

The {{//}} work:

{code:java}
String.format("sftp://%s@localhost:%d", DEFAULT_USER, SocketPort);
{code}

in {{org.apache.commons.vfs2.provider.sftp.test.SftpProviderTestCase.SftpProviderTestCase()}}
                
> SFTP : USING SLASH (/) SYMBOLS AS DIRECTORY NAME PREFIXES
> ---------------------------------------------------------
>
>                 Key: VFS-420
>                 URL: https://issues.apache.org/jira/browse/VFS-420
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: IBM z/OS
>            Reporter: airody prasad shetty
>
> When using SFTP with a directory whose name contains '//' as prefix which is common in IBM z/OS the following error occurs 
> org.apache.commons.vfs.FileSystemException: Could not determine
> the type of file "sftp://REMOTEHOST/DW.ORACLE.TEST/CH".
> at
> org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.j
> ava:1305)
> at
> org.apache.commons.vfs.provider.AbstractFileObject.getType(AbstractFileObject.
> java:412)
> at
> org.apache.commons.vfs.provider.AbstractFileObject.exists(AbstractFileObject.j
> ava:402)
> at
> org.apache.commons.vfs.provider.AbstractFileObject.isWriteable(AbstractFileObj
> ect.java:468)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira