[
https://issues.apache.org/jira/browse/VFS-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978828#action_12978828
]
Andreas Persson commented on VFS-345:
-------------------------------------
FTPClientWrapper:
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FTPClientWrapper.java?r1=804644&r2=940808&diff_format=h
I don't understand the code enough to tell how the VFS-307 patch works, but
when I removed these lines:
files = getFtpClient().listFiles(relPath);
if (FTPReply.isPositiveCompletion(getFtpClient().getReplyCode()))
{
return files;
}
which were added in VFS-307, the bug disappeared.
> 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.
-
You can reply to this email to add a comment to the issue online.