- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp / scp resume download function
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
Discussions
Discussions
Discussions
Forums
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
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-26-2008 12:46 AM
тАО11-26-2008 12:46 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:10 AM
тАО11-26-2008 01:10 AM
Re: ftp / scp resume download function
There is a option available with ftp "reget".
reget remote-file [local-file]
reget acts like get, except that if local-file exists and is smaller than remote-file, local-file is presumed to be a partially transferred copy of remote-file and the transfer is continued from the apparent point of failure. This command is useful when transferring very large files over networks that tend to drop connections.
Refer this ftp man page for more details.
http://docs.hp.com/en/B2355-60127/ftp.1.html
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:18 AM
тАО11-26-2008 01:18 AM
Re: ftp / scp resume download function
You can NFS mount the file system from server A to server B and then copy the file.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:37 AM
тАО11-26-2008 01:37 AM
Re: ftp / scp resume download function
It's a part of the "HP-UX Internet Express" collection.
It can be used almost exactly like scp, but has a lot more options. To allow rsync to resume incomplete transfers, you should use the "--partial" option so that the copy won't be deleted when the connection fails.
To resume, just enter the same rsync command again: it will detect that the destination file exists but is incomplete, and will automatically resume from the correct point.
Modern versions of rsync will automatically use SSH as the default remote access method, so your data will be encrypted while in transit. If you don't need (or want) the overhead of encryption, you can configure rsync to use a non-encrypted transfer mode: you could make it use e.g. remsh instead of ssh, or set up a dedicated rsync server process.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:48 AM
тАО11-26-2008 01:48 AM
Re: ftp / scp resume download function
rsync seems good , but I may use the same method in my different unix-type server , eg . linux , so is there any command could do that ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 02:29 AM
тАО11-26-2008 02:29 AM
Re: ftp / scp resume download function
In most cases no configuration changes are required on the server to implement this functionality.
Its a function of the client software.
This feature is generally put into the client software.
My feeling here is that rsync with the -e ssh parameter to encrypt the data stream will provide most of the needed functionality, server to server.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 03:10 AM
тАО11-26-2008 03:10 AM
Re: ftp / scp resume download function
When use the command below , it pops the error , can advise do I need to config sth in remote server ?
rsync -e test.txt root@192.168.0.1:/tmp
error
=====
Failed to exec test.txt : Permission denied
rsync error: error in IPC code (code 14) at pipe.c(82)
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 05:30 AM
тАО11-26-2008 05:30 AM
Re: ftp / scp resume download function
rsync -e ssh test.txt root@192.168.0.1:/tmp
But if you simply want to copy the file:
rsync test.txt root@192.168.0.1:/tmp
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 06:40 AM
тАО11-26-2008 06:40 AM
Re: ftp / scp resume download function
You can try for rcp from server A to server B
or
If ssh is installed on both servers , you can use scp also.
Regards
Prasu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 06:56 AM
тАО11-26-2008 06:56 AM
Re: ftp / scp resume download function
thx , I tried -e ssh , it works fine to remote file to remote server,
but I do the testing , copy a large file to remote server , then reboot this remote file , the local server pops the below error , then the copy process stopped and not resumed again , if I want it will be resume download until the file copying is complete , what can i do ? thx
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
ps. I do the test on linux box.