- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Using input file with FTP
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
01-11-2006 05:44 AM
01-11-2006 05:44 AM
FTP STEAM /USERNAME=uname /PASSWORD=pswd /INPUT=node01_GetFiles.txt
The Node01_getfiles.txt file contains "get" commands:
get dir:file1.txt dir2:file01.txt
get dir:file2.txt dir2:file02.txt
get dir:file3.txt dir2:file03.txt
get dir:file4.txt dir2:file04.txt
All works fine if file1.txt exists. However, if file1.txt does NOT exist, then the rest of the "get" commands do not execute. I'm fairly sure the resolution is pretty simple, but I'm stumped as to what it might be. Can anyone assist me? Please keep your replies "simple", as I'm not a VMS guru by any means. It's also possible that file 3 or file 4 might not exist either, but I do want to get any of the file indicated that *do* exist.
Thanks,
- Martin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 06:49 AM
01-11-2006 06:49 AM
SolutionSet the error/warinig tolerence level from the FTP prompt.
There are couple of error toloerance level can be set for all the FTP commands.
ERROR - FTP tolerates errors and warnings and keep continue to the next commands.
Warning - FTP tolerates warning
SUCCESS -- default (in your case), FTP does not tolerate any kind of error, it exits immly.
This is the command to set the ERROR level.
FTP> SET ERROR_LEVEL ERROR
Then you can execute your FTP procedure
or
Add the above SETB command in your Node01_getfiles.txt as the first command.
Bye
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 07:01 AM
01-11-2006 07:01 AM
Re: Using input file with FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 07:09 AM
01-11-2006 07:09 AM
Re: Using input file with FTP
Welcome to the OpenVMS ITRC forum Martin.
Be sure to checkout:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
You may want to 'lock' this topic later today or tomorrow.
Cheers,
Hein
( 0 points for this reply please)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 07:20 AM
01-11-2006 07:20 AM
Re: Using input file with FTP
FTP> set error_level error