<?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: rcp exit codes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864995#M277352</link>
    <description>Thanks guys.&lt;BR /&gt;&lt;BR /&gt;I suspected as much, although it's not was I was hoping to hear!&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 18 Sep 2006 22:45:04 GMT</pubDate>
    <dc:creator>Mike Ingram_1</dc:creator>
    <dc:date>2006-09-18T22:45:04Z</dc:date>
    <item>
      <title>rcp exit codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864992#M277349</link>
      <description>hi All,&lt;BR /&gt;&lt;BR /&gt;I have a script that rcp's files to another server, and I am checking if the return code is 0 or not, to determine success.&lt;BR /&gt;I am getting a few failures, and would like to know what the problem is, so thought I'd expand the script and have different messages for different return codes.&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me what non-zero return codes I could expect and what they mean?&lt;BR /&gt;So far, all I have found is that a non-zero return code is a failure!&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2006 21:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864992#M277349</guid>
      <dc:creator>Mike Ingram_1</dc:creator>
      <dc:date>2006-09-18T21:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: rcp exit codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864993#M277350</link>
      <description>You would have only 2 return codes&lt;BR /&gt;0=success&lt;BR /&gt;1=failure</description>
      <pubDate>Mon, 18 Sep 2006 21:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864993#M277350</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2006-09-18T21:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: rcp exit codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864994#M277351</link>
      <description>The problem (like return codes for remsh) is that the return code does NOT verify the success of a file transfer! It only signals whether a connection was made succesfully. So an error will be returned if the hostname is not found or the host refuses the connection. Otherwise, rcp is always successful.&lt;BR /&gt; &lt;BR /&gt;Now when you look at all the possibilites for file transfer problems, you can understand that a single error code is not appropriate. For instance, you rcp a directory and half the files fail to transfer because the target location is full. Would the error code be 0.50? Or what do you return if some of the source files are not readable? and so on..&lt;BR /&gt; &lt;BR /&gt;SO you have to process the text returned by rcp, or better yet, run remsh to look in the target directory to see if all is well.</description>
      <pubDate>Mon, 18 Sep 2006 22:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864994#M277351</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-18T22:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: rcp exit codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864995#M277352</link>
      <description>Thanks guys.&lt;BR /&gt;&lt;BR /&gt;I suspected as much, although it's not was I was hoping to hear!&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2006 22:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-exit-codes/m-p/3864995#M277352</guid>
      <dc:creator>Mike Ingram_1</dc:creator>
      <dc:date>2006-09-18T22:45:04Z</dc:date>
    </item>
  </channel>
</rss>

