[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] How to ls remote ftp directory?
From: |
Pierre Fortin |
Subject: |
Re: [Bug-wget] How to ls remote ftp directory? |
Date: |
Thu, 25 Jul 2013 12:28:18 -0400 |
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)