- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Automated FTP script
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
тАО07-29-2003 09:46 PM
тАО07-29-2003 09:46 PM
Automated FTP script
Help is badly needed on this case.
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 01:49 AM
тАО07-30-2003 01:49 AM
Re: Automated FTP script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 01:22 AM
тАО07-31-2003 01:22 AM
Re: Automated FTP script
again, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 03:46 AM
тАО07-31-2003 03:46 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 11:05 PM
тАО07-31-2003 11:05 PM
Re: Automated FTP script
again thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 04:56 AM
тАО08-01-2003 04:56 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 06:00 AM
тАО08-01-2003 06:00 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 06:18 AM
тАО08-01-2003 06:18 AM
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