/CloseNoCountdown problem

Stefan
09/30/2005 03:42 pm
I am running project from the command line using:

"C:\Program Files\Offline Explorer Pro\OE.exe" nl/0 /Instance /CloseNoCountdown

which works fine except if there are no urls to download in the project (I am using file macros and an external process to generate these lists prior to calling up OE). In this case OE does not shutdown and control never returns to the batch file it was called from.

Can you please look into this?

Thx

Stefan
Oleg Chernavin
10/03/2005 10:56 am
OK. Just improved that:

http://www.metaproducts.com/download/betas/oep2125.ZIP

Oleg.
Stefan
10/05/2005 04:07 am
I installed it and tested it and still does not work as I would expect it to work. Here is an example how to reproduce my problem:

This is the project:

[Object]
OEVersion=Pro 3.9.0.2124
Type=0
IID=7223
Caption=ca
URL=#http://whois.cira.ca/public?LANGUE=en&domaine=test1.cahttp://whois.cira.ca/public?LANGUE=en&domaine={:file=e:\lists\ca-no.lst}
Weekday=257
LimTSize=10000
LimNumber=5000
LimTime=100
FMGroup=2
FTText.Exts=htmlhtmaspaspxjspstmstmlidcshtmlhtxtxttextxspxmlrxmlcfmwmlphpphp3
FTImages.Exts=gifjpgjpegtiftiffxbmfifbmppngipxjp2j2cj2kwbmplwf
FTVideo.Exts=mpgavianimpegmovfliflcvivrmramrvasfasxwmvm1vm2vvob
FTAudio.Exts=wavriffmp3midmp2m3uravocwmaape
FTArchive.Exts=ziparcgzzarjlhalayleirarcabtarpakacejarpdf
FTUDef.Exts=jscssssivbsdtdxslswfclass
FTText.B=ooxooo
FTImages.B=ooxooo
FTVideo.B=ooxooo
FTAudio.B=ooxooo
FTArchive.B=ooxooo
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,0
RSrvsBx=1
RPathBx=1
RFileBx=1
RProt=127
LastStart=89:61:156:63:205:220:226:64:
LastEnd=41:170:27:158:189:220:226:64:
ImgDim=0,0,0,0


I put this project into a folder named "CA" and call it up from the command line:
"C:\Program Files\Offline Explorer Pro\OE.exe" ca/0 /Instance /CloseNoCountdown


Now here`s the problem: If {:file=e:\lists\ca-no.lst} is not really existing because it couldn`t be created prior to calling up OE (e.g. timeouts, bad connection or whatever reason) then OE will just sit there and do nothing, not even close down itself. If you could do something about this it would be great.

Thx a lot

Stefan



Oleg Chernavin
10/05/2005 06:26 am
Please use it this way:

"C:\Program Files\Offline Explorer Pro\OE.exe" /CloseNoCountdown ca/0 /Instance

Oleg.
Stefan
10/05/2005 06:47 am
ok, that actually works. Do I always need to use /Instance as the last paremeter ? Is there any particaular order in which the command line parameters need to be put ?

Thank you

Stefan
Oleg Chernavin
10/05/2005 06:52 am
No. /Close.... parameter should be before specifying the Project in the command-line.

Oleg.
Stefan
10/05/2005 06:58 am
Thx a lot for the info.

Stefan
Oleg Chernavin
10/05/2005 07:50 am
You are welcome!

Oleg.