mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Gustavsson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FTPSERVER-272) follow symbolic links
Date Thu, 14 May 2009 06:38:45 GMT

    [ https://issues.apache.org/jira/browse/FTPSERVER-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709287#action_12709287
] 

Niklas Gustavsson commented on FTPSERVER-272:
---------------------------------------------

Great, that makes this patch very simple. I'll attempt to implement it in 1.1 later today.

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


Mime
View raw message