Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-12-2006, 06:31 AM   #1
Registered: Feb 2006
Location: East London ,South Africa
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
How to ftp a dir in RH9

i can ftp files using the following command

put /path/filename /path/filename

it will however not allow me to do the same with directories

how do i ftp the entire directory
Old 05-12-2006, 07:31 AM   #2
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
You could use mput.
Use lcd <~/home/somelocaldir> to change to the local dir you want to upload.
mput * will send over all files from the current localdir to server-dir.
Type p when it askes for: [anpqy?]?
to go into 'prompt off' (non-interactive) mode, to not confirm each file to upload.
Old 05-12-2006, 08:35 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
ftp will not put or get directories--only files

You can use tar to put everything in one file---or mput and mget


directory, ftp

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
Cannot list dir via FTP Ephracis Linux - Software 7 12-11-2004 06:24 PM
cant ls,dir with ftp client steve_babbage Linux - Security 1 01-07-2004 03:46 PM
Anyone know where the kde dir is (RH9)...? cbjhawks Linux - Software 12 07-15-2003 12:51 PM
Where is the kde dir in RH9 cbjhawks Linux - Software 1 07-14-2003 04:41 PM
QT dir in RH9 Baklan Linux - Newbie 1 07-11-2003 05:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 AM.

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