- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to have FTP timeout
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
тАО12-13-2010 02:15 AM
тАО12-13-2010 02:15 AM
Is there an way to have FTP timeout, so connection loss will stop FTP after some time?
Willem
OpenVMS Developer & System Manager
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 02:44 AM
тАО12-13-2010 02:44 AM
Re: How to have FTP timeout
Maybe you could try to enable tcp keepalive.
$ sysconfig -r inet tcp_keepalive_default=1
Oswald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 04:21 AM
тАО12-13-2010 04:21 AM
Re: How to have FTP timeout
If Oswalds solution does not work (but I know nothing in that respect) you COULD easily make your own poor-man's timeout from DCL.
In your
Determine your timeout period, then SPAWN a grand-child supprocess that KILLs its parent PID after
If the FTP process finishes, it will clear out the suicide subprocess, if timeout is reached, it will be finished.
We used SUICIDE_PARENT.COM for various processes (usually, but not necessarily batchjobs, that we wanted terminated within a certain time (absolute or delta).
It also did MAIL some info to system management whenever it reached the timeout.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 06:56 AM
тАО12-13-2010 06:56 AM
SolutionPlease try DIRECTORY /FTP here, rather than the ftp utility mode operations.
Definitely look for patches for whatever version this is, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 08:11 AM
тАО12-13-2010 08:11 AM
Re: How to have FTP timeout
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 09:14 AM
тАО12-13-2010 09:14 AM
Re: How to have FTP timeout
Unfortunately, VMS tends not to be as easy to configure for these sorts of alternative file transfers as are other systems, so folks do tend to fall back into the ftp mess.
On the OpenVMS ftp client, confirm TCPIP$FTP_KEEPALIVE is defined. On the OpenVMS ftp daemon, confirm TCPIP> SET SERVICE FTP /SOCKET_OPTIONS=KEEPALIVE is enabled. For this case, check the analogous settings over on the ftp server.
If ftp is the answer, then the question usually needs to be rethought. And no, I'm not a proponent of ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 10:12 PM
тАО12-13-2010 10:12 PM
Re: How to have FTP timeout
Have a look at my TIMEOUT program which you can download from
ftp://ftp.vsm.com.au/kits/timeout.zip
It was exactly the situation you encountered which caused me to write TIMEOUT.
Regards,
Jeremy Begg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 11:49 PM
тАО12-13-2010 11:49 PM
Re: How to have FTP timeout
@Jeremy: I'll take a look, but I doubt it can be of use here (it's already a problem to get new, in-house built procedures copies into production...)
@Oswald, Jan, Hoff: Same for your suggestion on KeepAlive: It may do the trick but getting it on the system is a challenge in itself...
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 11:52 PM
тАО12-13-2010 11:52 PM
Re: How to have FTP timeout
OpenVMS Developer & System Manager