You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Andreas Persson (JIRA)" <ji...@apache.org> on 2012/05/13 11:26:50 UTC

[jira] [Commented] (VFS-345) Regression: FTP Provider does not support symbolic links correctly

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

Andreas Persson commented on VFS-345:
-------------------------------------

I've investigated this a little bit further.

The structure that causes the bug for me is:

/dir1/dir2/dir3/file
/link -> /dir1/dir2

- then, the URL ftp://server/link/dir3 returns false from exists().

This is with a Solaris ftp server. On Apache FtpServer it works.
                
> Regression: FTP Provider does not support symbolic links correctly
> ------------------------------------------------------------------
>
>                 Key: VFS-345
>                 URL: https://issues.apache.org/jira/browse/VFS-345
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>            Reporter: Andreas Persson
>
> After the fix from VFS-307, the FTP provider does not handle symbolic links correctly.
> A symlink to a directory returns false from exists(). getType() returns FileType.IMAGINARY.

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