LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-12-2006, 06:31 AM   #1
v1nc3nt
Member
 
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
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
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
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

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

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


Reply

Tags
directory, ftp



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration