Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-07-2004, 10:11 PM   #1
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, 01:18 AM   #2
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, 01:37 AM   #3
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'.

--- Cerbere


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

All times are GMT -5. The time now is 01:09 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