Re: Downloading files...



Ok, I know its bad form to answer my own message, but I've made some
progress.

It seems that the information to automatically refresh the URL is contained
in the file header. It also contains a particular URL to refresh. I think
I'm well on my way now.

Dale

"Dale Atkin" <labrador1@xxxxxxxxxx> wrote in message
news:FL2Pj.1102$XI1.242@xxxxxxxxxxx
I have a whole ton of files I want to download. Was thinking I could throw
together a little code to do it.

I've got some old code kicking around to download a given URL, but this
page seems to automagically refresh itself when the data is ready to be
downloaded. I'm not really sure of the mechanism behind this refresh, or
how I can deal with it in my program. Thoughts?

http://extract.cr.usgs.gov/diststatus/servlet/gov.usgs.edc.RequestStatus?siz=1&key=ICN&ras=1&rsp=0&pfm=GridFloat&imsurl=-1&ms=-1&att=-1&lay=-1&fid=-1&dlpre=&lft=-86.0&rgt=-85.0&top=33.5&bot=33.0&wmd=1&mur=http%3A%2F%2Fextract.cr.usgs.gov%2Fdistmeta%2Fservlet%2Fgov.usgs.edc.MetaBuilder&mcd=ICN&mdf=HTML&arc=ZIP&sde=ATLAS.ATLAS_TOPO_BATHY&msd=null&zun=METERS&prj=0&csx=1000.0&csy=1000.0&bnd=&bndnm=&RC=49bd874d86e654d1446be822b3a27a1ad16187ee

Dale



.