- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to copy complete directory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2007 08:22 PM
11-18-2007 08:22 PM
how to copy complete directory
how to copy set of directories using ftp ? is it possible?????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2007 08:24 PM
11-18-2007 08:24 PM
Re: how to copy complete directory
it is not possible . on the client side you have to tar desired directory. after ftp tar file you have to extract it.
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2007 08:28 PM
11-18-2007 08:28 PM
Re: how to copy complete directory
Through ftp command it's impossible. But u can try with third party tools for windows like "reflection", "ftp command", etc..
This way helps us.
Regards,
Viswa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2007 08:36 PM
11-18-2007 08:36 PM
Re: how to copy complete directory
example /home/goossens
# cd /home
# tar cvf goossens.tar goossens
ftp the tar file and untar it.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2007 08:44 PM - edited 10-01-2011 08:09 PM
11-18-2007 08:44 PM - edited 10-01-2011 08:09 PM
Re: how to copy complete directory
You can of course use mput/mget * to copy all of the files. (After turning off the prompt with the prompt command.)
This can't recursively copy subdirectories.
As Hasan and Robert-Jan have mentioned, using tar/pax is probably the best since that will restore the user/group, permissions and time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 01:18 AM
11-19-2007 01:18 AM
Re: how to copy complete directory
useful. It can do recursive FTP (or HTTP[S])
fetch operations.
http://www.gnu.org/software/wget/wget.html
> it is not possible .
There may be a difference between "I don't
know how" and "It's not possible".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:03 AM
11-19-2007 02:03 AM
Re: how to copy complete directory
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:11 AM
11-19-2007 02:11 AM
Re: how to copy complete directory
Easiest way is to create a tar ball of your directories, then use sftp or scp to copy to other server(s).
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:18 AM
11-19-2007 02:18 AM
Re: how to copy complete directory
http://hpux.its.tudelft.nl/hppd/hpux/Networking/FTP/ftpcopy-0.3.5/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:21 AM
11-19-2007 02:21 AM
Re: how to copy complete directory
> Easiest way is to create a tar ball [...]
This may be easy if you have more than FTP
access to the system where the files reside.
Unfortunately, the original statement of the
problem was far from complete, and different
people may make different assumptions for the
missing bits, none of which may be closely
tied to the actual situation.
> Anything is possible...
This is obviously not true. _Many_ things
are possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:24 AM
11-19-2007 02:24 AM
Re: how to copy complete directory
tar cvf - directories | remsh host tar xvf -