<?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 Script for FTP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008677#M298523</link>
    <description>hi every one for the support through this forum i need a script that i need for logfiles. I need to FTP the files through the cron job to run on Windows Server through the Unix (Solaris 9 ). please anyone who has any related script for the same i have no idea of scripting as i am new on system Administration and this is a task given to me from my senior.&lt;BR /&gt;&lt;BR /&gt;hope will get some good response.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;Mohammad Sanaullah</description>
    <pubDate>Mon, 28 May 2007 23:49:36 GMT</pubDate>
    <dc:creator>Mohammad Sanaullah</dc:creator>
    <dc:date>2007-05-28T23:49:36Z</dc:date>
    <item>
      <title>Script for FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008677#M298523</link>
      <description>hi every one for the support through this forum i need a script that i need for logfiles. I need to FTP the files through the cron job to run on Windows Server through the Unix (Solaris 9 ). please anyone who has any related script for the same i have no idea of scripting as i am new on system Administration and this is a task given to me from my senior.&lt;BR /&gt;&lt;BR /&gt;hope will get some good response.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;Mohammad Sanaullah</description>
      <pubDate>Mon, 28 May 2007 23:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008677#M298523</guid>
      <dc:creator>Mohammad Sanaullah</dc:creator>
      <dc:date>2007-05-28T23:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script for FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008678#M298524</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# cat /dir/input&lt;BR /&gt;/usr/bin/ftp -v -n &amp;gt; /var/tmp/ftpscript.log 2&amp;gt; /var/tmp/ftpscript.err &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;open servername.domain&lt;BR /&gt;user username password&lt;BR /&gt;prompt&lt;BR /&gt;cd /ddir&lt;BR /&gt;bin&lt;BR /&gt;mput file*&lt;BR /&gt;ls /tmp &lt;BR /&gt;quit&lt;BR /&gt;EOF &lt;BR /&gt;&lt;BR /&gt;sh /dir/input (run the script input)&lt;BR /&gt;&lt;BR /&gt;Use the above script on the cron. It will give two files in the /var/tmp (error and log) so that you can see what it was doing when the ftp started. The username is the userid for the ftp session and the password is the original passwd.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rasheed Tamton.</description>
      <pubDate>Tue, 29 May 2007 00:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008678#M298524</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2007-05-29T00:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script for FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008679#M298525</link>
      <description>Shalom Mohammad,&lt;BR /&gt;&lt;BR /&gt;Welcome to Systems administration.&lt;BR /&gt;&lt;BR /&gt;The ftp method provided will work but ftp by its design is not secure.&lt;BR /&gt;&lt;BR /&gt;This procedure requires you to hard code a password into a script.&lt;BR /&gt;&lt;BR /&gt;A better solution would be to install openssh secure shell on your Unix server, exchange public keys between these hosts.&lt;BR /&gt;&lt;BR /&gt;If this is done, you will have a secure encrypted authentication, the ability to do the work with cron and no security problems.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 May 2007 01:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-ftp/m-p/4008679#M298525</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-29T01:46:51Z</dc:date>
    </item>
  </channel>
</rss>

