You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Martin Michalík <xm...@vse.cz> on 2003/10/07 19:20:13 UTC

FTP commmand results

Hi people! :)
I have a problem with using FTP client and I can't find how to solve it. 
Does anybody help me, please?
I wish to use "LIST -lR" command for recursive listing. It seems it is 
possible with FTP.sendCommand() but I don't know how to catch the result 
(some stream, which one?).
I only found the FTPClient.listFiles() method. But it isn't possible, at 
least I think so :), to use this method for recusrive listing the directory.
Thak you, bye.

    Martin Michalik


P. S. I hope you can understand this message written in Czenglish. :)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: FTP commmand results

Posted by Martin Michalík <xm...@vse.cz>.
Hi!
Yes, I have tried that. But the result is "150 Opening ASCII mode data 
connection for /bin/ls." That's all.
I have also tried FTPClient.getReplyStrings() but it's the same.

    Martin

Liheng Qiao wrote:

> Mark,
>
> Have you tried FTPClient.getReplyString()?
>
> Liheng




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: FTP commmand results

Posted by Liheng Qiao <li...@owd.com>.
Mark,

Have you tried FTPClient.getReplyString()?

Liheng

On Tuesday, October 7, 2003, at 12:20  PM, Martin Michalík wrote:

> Hi people! :)
> I have a problem with using FTP client and I can't find how to solve 
> it. Does anybody help me, please?
> I wish to use "LIST -lR" command for recursive listing. It seems it is 
> possible with FTP.sendCommand() but I don't know how to catch the 
> result (some stream, which one?).
> I only found the FTPClient.listFiles() method. But it isn't possible, 
> at least I think so :), to use this method for recusrive listing the 
> directory.
> Thak you, bye.
>
>    Martin Michalik
>
>
> P. S. I hope you can understand this message written in Czenglish. :)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org