Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
500 Command not understood
Posts: 2
Joined: 2020-05-10 06:20
First name: Gianfranco
Last name: Stauder


#1 Post by gfs1212 » 2020-05-10 06:49

since the ftp commands do not support the "dir / s" syntax as in dos - so you need to build the program that launches a "dir" command for each "DIR" and this program creates various timing problems with FTP wich they need for various DELAY - so in the end it takes a very long time - does anyone know how to download the entire dir of FTP files (including subdirectories)?

User avatar
Posts: 25325
Joined: 2006-05-01 03:28
Location: Germany

Re: dir

#2 Post by boco » 2020-05-10 12:45

The FTP protocol does not even know any "dir" command. Dir is a DOS/Windows shell command.

If you enter "dir" in a command line client, it is internally translated to LIST (or to MLSD in the better ones). But, indeed, FTP does not support any recursive listings, the directory structure has to be crawled one-by-one, which can take hours to days and will certainly upset the server administrator.

For getting a complete overview of an FTP server, you need an FTP indexer tool. One quick search reveals: https://sourceforge.net/projects/ftpindexer/
Another I have personally used in the past is Dexter - need to find that one by yourself though.
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php

User avatar
Site Admin
Posts: 33233
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: dir

#3 Post by botg » 2020-05-11 07:18

You can also use FileZilla's search dialog to get a complete overview what's on the server. Just leave the search filters empty.

Post Reply