commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stevezhuang (JIRA)" <>
Subject [jira] [Commented] (NET-600) FTPClient.rename() doesn't work well for a Linux FTP
Date Mon, 01 Aug 2016 19:52:20 GMT


stevezhuang commented on NET-600:

Actually I am using the VFS to invoke the FTPClient API, looks like it is more of a VFS issue,
I will close this issue here and report another issue to them.
Sorry for the inconvenience caused. 

> FTPClient.rename() doesn't work well for a Linux FTP
> ----------------------------------------------------
>                 Key: NET-600
>                 URL:
>             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

View raw message