HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which one is more faster ftp or rcp
Operating System - HP-UX
1833788
Members
2411
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-01-2007 05:54 AM
04-01-2007 05:54 AM
which one is more faster ftp or rcp
i have files to be transfer from one box to another box as soon as it arrives to first box.
can anybody tell me which one will be faster ftp or rcp, so that i will configure my transfer script to use according tool.
can anybody tell me which one will be faster ftp or rcp, so that i will configure my transfer script to use according tool.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2007 06:47 AM
04-01-2007 06:47 AM
Re: which one is more faster ftp or rcp
In this like Steven answers you question:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1059469
This is very good reading:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1061468
In any case i would test different sollutions and time them, to make i had the best sollution for my installation.
How to copy a directory across the network?
# cd source_directory
# find . | cpio -oc -depth -mountstop | remsh target_host "cd target_dir; cpio -icdmux"
Remark: A remote-backup can only be done, when a login without password check is configured on the remote-host, i.e.you have to touch the file .rhosts on the remote-host containing the accessing host.
Other nice ones to know:
tar cf - . | ssh user@host "(cd; tar xf - )"
find . -depth | cpio -dumpv /
server2# cd /home
server2# ssh root@server1 "cd /home;tar -cf - ./ | /usr/contrib/bin/gzip -c " | gunzip -c | tar -xf -
I think that the last one is the fastes because you conpress before you move.
You are prob. going for this one witch is very fast:
On ServerA
# cd /home/userhome/dirA
# (find . -xdev|cpio -coax)|remsh serverB "cd /home/userhome/newdir;cpio -icdmuxla"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1059469
This is very good reading:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1061468
In any case i would test different sollutions and time them, to make i had the best sollution for my installation.
How to copy a directory across the network?
# cd source_directory
# find . | cpio -oc -depth -mountstop | remsh target_host "cd target_dir; cpio -icdmux"
Remark: A remote-backup can only be done, when a login without password check is configured on the remote-host, i.e.you have to touch the file .rhosts on the remote-host containing the accessing host.
Other nice ones to know:
tar cf - . | ssh user@host "(cd
find . -depth | cpio -dumpv /
server2# cd /home
server2# ssh root@server1 "cd /home;tar -cf - ./ | /usr/contrib/bin/gzip -c " | gunzip -c | tar -xf -
I think that the last one is the fastes because you conpress before you move.
You are prob. going for this one witch is very fast:
On ServerA
# cd /home/userhome/dirA
# (find . -xdev|cpio -coax)|remsh serverB "cd /home/userhome/newdir;cpio -icdmuxla"
jaton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2007 08:15 AM
04-01-2007 08:15 AM
Re: which one is more faster ftp or rcp
> [...] i would test different sollutions
> and time them [...]
Exactly. Why ask people for opinions, when
the hardware will certainly give you the
right answer?
> I think that the last one is the fastes [...]
Maybe. If the CPUs compressing and expanding
are faster than the network is transmitting.
Knowing nothing about either, I would simply
run the experiment.
> and time them [...]
Exactly. Why ask people for opinions, when
the hardware will certainly give you the
right answer?
> I think that the last one is the fastes [...]
Maybe. If the CPUs compressing and expanding
are faster than the network is transmitting.
Knowing nothing about either, I would simply
run the experiment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2007 08:20 AM
04-01-2007 08:20 AM
Re: which one is more faster ftp or rcp
From a pure performance perspective, ftp is the faster protocol because it has marginally less overhead but the differences are very small. One of the real questions you should be asking is "did all of the file arrive?" and "are the data intact?". Testing FTP transfers is more difficult than testing rcp transfers and if you are transferring large files over a slow or less than reliable network, you might find that it makes more sense to split the file and cat then together upon arrival so that only a portion of a large file might need to be re-transmitted.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP