You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "stevezhuang (JIRA)" <ji...@apache.org> on 2016/08/01 17:59:20 UTC

[jira] [Created] (NET-600) FTPClient.rename() doesn't work well for a Linux FTP

stevezhuang created NET-600:
-------------------------------

             Summary: 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 throw an exception.
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)