<?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 Curl Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179955#M682645</link>
    <description>&lt;BR /&gt;I am getting the following mail through a cron job with curl in it.&lt;BR /&gt;&lt;BR /&gt; % Total    % Received % Xferd  Average Speed          Time             Curr.&lt;BR /&gt;                                 Dload  Upload Total    Current  Left    Speed&lt;BR /&gt;&lt;BR /&gt;  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0&lt;BR /&gt;  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0&lt;BR /&gt;  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;curl: (52) Empty reply from server&lt;BR /&gt;&lt;BR /&gt;The script executes just fine but don't know why for few days I have started getting these emails with the curl progress report (meter) in it. I tested the script on the command line and the progress report doesnt show.&lt;BR /&gt;&lt;BR /&gt;Any clues?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Allan</description>
    <pubDate>Mon, 08 Jun 2009 17:47:34 GMT</pubDate>
    <dc:creator>Allanm</dc:creator>
    <dc:date>2009-06-08T17:47:34Z</dc:date>
    <item>
      <title>Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179955#M682645</link>
      <description>&lt;BR /&gt;I am getting the following mail through a cron job with curl in it.&lt;BR /&gt;&lt;BR /&gt; % Total    % Received % Xferd  Average Speed          Time             Curr.&lt;BR /&gt;                                 Dload  Upload Total    Current  Left    Speed&lt;BR /&gt;&lt;BR /&gt;  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0&lt;BR /&gt;  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0&lt;BR /&gt;  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;curl: (52) Empty reply from server&lt;BR /&gt;&lt;BR /&gt;The script executes just fine but don't know why for few days I have started getting these emails with the curl progress report (meter) in it. I tested the script on the command line and the progress report doesnt show.&lt;BR /&gt;&lt;BR /&gt;Any clues?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Allan</description>
      <pubDate>Mon, 08 Jun 2009 17:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179955#M682645</guid>
      <dc:creator>Allanm</dc:creator>
      <dc:date>2009-06-08T17:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179956#M682646</link>
      <description>Hi Allan:&lt;BR /&gt;&lt;BR /&gt;A return code of &amp;lt;52&amp;gt; means that the server didn't reply.  If you wish, when you execute your script via a crontask, you could redirect STDERR to /dev/null.  Remember, 'cron' has no terminal association and thus any unredirected STDOUT or STDERR is mailed to the initiating user.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;[ -t 0 ] || exec 2&amp;gt;/dev/null&lt;BR /&gt;/usr/bin/curl  ....&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 08 Jun 2009 18:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179956#M682646</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-08T18:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179957#M682647</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;check this link there is a discussion about this issue.&lt;BR /&gt;&lt;BR /&gt;link : &lt;BR /&gt;&lt;A href="http://curl.haxx.se/mail/archive-2007-05/0021.html" target="_blank"&gt;http://curl.haxx.se/mail/archive-2007-05/0021.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Mon, 08 Jun 2009 18:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179957#M682647</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-06-08T18:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179958#M682648</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;what does this cron job do exactly ?</description>
      <pubDate>Mon, 08 Jun 2009 18:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179958#M682648</guid>
      <dc:creator>Fabian Briseño</dc:creator>
      <dc:date>2009-06-08T18:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179959#M682649</link>
      <description>&lt;BR /&gt;Thanks Folks,&lt;BR /&gt;Do u know why I get the progress report abt the curl in an email from cron but not on the terminal (if I do it from the command line).&lt;BR /&gt;&lt;BR /&gt;Allan</description>
      <pubDate>Mon, 08 Jun 2009 18:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179959#M682649</guid>
      <dc:creator>Allanm</dc:creator>
      <dc:date>2009-06-08T18:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179960#M682650</link>
      <description>Hi (again) Allan:&lt;BR /&gt;&lt;BR /&gt;From the 'curl' manpages:&lt;BR /&gt;&lt;BR /&gt;/* begin quote */&lt;BR /&gt;&lt;BR /&gt;cur normally displays a progress meter during operations, indicating the amount of transferred data, transfer speeds and estimated  time left, etc.&lt;BR /&gt;&lt;BR /&gt;However, since curl displays this data to the terminal by default, if you invoke curl to do an operation and it is about to write data to the terminal, it disables the progress meter as otherwise it would mess up&lt;BR /&gt;the output mixing progress meter and response data.&lt;BR /&gt;&lt;BR /&gt;If you want a progress meter for HTTP POST or PUT requests, you need to redirect  the  response output to a file, using shell redirect (&amp;gt;), -o [file] or similar.&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;-s/--silent&lt;BR /&gt;Silent mode. Donâ  t show progress meter or error messages.  Makes Curl mute.&lt;BR /&gt;&lt;BR /&gt;/* end quote */&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2009 18:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179960#M682650</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-08T18:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Curl Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179961#M682651</link>
      <description>Thanks JRF!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Allan</description>
      <pubDate>Mon, 08 Jun 2009 18:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/curl-question/m-p/5179961#M682651</guid>
      <dc:creator>Allanm</dc:creator>
      <dc:date>2009-06-08T18:31:44Z</dc:date>
    </item>
  </channel>
</rss>

