LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Get complete folder with ftp (https://www.linuxquestions.org/questions/linux-software-2/get-complete-folder-with-ftp-84588/)

sikandar 08-22-2003 12:59 PM

Get complete folder with ftp
 
I am using ftp to get files from my xp machine and able to get files one by one but I want to get the whole folder. Say I have a folder docs so how can I get it on my linux machine while using ftp?

cnjohnson 08-22-2003 01:04 PM

Do a "man ftp" and look for the mget command.

Cheers--
Charles

RolledOat 08-22-2003 01:06 PM

After logging in and navigating to the
directory, assuming command prompt here,

bi
prompt
mget *

or mget *.*
(You may need the *.* being a windows machine.)

RO

sikandar 08-22-2003 01:32 PM

How to give the target folder to mget *.* so the files should be copied to that folder on Linux server?

RolledOat 08-22-2003 01:52 PM

I usually navigate to the local directly that I want the files to come to before I FTP, however,
cd <dirname>/<dirname>/<etc>
changed directory on the remote machine.
lcd <dirname>/<dirname>/<etc>
is how you navigate on the local machine once connected in ftp.

cnjohnson had it right though, man ftp or
found this useful reference

http://www.columbia.edu/acis/eds/dat...n/ftp_com.html

RO

beaucoup 08-22-2003 02:01 PM

IMHO, it's worthwhile to get an easy to use graphical ftp program like gFTP . Then you can just drag and drop a folder :)

-Andrew

sikandar 08-22-2003 10:41 PM

I am trying to get the GUI but very much interested in command line as want to learn Linux. Now when I am using mget it get all the files on the root of the folder but what about the subfolders?

On window box

Soft
--bin
--docs
--drivers

so I want to get soft and all its subfolders with one command.


All times are GMT -5. The time now is 02:23 PM.