I want to download a whole directory from my FTP server, and it can be done by using wget with -m option.
wget -m --ftp-user=aaaa --ftp-password=bbbb ftp://xxx.xxx.xxx.xxx/dir
However, I noticed that .listing files are created under all directories, and I don't want these files. I learned that wget has the option --no-remove-listing, but it seems there is no option to do the opposite. Is it possible to mirror directories without creating the .listing files? Or, is there any better tool than wget?
wget?" – This sentence makes your question prone to being closed as off-topic because software recommendations are off-topic here on Super User. You may consider removing it ([edit] the question), especially since there is a solution usingwget. – Kamil Maciorowski Feb 14 '18 at 20:06