- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- DCL script to FTP files
Operating System - OpenVMS
1754311
Members
3076
Online
108813
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
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
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
08-03-2010 01:25 AM
08-03-2010 01:25 AM
Re: DCL script to FTP files
I developed a file trasnfer utility for one client and it ended up being used to transfer 10,000 files per day between both internal and external servers. (The latter via VPn links)
Each PUT was explicity checked for the expected output. The same goes for the RENAME command. I ASSUMED a problem and waited for evidence to demonstrate that the commands had been successful.
From time to time, an FTP would just hang. I modified the job to use a sub-process for the transfer while monitoring Direct I/O (iirc) - Anthing "stuck" was killed off and the job re-submitted.
We never once (in over 3 years) experienced a problem with remote jobs picking up incomplete files. They simply polled for the correct files and ignored everything else.
Using a flag/trigger file wouldn't be my solution. You would need to check that the flag was there and the file that it flagging on is there too. Also, what deletes the flag file? Remember that transfers will be going to many different types of servers and not all the SysAdmins of such boxes will be able to code solutions to deal with things like the housekeeping of flag files.
Personaly, I'd rather just get the main file to its ultimate destination safely, easily and reliably while being mindful of the fact that network glitches are a fact of life.
Craig.
Each PUT was explicity checked for the expected output. The same goes for the RENAME command. I ASSUMED a problem and waited for evidence to demonstrate that the commands had been successful.
From time to time, an FTP would just hang. I modified the job to use a sub-process for the transfer while monitoring Direct I/O (iirc) - Anthing "stuck" was killed off and the job re-submitted.
We never once (in over 3 years) experienced a problem with remote jobs picking up incomplete files. They simply polled for the correct files and ignored everything else.
Using a flag/trigger file wouldn't be my solution. You would need to check that the flag was there and the file that it flagging on is there too. Also, what deletes the flag file? Remember that transfers will be going to many different types of servers and not all the SysAdmins of such boxes will be able to code solutions to deal with things like the housekeeping of flag files.
Personaly, I'd rather just get the main file to its ultimate destination safely, easily and reliably while being mindful of the fact that network glitches are a fact of life.
Craig.
- « Previous
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP