- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp connection timed out by remote host
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-20-2001 10:38 AM
11-20-2001 10:38 AM
ftp connection timed out by remote host
i am getting a problem in ftp..when i transfer files from my laptop - remotely....between unix box to NT (shared folder)...i got copied several folders from unix servers....couple of folders having more than 350 files with around 500 MB capacity....i am unable to transfer at one sequence....i loose the connection saying
connection timed out by remote host....
since there are no of files i have to calculate/split and then transfer....i need a soln...to automate...since it is going to be a regular task fortnightly...i use the following
ftp>prompt off
ftp>hash
ftp>mget *
Note : i transfer the files in root user...no permissions problems also....i made a ping of unix server from my laptop during ftp....i find time<10ms...and Reqest timed out 1 time....coming between few intervals...i took lot of time to make this happen this time...i request your goodself(s) to give me a soln.
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 10:58 AM
11-20-2001 10:58 AM
Re: ftp connection timed out by remote host
What I did is write a small script on the Unix side that looped through the directory and sent them one at a time....and sometimes had to add a sleep to the script in between the ftp's to make sure the NT side doesn't get over ran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 07:23 PM
11-20-2001 07:23 PM
Re: ftp connection timed out by remote host
I can't say why your connection was breaking, but I did face the same problem many moons ago.
I had written a small script to
1. initiate the ftp session
2. after the ftp session terminates, compare the file sizes of the source and destination files
3. if different, 'reget' incomplete files - if you've already got 8MB of a 10MB file, this will only fetch the remaining 2MB.
4. once again, compare the file sizes. continue till all files are ftp'd successfully
The number of retries is configurable, the only hitch is that the password is stored in a temp file in plain text.
I'm attaching the script I have. You may want to tweak it a bit, maybe incorporate 'expect' to avoid compromising root password.
Or maybe just create a 'ftpuser' account, which wont do much damage if its password is compromised.
Caveat: I've never run this as root; do so at your own risk :

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 07:34 PM
11-20-2001 07:34 PM
Re: ftp connection timed out by remote host
Just a hunch. Perhaps you can try to tune the network tunable parameter tcp_keepalive_interval via ndd to extend the timeout period when no ACK has been received by the remote system.
If the keepalive packet is not acknowledged by the remote system after the keepalive interval, the connection will be terminated.
The default is 2 hours.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 07:36 PM
11-20-2001 07:36 PM
Re: ftp connection timed out by remote host
ftp << END
open $hostname
user $user $pass
.
.
END
(vive la forum!!)
Maybe you should do this if you're running the script as root.
