<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503951#M217038</link>
    <description>hi everybody !&lt;BR /&gt;&lt;BR /&gt;i just want to do a "ls" in a specific directory with a small script (see attached).&lt;BR /&gt;my problem :&lt;BR /&gt;i'm succeedding in doing this "ftp", this "cd" and this "ls" by line command; but with the script...the "ls" is listing my $HOME, and i don't understand why.&lt;BR /&gt;i'm sure answer is obvious but i need some help to understand it.&lt;BR /&gt;thx in advance.&lt;BR /&gt;E.</description>
    <pubDate>Mon, 14 Mar 2005 08:56:52 GMT</pubDate>
    <dc:creator>Etienne Roseau</dc:creator>
    <dc:date>2005-03-14T08:56:52Z</dc:date>
    <item>
      <title>FTP question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503951#M217038</link>
      <description>hi everybody !&lt;BR /&gt;&lt;BR /&gt;i just want to do a "ls" in a specific directory with a small script (see attached).&lt;BR /&gt;my problem :&lt;BR /&gt;i'm succeedding in doing this "ftp", this "cd" and this "ls" by line command; but with the script...the "ls" is listing my $HOME, and i don't understand why.&lt;BR /&gt;i'm sure answer is obvious but i need some help to understand it.&lt;BR /&gt;thx in advance.&lt;BR /&gt;E.</description>
      <pubDate>Mon, 14 Mar 2005 08:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503951#M217038</guid>
      <dc:creator>Etienne Roseau</dc:creator>
      <dc:date>2005-03-14T08:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503952#M217039</link>
      <description>The home directory is where you log on by default after making a ftp connection.&lt;BR /&gt;&lt;BR /&gt;The ls is probably showing the home directory only because its not configured correctly and you have a chroot environment which restricts you to your home directory.&lt;BR /&gt;&lt;BR /&gt;If you are the systems administrator, you need to check where you copied the ls binary. If not, you need to contact systems administration on this issue.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 14 Mar 2005 09:07:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503952#M217039</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-14T09:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTP question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503953#M217040</link>
      <description>Change your script to this format:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;export LOG=$HOME/test_ftp.log&lt;BR /&gt;ftp -v -n -i MACHINENAME &amp;lt;&amp;lt; EOF | tee -a $LOG&lt;BR /&gt;user USERNAME USERPASSWD&lt;BR /&gt;cd /SOMEDIRECTORY&lt;BR /&gt;ls&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Mon, 14 Mar 2005 09:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503953#M217040</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-03-14T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503954#M217041</link>
      <description>&lt;BR /&gt;Your original script was NOT going into FTP and executing the "ls" or the "cd" in ftp mode, thus it was purely local to your current session. Use the EOF method to "feed" input into FTP.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Mon, 14 Mar 2005 09:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503954#M217041</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-03-14T09:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503955#M217042</link>
      <description>thx for replying,&lt;BR /&gt;i'll check now, understanding most of my script failure.</description>
      <pubDate>Mon, 14 Mar 2005 09:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503955#M217042</guid>
      <dc:creator>Etienne Roseau</dc:creator>
      <dc:date>2005-03-14T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTP question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503956#M217043</link>
      <description>okay, it's working much better now  !!</description>
      <pubDate>Mon, 14 Mar 2005 10:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-question/m-p/3503956#M217043</guid>
      <dc:creator>Etienne Roseau</dc:creator>
      <dc:date>2005-03-14T10:06:09Z</dc:date>
    </item>
  </channel>
</rss>

