How to get list of files from directory FTP?
<p>I have made Android application and I have a problem: I use org.apache ftp client and i have following code:</p>

<pre><code>    client.connect(InetAddress.getByName(...));
        boolean result=client.login(..., ...);
        client.enterLocalPassiveMode();

        for (String s:client.listNames("Power Serve")) {
            Log.e("name", s);
        }

        for (FTPFile f:client.listFiles("Power Serve")) {
            Log.e("file", f.getName());
        }
</code></pre>

<p>But first circle works and second doesn't work! I have tried to change "Power Serve" directory to "tmp" (this directory exists too), and it works. I try to change "Power Serve" to "/Power Serve", but it doesn't work too. I need it to get list of FTPFile. How can I fix it? </p>
