title: Curl usage on openvms again
body: <p>This is a follow-up to my previous question - Curl Usage on OpenVMS.
  So I got everything working OK on my smallish 39Mbyte file. I then changed my command file to try and deal with the proper target file which is just over 8Gig.
  I have 9 curl commands of the type</p>
  
  <pre><code>$ pipe curl -range 0-100000000 -o part1.zip etc ... &amp;
  $ pipe curl -range 1000000001-2000000000 -o part2.zip ... &amp;
  $ pipe curl -range 2000000001-3000000000 -o part3.zip... &amp;
  $ pipe curl -range 3000000001-4000000000 -o part4.zip... &amp;
  $ pipe curl -range 4000000001-5000000000 -o part5.zip... &amp;
  $ pipe curl -range 5000000001-6000000000 -o part6.zip... &amp;
  $ pipe curl -range 6000000001-7000000000 -o part7.zip... &amp;
  $ pipe curl -range 7000000001-8000000000 -o part8.zip... &amp;
  $ pipe curl -range 8000000001- ... -o part9.zip &amp;
  </code></pre>
  
  <p>Now I get the following error message on parts 4, 5 and 9 - always the same parts</p>
  
  <pre><code>&gt; &gt; PWD &lt; 257 "/" is current directory.
  &gt; * Entry path is '/'
  &gt; &gt; CWD Products &lt; 250 Requested file action okay, completed.
  &gt; &gt; CWD OwnershipDetailV2 &lt; 250 Requested file action okay, completed.
  &gt; &gt; PASV
  &gt; * Connect data stream passively &lt; 227 Entering Passive Mode (204,8,135,60,43,24)
  &gt; *   Trying 204.8.135.60... connected
  &gt; * Connecting to 204.8.135.60 (204.8.135.60) port 11032
  &gt; &gt; TYPE I &lt; 200 Type set to I.
  &gt; &gt; SIZE OwnershipDetailV2Full20160110.zip &lt; 451 Requested action aborted: session in inconsistent state.
  &gt; * ftp server doesn't support SIZE
  &gt; * Instructs server to resume from offset -1294967295
  &gt; &gt; REST -1294967295 &lt; 554 Invalid REST argument.
  &gt; * Couldn't use REST
  &gt; ** Resuming transfer from byte position -1294967295   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  &gt;                                  Dload  Upload   Total   Spent    Left  Speed   0     0    0     0    0     0      0      0 --:--:--  0:00:01
  &gt; --:--:--     0* Closing connection #0
  &gt; 
  &gt; %CURL-E-FTP_COULDNT_USE, FTP REST command failed
  </code></pre>
  
  <p>At first I was thinking it was some kind of 2Gig limit on the range parameters but parts 6 and 7 work OK. Any thoughts, ideas or work-arounds would be welcome.</p>
  
  <p>Incidentally parts 1,2 3, 6 and 7 download just fine</p>