On Wed, 24 Jul 2013 17:14:00 -0500 Peng Yu wrote:

>Hi,
>
>I'm wondering if there is a way to ls remote ftp directory with wget
>(or any other command). I can download files. But I'm not sure how to
>ls directories.
>

This "trick" works for me:
wget --no-remove-listing -A zyxw <ftp_host>

zyxw is highly unlikely to exist; then look at the .listing file(s)

Reply via email to