<?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 and usage of remote environment variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003216#M914892</link>
    <description>Hello there,&lt;BR /&gt;&lt;BR /&gt;I'd like to ftp to a remote server.&lt;BR /&gt;The remote server contains, for the user that logs in via the ftp session, an environment variable pointing to a path : $MYPATH .&lt;BR /&gt;&lt;BR /&gt;In the ftp session (ftp script), I try to do :&lt;BR /&gt;ftp&amp;gt; cd $MYPATH/rest_of_path&lt;BR /&gt;&lt;BR /&gt;That doesn't work :&lt;BR /&gt;550 $COHESION_PATH: No such file or directory.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to solve this (without the use of perl) ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Franky</description>
    <pubDate>Fri, 20 Jun 2003 09:28:28 GMT</pubDate>
    <dc:creator>Franky Leeuwerck_1</dc:creator>
    <dc:date>2003-06-20T09:28:28Z</dc:date>
    <item>
      <title>ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003216#M914892</link>
      <description>Hello there,&lt;BR /&gt;&lt;BR /&gt;I'd like to ftp to a remote server.&lt;BR /&gt;The remote server contains, for the user that logs in via the ftp session, an environment variable pointing to a path : $MYPATH .&lt;BR /&gt;&lt;BR /&gt;In the ftp session (ftp script), I try to do :&lt;BR /&gt;ftp&amp;gt; cd $MYPATH/rest_of_path&lt;BR /&gt;&lt;BR /&gt;That doesn't work :&lt;BR /&gt;550 $COHESION_PATH: No such file or directory.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to solve this (without the use of perl) ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Franky</description>
      <pubDate>Fri, 20 Jun 2003 09:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003216#M914892</guid>
      <dc:creator>Franky Leeuwerck_1</dc:creator>
      <dc:date>2003-06-20T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003217#M914893</link>
      <description>Try lcd $MYPATH/rest_of_path  in your script.</description>
      <pubDate>Fri, 20 Jun 2003 12:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003217#M914893</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-06-20T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003218#M914894</link>
      <description>The .profile of the destination machine is NOT executed when logging in.  That means that you cannot generally use environmental variables on the destination machine. You will have to use this information explicitly if you're scripting this ftp process.  &lt;BR /&gt;&lt;BR /&gt;This is my particular hobby horse: but ftp does not script easily, and it is hardly secure.  You're much better off in the long run to install and use secure shell (which includes secure copy).  Secure copy scripts much more readily, and it is of course much more secure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 20 Jun 2003 12:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003218#M914894</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-20T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003219#M914895</link>
      <description>The .profile of the destination machine is NOT executed when logging in.  That means that you cannot generally use environmental variables on the destination machine. You will have to use this information explicitly if you're scripting this ftp process.  &lt;BR /&gt;&lt;BR /&gt;This is my particular hobby horse: but ftp does not script easily, and it is hardly secure.  You're much better off in the long run to install and use secure shell (which includes secure copy).  Secure copy scripts much more readily, and it is of course much more secure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 20 Jun 2003 12:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003219#M914895</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-20T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003220#M914896</link>
      <description>The .profile of the destination machine is NOT executed when logging in.  That means that you cannot generally use environmental variables on the destination machine. You will have to use this information explicitly if you're scripting this ftp process.  &lt;BR /&gt;&lt;BR /&gt;This is my particular hobby horse: but ftp does not script easily, and it is hardly secure.  You're much better off in the long run to install and use secure shell (which includes secure copy).  Secure copy scripts much more readily, and it is of course much more secure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 20 Jun 2003 12:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003220#M914896</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-20T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003221#M914897</link>
      <description>The .profile of the destination machine is NOT executed when logging in.  That means that you cannot generally use environmental variables on the destination machine. You will have to use this information explicitly if you're scripting this ftp process.  &lt;BR /&gt;&lt;BR /&gt;This is my particular hobby horse: but ftp does not script easily, and it is hardly secure.  You're much better off in the long run to install and use secure shell (which includes secure copy).  Secure copy scripts much more readily, and it is of course much more secure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 20 Jun 2003 12:58:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003221#M914897</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-20T12:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003222#M914898</link>
      <description>Franky,&lt;BR /&gt;&lt;BR /&gt;It may not be workable, but,....&lt;BR /&gt;&lt;BR /&gt;Why not run the FTP Script from the other host? (ie the host that has the variable defined on it)&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Fri, 20 Jun 2003 13:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003222#M914898</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-06-20T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: ftp and usage of remote environment variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003223#M914899</link>
      <description>Thanks for your response .. even without a solution.&lt;BR /&gt;&lt;BR /&gt;Now I realise I have to work out another solution.&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Mon, 23 Jun 2003 07:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-usage-of-remote-environment-variable/m-p/3003223#M914899</guid>
      <dc:creator>Franky Leeuwerck_1</dc:creator>
      <dc:date>2003-06-23T07:23:26Z</dc:date>
    </item>
  </channel>
</rss>

