commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VFS-368) SFTP documentation implies that "userDirIsRoot" defaults to true
Date Tue, 13 Aug 2013 14:21:48 GMT

     [ https://issues.apache.org/jira/browse/VFS-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory resolved VFS-368.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
    Reproduced In: Nightly Builds

{noformat}
commit -m "[VFS-265][FTP] Set user dir as root dir by default." C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java
C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1513484.
{noformat}

                
> SFTP documentation implies that "userDirIsRoot" defaults to true
> ----------------------------------------------------------------
>
>                 Key: VFS-368
>                 URL: https://issues.apache.org/jira/browse/VFS-368
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Brendan Long
>            Priority: Minor
>              Labels: sftp
>             Fix For: 2.1
>
>
> On this documentation page:
> http://commons.apache.org/vfs/filesystems.html#SFTP
> It says:
>     SFTP
>     Provides access to the files on an SFTP server (that is, an SSH or SCP server).
>     URI Format
>     sftp://[ username[: password]@] hostname[: port][ absolute-path]
>     Examples
>         sftp://myusername:mypassword@somehost/pub/downloads/somefile.tgz
> The default is actually that the path is relative from the user's home directory. This
can be changed by running:
>     SftpFileSystemConfigBuilder
>     .getInstance()
>     .setUserDirIsRoot(options, false);
> I suggest changing the documentation to say [ relative-path ] and adding a note about
absolute paths (but I'm not sure how to make it fit the style of this page).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message