Why not use -o to write out just the .iso file name and that way the session ID doesn't matter at all?
curl -C - -o 'rhel.iso' 'paste location here' -- David Kinzel | [email protected] ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Robert G. (Doc) Savage Sent: Friday, December 18, 2009 11:25 AM To: [email protected] Subject: [rhelv5-list] Using curl to fetch RHEL isos I'm trying to fetch RHEL ISOs over an unreliable ISP connection using curl. I can't find the download helper web page I used to refer to, so what follows is from memory. The problem is getting downloads to resume where they left off. After logging onto RHN and going to the ISOs channels/downloads page, I right-click on the link I want and select "Copy Link Location". Then at a command line I type: $ curl -C - -O 'paste link location here' <-- middle mouse click to paste The download starts and proceeds normally until my ISP connection fails. The problem I'm having is that the partially downloaded file will look something like this: /home/doc/RHEL5/rhel-server-5.4-x86_64-dvd.iso?__gda__=1261105782_f07833f2185ff96df99c0c08b37cccd2 with the stuff after ".iso" apparently being related to my RHN session login. When I log back in to RHN (the original session having timed out) and try to resume the transfer, it starts over at 0 because the stuff after ".iso" is different in the new session. This used to work. What am I doing wrong, or what's changed? --Doc Savage Fairview Heights, IL ------------------------------------------------------------------------ This email and its contents are private and confidential, for the sole use of the addressees. If you are not an intended recipient, copying, forwarding or other distribution of this email or its contents by any means is prohibited. If you believe that you received this email in error please notify the original sender immediately. Petro-Canada is a Suncor Energy business. ------------------------ Ce courriel et son contenu sont priv?s et confidentiels, et sont destin?s ? l'usage exclusif des destinataires. Si vous n'?tes pas le destinataire pr?vu, toute reproduction, transfert ou autre forme de diffusion de ce courriel ou de son contenu par quelque moyen que ce soit est interdit. Si vous croyez avoir re?u ce courriel par erreur, veuillez en aviser l'exp?diteur original imm?diatement. Petro-Canada est une entreprise de Suncor ?nergie. ------------------------------------------------------------------------ This email and its contents are private and confidential, for the sole use of the addressees. If you are not an intended recipient, copying, forwarding or other distribution of this email or its contents by any means is prohibited. If you believe that you received this email in error please notify the original sender immediately. Petro-Canada is a Suncor Energy business. ------------------------ Ce courriel et son contenu sont privés et confidentiels, et sont destinés à lusage exclusif des destinataires. Si vous n'êtes pas le destinataire prévu, toute reproduction, transfert ou autre forme de diffusion de ce courriel ou de son contenu par quelque moyen que ce soit est interdit. Si vous croyez avoir reçu ce courriel par erreur, veuillez en aviser l'expéditeur original immédiatement. Petro-Canada est une entreprise de Suncor Énergie.
_______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
