LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-07-2004, 09:11 PM   #1
illiniguy3043
Member
 
Registered: May 2004
Location: Illinois
Distribution: Ubuntu 8.04
Posts: 56

Rep: Reputation: 15
moving directories with FTP


How do you move an entire directory with FTP??? I know how to move individual files but I can't get directories to move recursively like you can with scp with an -r flag; I tried using scp like that to move the files to the place I'm trying to move them to but the cluster I'm trying to put my files on doesn't recongnize scp so I have to use some sort of ftp command.
 
Old 07-08-2004, 12:18 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Create a tarball of your directory structure and files, then ftp the tarball.

Another option would be to use rsync.
 
Old 07-08-2004, 12:37 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I'm assuming from your description that you want to upload an entire directory from your local computer to a remote one. Not move a directory which is already on the remote computer.

It depends on your FTP client. For example, in ncftp the command would be 'put -R directory'.

Enjoy!
--- Cerbere
 
  


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
ftp upload directories rblampain Debian 2 11-20-2005 09:14 PM
An easy way of moving /home and other directories 1kyle Suse/Novell 1 09-23-2005 02:53 AM
Moving directories to their own partitions bxb32001 Debian 7 12-08-2003 06:40 AM
how to ftp directories??? shakeeb Linux - General 3 11-26-2003 05:15 AM
ftp can't make directories mehesque Linux - Networking 1 10-21-2003 01:28 PM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration