<?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: Using tftp/ftp in a shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901737#M820578</link>
    <description>Sorry, &lt;BR /&gt;&lt;BR /&gt;"may" help not "my" help</description>
    <pubDate>Tue, 11 Feb 2003 15:13:26 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-02-11T15:13:26Z</dc:date>
    <item>
      <title>Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901734#M820575</link>
      <description>How can the "tftp" or "ftp" command be used in a shell script? I would like to create a script that would automaticaly send some files/directories to a FTP server.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 11 Feb 2003 15:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901734#M820575</guid>
      <dc:creator>Pat_52</dc:creator>
      <dc:date>2003-02-11T15:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901735#M820576</link>
      <description>Hi Pat:&lt;BR /&gt;&lt;BR /&gt;There are dozens upon dozens of posts in this Forum dealing with this.  Do a search on 'ftp and script'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 11 Feb 2003 15:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901735#M820576</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-11T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901736#M820577</link>
      <description>Pat,&lt;BR /&gt;&lt;BR /&gt;Here's a couple of threads that my help:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcde591ccb36bd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcde591ccb36bd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xadc85a3e6e0bd6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xadc85a3e6e0bd6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 11 Feb 2003 15:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901736#M820577</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-11T15:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901737#M820578</link>
      <description>Sorry, &lt;BR /&gt;&lt;BR /&gt;"may" help not "my" help</description>
      <pubDate>Tue, 11 Feb 2003 15:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901737#M820578</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-11T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901738#M820579</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x74e49200caded5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x74e49200caded5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2dafa2db8513d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2dafa2db8513d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;These 2 urls should suffice&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Tue, 11 Feb 2003 15:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901738#M820579</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-02-11T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901739#M820580</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This example do a multiple get (mget) in ascii mode and not asking from 192.4.12.5 You can put the host alias instead IP address&lt;BR /&gt;&lt;BR /&gt;echo "open 192.4.12.5\n user &lt;DUMMY&gt; &lt;DUMMY_PASSWD&gt;\n ascii\n prompt\n mget &lt;LAST&gt;\n bye"|ftp -v -n &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/LAST&gt;&lt;/DUMMY_PASSWD&gt;&lt;/DUMMY&gt;</description>
      <pubDate>Tue, 11 Feb 2003 15:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901739#M820580</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-02-11T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901740#M820581</link>
      <description>if i where you i would use ssh and scp.&lt;BR /&gt;&lt;BR /&gt;remote command:&lt;BR /&gt;ssh -c "command"&lt;BR /&gt;scp ./&lt;FILE&gt; &lt;USER&gt;@&lt;HOST&gt;&lt;BR /&gt;&lt;BR /&gt;you just have to have the keyes in place, developers hate it in the beginning, but they will come to love it :-).&lt;BR /&gt;&lt;BR /&gt;/Jannik&lt;/HOST&gt;&lt;/USER&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 11 Feb 2003 15:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901740#M820581</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2003-02-11T15:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901741#M820582</link>
      <description>Like others posted, there are dozens of threads on this subject in ITRC to research.  However, let me point out that ftp and tftp are not designed to be used in a script, and doing so just gets ugly.  &lt;BR /&gt;I recommend using rcp (remote copy) for unsecure systems, and scp (secure copy) for for more secure systems.  These are much more easily scripted, easier to use and debug.  There are also lots of threads on these two utilities here in ITRC, just look 'em up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 11 Feb 2003 15:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901741#M820582</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-02-11T15:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901742#M820583</link>
      <description>For example:&lt;BR /&gt;1.Create file like this&lt;BR /&gt;arg.ftp:&lt;BR /&gt;user &lt;LOGIN&gt; &lt;NAME&gt;&lt;BR /&gt;cd /&lt;SERVER_DIR&gt;&lt;BR /&gt;lcd /&lt;MY_DIR&gt;&lt;BR /&gt;binary&lt;BR /&gt;put &lt;SOURCEFILE&gt;&lt;BR /&gt;bye&lt;BR /&gt;2.Use:&lt;BR /&gt;ftp -n &lt;IPADDR_SERVER&gt; &amp;lt; ./arg.ftp&lt;BR /&gt;By.&lt;/IPADDR_SERVER&gt;&lt;/SOURCEFILE&gt;&lt;/MY_DIR&gt;&lt;/SERVER_DIR&gt;&lt;/NAME&gt;&lt;/LOGIN&gt;</description>
      <pubDate>Tue, 11 Feb 2003 15:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901742#M820583</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-11T15:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using tftp/ftp in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901743#M820584</link>
      <description>Thanks for the help!</description>
      <pubDate>Tue, 11 Feb 2003 16:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tftp-ftp-in-a-shell-script/m-p/2901743#M820584</guid>
      <dc:creator>Pat_52</dc:creator>
      <dc:date>2003-02-11T16:38:08Z</dc:date>
    </item>
  </channel>
</rss>

