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)

Reply via email to