lot of questions around disabling urls

Uwe
12/24/2006 05:35 am
hi i have this situation:

i have many projects which are downloading a lot of files i want to backup and then remove them from the projects without OEE having them downloaded again.

the question is how is the fastest way to do this?

now the questions:
1. i looked a bit in OLE/C# but i haven?t found if i can disable urls with this (is it possible? if so with which method?)

2. even better would be a switch in OEE which could be like "download files only once above level 2" or something like that. (this would take all the work from me ;-) ) might this be possible? (don?t think so but asking can?t hurt!)

3. i have also seen the advanced option "Map displays all downloaded web sites" but if i check this its not working for me. map still shows only one project. if it would really show all projects i think i could disable all files i want with in one step.

4. and concerning this: i just can?t find the way to do so but i?m shure i have done it before: wasn?t in the map view a way to select all files of a kind (like *.tar) and disable them then? is there a hotkey??

5. sorry if there are questions the help would answer - i haven?t found a way yet to open the help file under vista.

best regards
Nina
Oleg Chernavin
12/25/2006 02:58 am
1. Please use IOEProject.SetURLFiltersList(OEUF_Disabled, ....) method.

2. This is possible. Please take a look at the Project Properties dialog - File Modification Check. The last modification check method is what you need.

3. This will not work this way - you can disable files per Project, not per all Projects at once.

4. You would better disable *.tar files in the Project Properties dialog - URL Filters - Filename. Selecting files by mask is added to the Queue only.

5. Yes, we are about to release the new version this week, which will be compatible with Vista (including the new Help file).

Best regards,
Oleg Chernavin
MP Staff
Uwe
12/25/2006 04:26 am
> 2. This is possible. Please take a look at the Project Properties dialog - File Modification Check. The last modification check method is what you need.

but will this also skip files i delete from disk? i don?t want my projects to download files again after i made a backup.

> 4. You would better disable *.tar files in the Project Properties dialog - URL Filters - Filename. Selecting files by mask is added to the Queue only.

but then they wouldn?t be saved at all, i think. but i want to save them once (and only once) and then move them out of the project folder.

> 5. Yes, we are about to release the new version this week, which will be compatible with Vista (including the new Help file).
this sounds great. looking forward for this.

Oleg Chernavin
12/25/2006 04:51 am
> > 2. This is possible. Please take a look at the Project Properties dialog - File Modification Check. The last modification check method is what you need.
>
> but will this also skip files i delete from disk? i don?t want my projects to download files again after i made a backup.

No. I would suggest you to use Map to disable them from downloading and then to remove.

> > 4. You would better disable *.tar files in the Project Properties dialog - URL Filters - Filename. Selecting files by mask is added to the Queue only.
>
> but then they wouldn?t be saved at all, i think. but i want to save them once (and only once) and then move them out of the project folder.

Sure. Download without that exclusion and then disable them.

Oleg.
Uwe
12/25/2006 05:38 am
> > > 2. This is possible. Please take a look at the Project Properties dialog - File Modification Check. The last modification check method is what you need.
> >
> > but will this also skip files i delete from disk? i don?t want my projects to download files again after i made a backup.
>
> No. I would suggest you to use Map to disable them from downloading and then to remove.

yes, thats what i did till now by hand - but its getting to much works as there are ~150 projects which i have to treat so.

i have so many projects because the files are loaded from one site where all files are in the same folder and i need to download different files into different folders on my disk. as the only way to do this in OEE (i think at least) is putting projects into different folders i made it like that.
(i can?t download all files in one project because the files cannot be sorted by their names after download)

> > > 4. You would better disable *.tar files in the Project Properties dialog - URL Filters - Filename. Selecting files by mask is added to the Queue only.
> >
> > but then they wouldn?t be saved at all, i think. but i want to save them once (and only once) and then move them out of the project folder.
>
> Sure. Download without that exclusion and then disable them.

but then new posted files with that extension won?t be loaded anymore - and thats not what i want either (sorry, forgot to mention that!)


regards!
Oleg Chernavin
12/25/2006 06:23 am
4. Yes, I agree. Then the only way with the *.tar files are to add them to the Disabled URLs and then move or remove.

2. You can use File | Templates to fill the Disabled URLs field of a template and then apply it to the exising Projects (only that list) - select Projects, right-click them - Apply Template.

Oleg.
Oleg Chernavin
12/27/2006 05:21 am
OK. You are welcome!

Oleg.
Uwe
12/28/2006 06:16 pm
i just played a bit with the method you mentioned first: project.SetURLFiltersList(OE.OEURLFilters.OEUF_Disabled, ...)

but while doing so i came to this problem:
for adding to the disabled url list i need first the complete online url. so i did this:

1. enter OEfolder (e.g. name = Project1)
2. get OEProject (e.g.
3. extract mapentries: url = (project.GetMapEntry(x));
4. convert to online url: url = OEM.OfflineToOnlineURL(url);

the problem is that the online url doesnt come out correctly.
instead of http:\\SERVERNAME.EXT\PATH\FILENAME.EXT
it looks like this: http:\\OEFoldername\SERVERNAME.EXT\PATH\FILENAME.EXT

so the foldername somehow gets inside the url. am i doing something wrong with the converting or is this a bug?

best regards
Oleg Chernavin
01/01/2007 07:06 am
I tried this code and it returns a correct URL. Maybe there is some unique folder/download directory combination? Maybe you have a subdirectory inside Download Directory, which is also used as a download location somehow?

Oleg.