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
$ pipe curl -range 0-100000000 -o part1.zip etc ... &
$ pipe curl -range 1000000001-2000000000 -o part2.zip ... &
$ pipe curl -range 2000000001-3000000000 -o part3.zip... &
$ pipe curl -range 3000000001-4000000000 -o part4.zip... &
$ pipe curl -range 4000000001-5000000000 -o part5.zip... &
$ pipe curl -range 5000000001-6000000000 -o part6.zip... &
$ pipe curl -range 6000000001-7000000000 -o part7.zip... &
$ pipe curl -range 7000000001-8000000000 -o part8.zip... &
$ pipe curl -range 8000000001- ... -o part9.zip &
Now I get the following error message on parts 4, 5 and 9 - always the same parts
> > PWD < 257 "/" is current directory.
> * Entry path is '/'
> > CWD Products < 250 Requested file action okay, completed.
> > CWD OwnershipDetailV2 < 250 Requested file action okay, completed.
> > PASV
> * Connect data stream passively < 227 Entering Passive Mode (204,8,135,60,43,24)
> * Trying 204.8.135.60... connected
> * Connecting to 204.8.135.60 (204.8.135.60) port 11032
> > TYPE I < 200 Type set to I.
> > SIZE OwnershipDetailV2Full20160110.zip < 451 Requested action aborted: session in inconsistent state.
> * ftp server doesn't support SIZE
> * Instructs server to resume from offset -1294967295
> > REST -1294967295 < 554 Invalid REST argument.
> * Couldn't use REST
> ** Resuming transfer from byte position -1294967295 % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01
> --:--:-- 0* Closing connection #0
>
> %CURL-E-FTP_COULDNT_USE, FTP REST command failed
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.
Incidentally parts 1,2 3, 6 and 7 download just fine