You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2022/03/13 23:57:00 UTC

[jira] [Updated] (FTPSERVER-272) follow symbolic links

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

Emmanuel Lécharny updated FTPSERVER-272:
----------------------------------------
    Fix Version/s: 1.1.5
                       (was: 1.1.2)

> 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 Therning
>            Priority: Major
>             Fix For: 1.1.5
>
>
> 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 was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org