LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2003, 01:59 PM   #1
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
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?
 
Old 08-22-2003, 02:04 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Do a "man ftp" and look for the mget command.

Cheers--
Charles
 
Old 08-22-2003, 02:06 PM   #3
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
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
 
Old 08-22-2003, 02:32 PM   #4
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
How to give the target folder to mget *.* so the files should be copied to that folder on Linux server?
 
Old 08-22-2003, 02:52 PM   #5
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
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
 
Old 08-22-2003, 03:01 PM   #6
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
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
 
Old 08-22-2003, 11:41 PM   #7
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Mount" a folder into my ftp folder ? 0001001 Linux - General 3 11-27-2005 05:23 AM
Can't se folder after ftp upload steffa Linux - Networking 1 06-08-2005 09:40 PM
Mount FTP folder drj000 Linux - Newbie 1 12-20-2004 09:11 PM
How do I FTP into specific folder hrp2171 Slackware 3 10-18-2004 08:30 PM
SuSE 8.1 ftp complete directory tree size? cav Linux - General 2 04-01-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration