- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Automated FTP script
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
Automated FTP script
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-29-2003 09:46 PM
07-29-2003 09:46 PM
Automated FTP script
Automated FTP script
Help is badly needed on this case.
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-30-2003 01:49 AM
07-30-2003 01:49 AM
Re: Automated FTP script
Re: Automated FTP script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-31-2003 01:22 AM
07-31-2003 01:22 AM
Re: Automated FTP script
Re: Automated FTP script
again, thanks.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-31-2003 03:46 AM
07-31-2003 03:46 AM
Re: Automated FTP script
Re: Automated FTP script
FTP is FTP, no? Try $ HELP FTP. You'll see there's a /USERNAME, /PASSWORD, and a /INPUT qualfier. So you write your FTP script and supply that name with the /INPUT= qualifier.
Or are you more interested in learning which specific log files should be examined? There is no standard, single location for the multitude of logs, but many of the system log files are in the SYS$MANAGER: directories.
One such file would be SYS$MANAGER:OPERATOR.LOG.
Often, applications have their own log files.
Or use $ DIR SYS$SYSDEVICE:[000000...]*.LOG;0 to get a list of all log files on the system disk.
HTH,
Paul Nunez
HP Services
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-31-2003 11:05 PM
07-31-2003 11:05 PM
Re: Automated FTP script
Re: Automated FTP script
again thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-2003 04:56 AM
08-01-2003 04:56 AM
Re: Automated FTP script
Re: Automated FTP script
Well, if $ HELP FTP doesn't work perhaps:
1. You don't even have TCP/IP installed on the VAX or
2. You're running a 3rd party TCP/IP stack on the VAX (i.e, Multinet)
Does just doing:
$ FTP
get you into the command line interface?
If it does, try HELP from there :).
But basically you could put these commands in a procedure and supply them as input.
For example, if you're _pushing_ the files to the remote system:
bin
put sys$error:syserrorlog.sys
ascii
put sys$manager:operator.log
If you're using the later versions of TCP/IP Services for OpenVMS ($ UCX SHOW VER), you could then do:
$ FTP /USERNAME=
If $ UCX SHOW VERSION doesn't work, try $ MULTI SHOW/VER
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-2003 06:00 AM
08-01-2003 06:00 AM
Re: Automated FTP script
Re: Automated FTP script
to check-out ftp_mirror.com available via
http://vms.process.com/fileserv-software.html
That assumes the target (where you transfer the data to) is a VMS system...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-2003 06:18 AM
08-01-2003 06:18 AM
Re: Automated FTP script
Re: Automated FTP script
$!***************************
$! FTP Files
$ REMOTE_DIR_SYMBOL = " remote\directory "
$!
$ SET DEFAULT SYS$ERRORLOG:
$!
$! Create temporary command procedure to FTP files to server
$!
$ DELETEE SYS$LOGIN:FTP_FILE.COM;*
$!
$! (open logical_file_name real_file_name)
$ OPEN /WRITE FTP_COM_FILE SYS$LOGIN:FTP_FILE.COM
$!
$ WRITE FTP_COM_FILE "$ FTP"
$ WRITE FTP_COM_FILE "OPEN 10.1.2.3 username password"
$ WRITE FTP_COM_FILE "cd ", REMOTE_DIR_SYMBOL
$ WRITE FTP_COM_FILE "pwd"
$ WRITE FTP_COM_FILE "bin"
$ WRITE FTP_COM_FILE "put ERRORLOG.SYS"
$ WRITE FTP_COM_FILE "dir"
$ WRITE FTP_COM_FILE "close"
$ WRITE FTP_COM_FILE "quit"
$ WRITE FTP_COM_FILE "$ EXIT"
$ CLOSE FTP_COM_FILE
$!
$! Execute FTP command procedure
$!
$ @SYS$LOGIN:FTP_FILE.COM
$!***************************
HTH,
Art
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP