You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/04/02 10:16:09 UTC
DO NOT REPLY [Bug 11044] -
FTP chmod from Windows-UNIX: wrong separator
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11044>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11044
FTP chmod from Windows-UNIX: wrong separator
------- Additional Comments From aloew@t-online.de 2003-04-02 08:16 -------
Another problem about separators within class FTP:
Using a Windows client and a Solaris 8 FTP server,
ftp.changeWorkingDirectory(parent) will fail at line 632
within method
protected void createParents(FTPClient ftp, String filename)
because the local file separator has not been replaced.
Fix:
"parent = resolveFile(parent);" has to be added at line 632.
if (parent != null) {
+ parent = resolveFile(parent);
if (!ftp.changeWorkingDirectory(parent)) {