<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automated FTP script in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036856#M311</link>
    <description>Hi Sir Paul, I tried what you suggested but my machine says that it has no documentation for FTP. Maybe you can show me a sample script to extract a particular system log say SYS$ERRORLOG:ERRLOG.SYS and ftp it to a particular FTP server.&lt;BR /&gt;&lt;BR /&gt;again thank you very much.</description>
    <pubDate>Fri, 01 Aug 2003 06:05:29 GMT</pubDate>
    <dc:creator>Rodel D. Bautista</dc:creator>
    <dc:date>2003-08-01T06:05:29Z</dc:date>
    <item>
      <title>Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036852#M307</link>
      <description>Hi to all, I'm new to OpenVMS and I was assigned to administer our OpenVMS boxes. One of my task is to extract all system log files weekly and I need a script to automate transfer of the log files via FTP.&lt;BR /&gt;&lt;BR /&gt;Help is badly needed on this case.&lt;BR /&gt;&lt;BR /&gt;thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jul 2003 04:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036852#M307</guid>
      <dc:creator>Rodel D. Bautista</dc:creator>
      <dc:date>2003-07-30T04:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036853#M308</link>
      <description>You might considering the COPY/FTP command, see HELP. I find that DECnet copies are probably the easiest, especially with proxies set up. We have found thet setting up FTP scripts require passwords be hard coded, unless you set up an account without a password( not necessarily a good idea) or you could use ANONYMOUS FTP.</description>
      <pubDate>Wed, 30 Jul 2003 08:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036853#M308</guid>
      <dc:creator>Gary Sachs</dc:creator>
      <dc:date>2003-07-30T08:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036854#M309</link>
      <description>hi gary, thanks for the help but it is okay for me to use ftp scripts. Can you provide me a sample of the FTP script so that i can experiment with it? I'm currently using same setup with our UNIX boxes and the FTP server that I dumped files to has security setup for upload only.&lt;BR /&gt;&lt;BR /&gt;again, thanks.</description>
      <pubDate>Thu, 31 Jul 2003 08:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036854#M309</guid>
      <dc:creator>Rodel D. Bautista</dc:creator>
      <dc:date>2003-07-31T08:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036855#M310</link>
      <description>Hi Rodel,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;One such file would be SYS$MANAGER:OPERATOR.LOG.  &lt;BR /&gt;&lt;BR /&gt;Often, applications have their own log files.&lt;BR /&gt;&lt;BR /&gt;Or use $ DIR SYS$SYSDEVICE:[000000...]*.LOG;0 to get a list of all log files on the system disk.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Paul Nunez&lt;BR /&gt;HP Services</description>
      <pubDate>Thu, 31 Jul 2003 10:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036855#M310</guid>
      <dc:creator>Paul Nunez</dc:creator>
      <dc:date>2003-07-31T10:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036856#M311</link>
      <description>Hi Sir Paul, I tried what you suggested but my machine says that it has no documentation for FTP. Maybe you can show me a sample script to extract a particular system log say SYS$ERRORLOG:ERRLOG.SYS and ftp it to a particular FTP server.&lt;BR /&gt;&lt;BR /&gt;again thank you very much.</description>
      <pubDate>Fri, 01 Aug 2003 06:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036856#M311</guid>
      <dc:creator>Rodel D. Bautista</dc:creator>
      <dc:date>2003-08-01T06:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036857#M312</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Well, if $ HELP FTP doesn't work perhaps:&lt;BR /&gt;&lt;BR /&gt;1.  You don't even have TCP/IP installed on the VAX or&lt;BR /&gt;&lt;BR /&gt;2.  You're running a 3rd party TCP/IP stack on the VAX (i.e, Multinet)&lt;BR /&gt;&lt;BR /&gt;Does just doing:&lt;BR /&gt;&lt;BR /&gt;$ FTP&lt;BR /&gt;&lt;BR /&gt;get you into the command line interface?&lt;BR /&gt;&lt;BR /&gt;If it does, try HELP from there :).&lt;BR /&gt;&lt;BR /&gt;But basically you could put these commands in a procedure and supply them as input.&lt;BR /&gt;&lt;BR /&gt;For example, if you're _pushing_ the files to the remote system:&lt;BR /&gt;&lt;BR /&gt;bin&lt;BR /&gt;put sys$error:syserrorlog.sys&lt;BR /&gt;ascii&lt;BR /&gt;put sys$manager:operator.log&lt;BR /&gt;&lt;BR /&gt;If you're using the later versions of TCP/IP Services for OpenVMS ($ UCX SHOW VER), you could then do:&lt;BR /&gt;&lt;BR /&gt;$ FTP /USERNAME=&lt;REMOTEUSERNAME&gt; /PASSWORD=&lt;PSWDOFREMOTEUSER&gt;/INPUT=&amp;lt;scriptfile&amp;gt;&lt;BR /&gt;&lt;BR /&gt;If $ UCX SHOW VERSION doesn't work, try $ MULTI SHOW/VER&lt;/PSWDOFREMOTEUSER&gt;&lt;/REMOTEUSERNAME&gt;</description>
      <pubDate>Fri, 01 Aug 2003 11:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036857#M312</guid>
      <dc:creator>Paul Nunez</dc:creator>
      <dc:date>2003-08-01T11:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036858#M313</link>
      <description>&amp;gt;&amp;gt;If&amp;lt;&amp;lt; you only need to get files you might want&lt;BR /&gt;to check-out ftp_mirror.com available via&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vms.process.com/fileserv-software.html" target="_blank"&gt;http://vms.process.com/fileserv-software.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That assumes the target (where you transfer the data to) is a VMS system...</description>
      <pubDate>Fri, 01 Aug 2003 13:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036858#M313</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-08-01T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automated FTP script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036859#M314</link>
      <description>Something like this might give you a few ideas:&lt;BR /&gt;&lt;BR /&gt;$!***************************&lt;BR /&gt;$! FTP Files&lt;BR /&gt;$ REMOTE_DIR_SYMBOL = " remote\directory "&lt;BR /&gt;$!&lt;BR /&gt;$ SET DEFAULT SYS$ERRORLOG:&lt;BR /&gt;$!&lt;BR /&gt;$! Create temporary command procedure to FTP files to server&lt;BR /&gt;$!&lt;BR /&gt;$ DELETEE SYS$LOGIN:FTP_FILE.COM;*&lt;BR /&gt;$!&lt;BR /&gt;$! (open logical_file_name real_file_name)&lt;BR /&gt;$ OPEN /WRITE FTP_COM_FILE SYS$LOGIN:FTP_FILE.COM&lt;BR /&gt;$!&lt;BR /&gt;$ WRITE FTP_COM_FILE "$ FTP"&lt;BR /&gt;$ WRITE FTP_COM_FILE "OPEN 10.1.2.3 username password"&lt;BR /&gt;$ WRITE FTP_COM_FILE "cd ", REMOTE_DIR_SYMBOL&lt;BR /&gt;$ WRITE FTP_COM_FILE "pwd"&lt;BR /&gt;$ WRITE FTP_COM_FILE "bin"&lt;BR /&gt;$ WRITE FTP_COM_FILE "put ERRORLOG.SYS"&lt;BR /&gt;$ WRITE FTP_COM_FILE "dir"&lt;BR /&gt;$ WRITE FTP_COM_FILE "close"&lt;BR /&gt;$ WRITE FTP_COM_FILE "quit"&lt;BR /&gt;$ WRITE FTP_COM_FILE "$ EXIT"&lt;BR /&gt;$ CLOSE FTP_COM_FILE&lt;BR /&gt;$!&lt;BR /&gt;$! Execute FTP command procedure&lt;BR /&gt;$!&lt;BR /&gt;$ @SYS$LOGIN:FTP_FILE.COM&lt;BR /&gt;$!***************************&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Fri, 01 Aug 2003 13:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automated-ftp-script/m-p/3036859#M314</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2003-08-01T13:18:11Z</dc:date>
    </item>
  </channel>
</rss>

