|
From: Dale Atkin on 21 Apr 2008 11:53 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
From: Dale Atkin on 21 Apr 2008 12:26 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(a)ibycus.com> wrote in message news:FL2Pj.1102$XI1.242(a)edtnps91... >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 >
From: BeastFish on 21 Apr 2008 13:30 No, not bad form at all. Keeps the thread advised of any progress, and in the event of a solution, brings it to a close (and the solution may be of interest to others). "Dale Atkin" <labrador1(a)ibycus.com> wrote in message news:Qe3Pj.1109$XI1.684(a)edtnps91... > 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(a)ibycus.com> wrote in message > news:FL2Pj.1102$XI1.242(a)edtnps91... > >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&dl pre=&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&a rc=ZIP&sde=ATLAS.ATLAS_TOPO_BATHY&msd=null&zun=METERS&prj=0&csx=1000.0&csy=1 000.0&bnd=&bndnm=&RC=49bd874d86e654d1446be822b3a27a1ad16187ee > > > > Dale > > > >
|
Pages: 1 Prev: Transparent Desktop Icon Text? Next: comp.lang.basic.visual.misc charter |