DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32374


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From [EMAIL PROTECTED]  2004-12-14 10:51 -------
Kinnari,

Sorry, but I'm going to have to mark this as WONTFIX, unless you can give me
concrete evidence that commons-net is at fault here. This works perfectly on Red
Hat 9 (hostname changed, obviously):

public static void main(String[] args) throws SocketException, IOException {
                FTPClient ftp = null;
                
                ftp = new FTPClient();
                ftp.addProtocolCommandListener(new PrintCommandListener(new
PrintWriter(System.out)));
                ftp.connect("foo.bar.com");
                ftp.login("anonymous", "[EMAIL PROTECTED]");
                
                //String path = "/pub/New Folder/5.4.0/This is a test.txt";
                String path ="/pub/one/two/three/A filename with spaces";
                FTPFile[] files = ftp.listFiles(path);
                
                System.out.println("Files = " + files.length);
                if(files.length == 1) {
                        System.out.println("File: [" + files[0] + "]");
                }

                ftp.disconnect();
                
        }

And I have tried many more combinations, all involving spaces in the path and
filenames, so I can't see where the problem is in FTPClient. If you can find a
definite issue somewhere in the code, then I am more than happy to fix. However,
for the moment, it's WONTFIX, I'm afraid.

PS I have tried this with versions 1.2.2 and HEAD.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to