Re: download all mib files from a web page

2009-05-28 Thread powah
On May 27, 3:37 pm, Scott David Daniels wrote: > powah wrote: > > ... > > I fixed one error, now if the filename is misspelled, how to ignore > > the error and continue? > > You really should go through the tutorial.  It will explain this and > other important things well.  But, since I'm feeling

Re: download all mib files from a web page

2009-05-28 Thread Chris Rebert
On Wed, May 27, 2009 at 11:06 AM, powah wrote: > On May 27, 12:29 pm, powah wrote: >> I want to download all mib files from the web >> page:http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-m... >> >> All mib filenames are of this format:www.juniper.net/techpubs... .txt >> >> I

Re: download all mib files from a web page

2009-05-28 Thread Chris Rebert
On Wed, May 27, 2009 at 9:29 AM, powah wrote: > I want to download all mib files from the web page: > http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-mgmt/juniper-specific-mibs-junos-nm.html#jN18E19 > > All mib filenames are of this format: > www.juniper.net/techpubs ... .txt >

Re: download all mib files from a web page

2009-05-27 Thread Scott David Daniels
powah wrote: ... I fixed one error, now if the filename is misspelled, how to ignore the error and continue? You really should go through the tutorial. It will explain this and other important things well. But, since I'm feeling generous: Replace this: u=urllib2.urlopen(link) p=u.re

Re: download all mib files from a web page

2009-05-27 Thread powah
On May 27, 12:29 pm, powah wrote: > I want to download all mib files from the web > page:http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-m... > > All mib filenames are of this format:www.juniper.net/techpubs... .txt > > I write this program but has the following error. > Pleas

Re: download all mib files from a web page

2009-05-27 Thread powah
On May 27, 1:50 pm, Jeff McNeil wrote: > On May 27, 12:29 pm, powah wrote: > > > > > > > I want to download all mib files from the web > > page:http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-m... > > > All mib filenames are of this format:www.juniper.net/techpubs... .txt > >

Re: download all mib files from a web page

2009-05-27 Thread Jeff McNeil
On May 27, 12:29 pm, powah wrote: > I want to download all mib files from the web > page:http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-m... > > All mib filenames are of this format:www.juniper.net/techpubs... .txt > > I write this program but has the following error. > Pleas

download all mib files from a web page

2009-05-27 Thread powah
I want to download all mib files from the web page: http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-mgmt/juniper-specific-mibs-junos-nm.html#jN18E19 All mib filenames are of this format: www.juniper.net/techpubs ... .txt I write this program but has the following error. Please