PDA

View Full Version : retrieve a directory with mget?


LackeyLad
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?

james_in_denver
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

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

Baishan Photos on Instagram - Dembi Dolo Instagram Photos - Zirndorf Photos on Instagram