Problem with external file {:file=xxx}

Author Message
Pablo 08/27/2007 06:02 pm
Oleg,

I?m configuring OEP to download a complex site, and I thought that having an external file with the list of URLs to download would be better and "cleaner". However, I have found the following problem:

If I configure the site to download as follows, it downloads links perfectly
http://www.justiciacordoba.gov.ar/site/Asp/FallosTSJ.asp?S=AC
http://www.justiciacordoba.gov.ar/site/Asp/FallosTSJ.asp?S=SCC
http://www.justiciacordoba.gov.ar/site/Asp/FallosTSJ.asp?S=SL
http://www.justiciacordoba.gov.ar/site/Asp/FallosTSJ.asp?S=SP
http://www.justiciacordoba.gov.ar/site/Asp/FallosTSJ.asp?S=SCA
http://www.justiciacordoba.gov.ar/site/Asp/FallosTSJ.asp?S=SE
Additional=AddOriginalURL
ChannelsPerServer=5

However, if I use an external file FALLOS.INI, containing all the http:// links, OEP only downloads the first level of every URL. In this case, the project is as follows:
{:file=d:\FI\JusAR\Fallos.ini}
Additional=AddOriginalURL
ChannelsPerServer=5

Fallos.ini is a text file containing exactly the same URLs like in the first case.

Is this correct? I supposed that the use of an external {:file=xxxx}, would work exactly as including the text within the project?s configuration...

Thank you.
Pablo.
Pablo 08/27/2007 06:04 pm
To clarify:

I thought that the parameter {:file=xxxx} would work as an INCLUDE.
But it seems that it doesn?t.

Thank you,
Pablo.
Oleg Chernavin 08/28/2007 06:59 am
I tried that and it works well in 4.8 version. No problems at all.

Best regards,
Oleg Chernavin
MP Staff
Pablo 08/28/2007 03:12 pm
I was testing again (OEP 4.8), and still found some problems, but culdn?t [yet] find a clear combination of configuration. But I can confirm that {:file=c:\filentame} does not work like an INCLUDE within the project?s configuration area.

I have found that if I configure a project with the following properties:

Level=1
{:file=d:\file1.ini}
Level=0
{:file=d:\file2.ini}
Additional=AddOriginalURL
ChannelsPerServer=5

Then it seems that only ONE of the Level=x commands is processed. So I cannot download the first set of URLs with level=1, and the second with Level=0

Somthing related with the Download Level is working wrong when URLs are passed with an external file.

Questions:
a) Can I include commands within the file {:file=c:\filename}, or it is only for URLs ?
b) Can I have more than a {:file=c:\filename} within one project?s properties?

Thank you very much,
Regards,
Pablo.
Oleg Chernavin 08/29/2007 10:55 am
I just tested it and levels setting works properly here - just as you wanted. You can have many macros that load URLs. But you can only specify URLs using them - commands in the included files are not supported.

Oleg.
Pablo 09/13/2007 06:26 pm
> I just tested it and levels setting works properly here - just as you wanted. You can have many macros that load URLs. But you can only specify URLs using them - commands in the included files are not supported.
>
> Oleg.

OK; thank you for your help.
Now it?s working properly.
Pablo.
Oleg Chernavin 09/14/2007 06:03 am
Good.

Oleg.