You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "airody prasad shetty (JIRA)" <ji...@apache.org> on 2012/06/12 14:05:42 UTC

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

airody prasad shetty created VFS-420:
----------------------------------------

             Summary: 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

        

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

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415589#comment-13415589 ] 

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

Can you provide a test case I can reproduce? Even with an internet resource, we can put it in a *FunctionalTest class.
                
> 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

        

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

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ 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