<?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 FTP commands in the shell scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521050#M878024</link>
    <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;I need write a scripts with ftp commands.&lt;BR /&gt;&lt;BR /&gt;for example:&lt;BR /&gt;------------&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;cd /home/user1&lt;BR /&gt;&lt;BR /&gt;ftp machine&lt;BR /&gt;user_name&lt;BR /&gt;passwd&lt;BR /&gt;get file&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;------------------&lt;BR /&gt;&lt;BR /&gt;I have no idea how to do it. :-(&lt;BR /&gt;&lt;BR /&gt;I guess that it is so stupid but ...&lt;BR /&gt;&lt;BR /&gt;Could you anyone help me ?&lt;BR /&gt;&lt;BR /&gt;Thanks Radim&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Apr 2001 05:19:38 GMT</pubDate>
    <dc:creator>Radim Jarosek</dc:creator>
    <dc:date>2001-04-25T05:19:38Z</dc:date>
    <item>
      <title>FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521050#M878024</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;I need write a scripts with ftp commands.&lt;BR /&gt;&lt;BR /&gt;for example:&lt;BR /&gt;------------&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;cd /home/user1&lt;BR /&gt;&lt;BR /&gt;ftp machine&lt;BR /&gt;user_name&lt;BR /&gt;passwd&lt;BR /&gt;get file&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;------------------&lt;BR /&gt;&lt;BR /&gt;I have no idea how to do it. :-(&lt;BR /&gt;&lt;BR /&gt;I guess that it is so stupid but ...&lt;BR /&gt;&lt;BR /&gt;Could you anyone help me ?&lt;BR /&gt;&lt;BR /&gt;Thanks Radim&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Apr 2001 05:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521050#M878024</guid>
      <dc:creator>Radim Jarosek</dc:creator>
      <dc:date>2001-04-25T05:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521051#M878025</link>
      <description>Hi,&lt;BR /&gt;you're already close.  Redirect standard input to the ftp command, all following lines will be handled like you would type them until the marker (here EOT) is found.&lt;BR /&gt;&lt;BR /&gt;ftp machine &amp;lt;&amp;lt; EOT&lt;BR /&gt;user_name &lt;BR /&gt;passwd &lt;BR /&gt;get file &lt;BR /&gt;bye&lt;BR /&gt;EOT&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry</description>
      <pubDate>Wed, 25 Apr 2001 05:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521051#M878025</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-04-25T05:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521052#M878026</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;wow, so fast response :-).&lt;BR /&gt;&lt;BR /&gt;I've already tried to use here doc but it didn't work as I excepted. I got to the passwd prompt only.&lt;BR /&gt;&lt;BR /&gt;Radim</description>
      <pubDate>Wed, 25 Apr 2001 05:35:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521052#M878026</guid>
      <dc:creator>Radim Jarosek</dc:creator>
      <dc:date>2001-04-25T05:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521053#M878027</link>
      <description>Use the following:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/ftp -vn &amp;lt;&amp;lt;-EOF&lt;BR /&gt;open "IP or hostname"&lt;BR /&gt;uer "username""password "&lt;BR /&gt;&lt;BR /&gt;bin&lt;BR /&gt;get file&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;federico&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Apr 2001 05:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521053#M878027</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-04-25T05:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521054#M878028</link>
      <description>An old thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xffe5f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xffe5f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Wed, 25 Apr 2001 06:03:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521054#M878028</guid>
      <dc:creator>Tommy Palo</dc:creator>
      <dc:date>2001-04-25T06:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521055#M878029</link>
      <description>response was toooo fast ;)&lt;BR /&gt;&lt;BR /&gt;ftp -n server &amp;lt;&amp;lt; EOT&lt;BR /&gt;user theuser thepassword&lt;BR /&gt;cd thedirectory&lt;BR /&gt;get thefile&lt;BR /&gt;bye&lt;BR /&gt;EOT&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Apr 2001 06:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521055#M878029</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-04-25T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521056#M878030</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;What's surprise! It's working :)&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Radim&lt;BR /&gt;&lt;BR /&gt;p.s. Points are coming ;)</description>
      <pubDate>Wed, 25 Apr 2001 06:26:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521056#M878030</guid>
      <dc:creator>Radim Jarosek</dc:creator>
      <dc:date>2001-04-25T06:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521057#M878031</link>
      <description>Ok - Heres a challenge - How would you make the password in such an FTP script unviewable ?&lt;BR /&gt;&lt;BR /&gt;I was toying with using crypt somehow but you would still need to have the crypy key available.</description>
      <pubDate>Thu, 26 Apr 2001 08:42:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521057#M878031</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2001-04-26T08:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521058#M878032</link>
      <description>Or...configure a .netrc macro.</description>
      <pubDate>Thu, 26 Apr 2001 17:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521058#M878032</guid>
      <dc:creator>Kirk Gardner</dc:creator>
      <dc:date>2001-04-26T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: FTP commands in the shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521059#M878033</link>
      <description>Hi Nick,&lt;BR /&gt;I aggree about the password issue.&lt;BR /&gt;I've been thinking about it too; but haven't got any further than creating FTP accounts with very very very limited privileges.&lt;BR /&gt;Also the script should be kept away from hungry eyes ;)&lt;BR /&gt;Thierry.</description>
      <pubDate>Thu, 26 Apr 2001 18:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-commands-in-the-shell-scripts/m-p/2521059#M878033</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-04-26T18:25:17Z</dc:date>
    </item>
  </channel>
</rss>

