United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
** Resuming transfer from byte position 1196032
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:00 --:--:-- 0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
|
< HTTP/1.1 302 Moved Temporarily
< Location: https://rhn.redhat.com/errors/download-expired.pxt
< Connection: close
* HTTP server doesn't seem to support byte ranges. Cannot resume.
** Resuming transfer from byte position 344064
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
* Closing connection #0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
|
Curl uses session authentication in the URL when you attempt to download a file from RHN. After a certain amount of time or several attempts at downloading the same ISO your session authentication information expires, hence the error:
Location: https://rhn.redhat.com/errors/download-expired.pxt
You need to refresh the "Easy ISO's" page on RHN and re-copy the link to use with the curl command.
Note this will create a new file and begin the download process again. This is because during the download phase the temporary file name includes the session authentication information. The download will start over each time you get the error above and need to refresh RHN. The session authentication information changes when you refresh RHN therefore a new filename is created for the ISO you are downloading.curl -C - -O [very-long-url]
To overcome this use the following command:
The -o switch allows you to specify the filename, [filename], of the ISO image being downloaded from RHN. When you refresh RHN to get your new URL for the ISO, the download process continues where it left off because your filename has not changed.curl -C - -o [filename] [very-long-url]