Unable to download cpp file

Robin
11/18/2005 02:06 am
Hi I`m trying to download one page with all the images, files linked to it, but it fails to get the cpp files.

My steps.
I used the New wizard to add "Download only one page with images and script".

http://www.artima.com/cppsource/foreachP.html

I completed the download, and found the .cpp files linked from the page are not download. Eg.

http://www.artima.com/cppsource/fixed_foreach.cpp

So I changed the Project Properties->File Filters->Other->Load from any site

It still doesn`t download it. Using OE Pro 3.9.2.2144 SR 3

Project Info

[Object]
OEVersion=Pro 3.9.0.2144
Type=0
IID=7011
Caption=http://www.artima.com/cppsource/foreachP.html
URL=http://www.artima.com/cppsource/foreachP.html
Weekday=257
LimTSize=10000
LimNumber=5000
LimTime=100
FMGroup=1
FTText.Exts=htmlhtmaspaspxjspstmstmlidcshtmlhtxtxttextxspxmlrxmlcfmwmlphpphp3
FTImages.Exts=gifjpgjpegtiftiffxbmfifbmppngipxjp2j2cj2kwbmplwf
FTVideo.Exts=mpgavianimpegmovfliflcvivrmramrvasfasxwmvm1vm2vvob
FTAudio.Exts=wavriffmp3midmp2m3uravocwmaape
FTArchive.Exts=exeziparcgzzarjlhalayleirarcabtarpakacejarpdf
FTUDef.Exts=jscssssivbsdtdxslswfclass
FTText.B=ooxooo
FTImages.B=ooxooo
FTVideo.B=xoxooo
FTAudio.B=xoxooo
FTArchive.B=xoxooo
FTUDef.B=ooxooo
FTOther.B=ooxooo
FTSizes=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,0,3,3
RProt=127
LastStart=138:103:69:235:83:226:226:64:
LastEnd=222:202:215:235:83:226:226:64:
S200=5
SPar=2
SSav=5
SLast=200
SSiz=54973
SMdf=1
LFiles=5
LSize=54973
ImgDim=0,0,0,0
PrevURL=http://www.artima.com/cppsource/foreachP.html
Oleg Chernavin
11/22/2005 01:17 pm
I am sorry for the late answer. Please simply increase the Level setting to 1.

Best regards,
Oleg Chernavin
MP Staff
Robin
11/23/2005 01:22 am
All right I had to make some changes to the URL filters but it works. However, I think this is a bug, according to the documentation.

From the docs,
Level 0 will load 1 page, with all images etc linked to it.
Level 1 will load first pages, and all pages linked to it.

In the file filters, cpp is not listed as a tyoe, so it should go into the Other category, which I set to "Load using URL filter settings" and "Load all filenames"

Intuitively I should just use level 0 to get the page and the cpp.

Robin
Oleg Chernavin
11/23/2005 02:05 pm
These CPP files are not embedded in the page - there is a link that you have to click on to get the CPP file. This is why Level=1 is necessary.

Oleg.
Robin
11/24/2005 10:36 am
I see. This behaviour is slightly different from other downloaders.

Doing so as with limit level 1, it will download other html pages. I was expecting to download only that page only, and non html items (cpp) are downloaded.
Oleg Chernavin
11/24/2005 01:29 pm
I think, it is very close in behavior to other dowloaders. No offline browser can know what is behind that link - a downloadable file or a Web page. There are so many extensions used for Web pages now - htm, asp, php, cgi, nsi, aspx, so I would not be amazed if a site will use .cpp for Web pages.

Oleg.
Robin
11/24/2005 02:11 pm
Not other downloaders I have tried. In my first post, I mentioned that I have tried setting the file filters of Others to "Load from any site".

OE Pro should be downloading everything but those file types mentioned in the Text list, as that is the only filter being "Load using URL filter settings". The rest are "Load from any site"
Oleg Chernavin
11/25/2005 02:43 am
OK. I will think about this.

Oleg.