[
https://issues.apache.org/jira/browse/FTPSERVER-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709281#action_12709281
]
Francis De Brabandere commented on FTPSERVER-272:
-------------------------------------------------
if you have a look at other ftp servers you would end up in /home
and if /home is not allowed for this user the cwd.. should just fail, as with
any other invalid path.
try the average mirror site, eg ftp.belnet.be, if you cwd to debian-cd you end
up somewhere deeper in the filesystem tree and filezilla correctly shows you
where you are
no need for path history, maybe that could be implemented on the ftp client
side?
> follow symbolic links
> ---------------------
>
> Key: FTPSERVER-272
> URL: https://issues.apache.org/jira/browse/FTPSERVER-272
> Project: FtpServer
> Issue Type: New Feature
> Environment: unix, linux, mac, ...
> Reporter: Francis De Brabandere
> Assignee: Niklas Gustavsson
> Fix For: 1.1
>
>
> there should be a way to make the ftpserver follow symbolic links instead of
> keeping the symbolic link as pwd:
> Command: CWD link
> Response: 250 CWD command successful.
> Command: PWD
> Response: 257 "/linkedToFolder" is current directory.
> you might want to make this the default behavior as some other ftp server do
> that (to investigate)
> for links the file.getAbsolutePath() gives you the link path and
> file.getCanonicalPath() gives you the real (linked to) path
> (only tested on Linux with sun jvm, not sure this is defined in the spec)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.