View Full Version : retrieve a directory with mget?

14th March 2005, 12:03 AM
using ftp command line i am trying to extract a directory with subdirectories from a remote machine.

get : only returns a file
mget: doesnt return any of the directories or files

how do i extract a directory on the command line ftp session?

14th March 2005, 12:14 AM
ftp>"mget *" will get all of the files that are in the remote hosts "current" directory.
ftp>"prompt" (toggle prompts off) so it doesn't ask you for verification for each file.

Sorry, I don't know of a tool offhand that will "traverse" entire directory structures using ftp. You might look on http://sourceforge.net

14th March 2005, 05:49 AM
wget is a command line downloader that can do ftp. It supports recursion with the --recursive option.

Puente Alto Photos on Instagram - Yantai Travel Photos on Instagram - Vijayawada Photos on Instagram -