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

stevezhuang closed NET-600.
---------------------------
    Resolution: Not A Bug

> FTPClient.rename() doesn't work well for a Linux FTP
> ----------------------------------------------------
>
>                 Key: NET-600
>                 URL: https://issues.apache.org/jira/browse/NET-600
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.5
>         Environment: ubuntu vsftpd
>            Reporter: stevezhuang
>
> FTPClient.rename() API doesn't work well for a Linux FTP, especially for 
> setting a user directory as its root directory case,
> For example, for a ubuntu vsftpd, which is having "/home/user1" as its root 
> directory, when renaming "/test1.txt" to "/test2.txt", it will return false, 
> because those paths are not the full path.
> In this case, it should consider the workingDirectory(would be "/home/user1") 
> together and append it to the from/to path to make the API work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to