We`ve tried to delete project files without deleting project itself (a project for downloading a site, which is managed by us), then we`ve modified few files on it and afterwards we`ve restarted the project download, but the modified files were not downloaded (actually there was no action at all).
Thanks in advance
Best regards,
Oleg Chernavin
MP Staff
Can you explain how the OEE works when the project files were deleted ( without deleting information about them ) and user wants to download only new and modified files? If I am doing something wrong, it will help me to understand it and do it properly.
Thank you.
Oleg.
I`ve just tested deleting files with storing info about them. I`ve found an interesting thing - this mechanism doesn`t work when the folder`s location is marked as "default", but when I point the location of folder to any another directory, it works perfect.
But I didn`t find any way to do the same trick (delete project files without deleting information about them) via OLE. Is there any to do it?
Thank you
http://www.metaproducts.com/download/betas/oee2322.zip
You can now use IOEProject.DeleteFiles method. It has one integer parameter. Set it to 1 to create such database about deleted files.
Oleg.
I`ve just tested a new version of OE. And faced a problem: deleting files works perfect, but when I try to update project, or download missing files - nothing happens. The only one type of download that works is "restart download" :).
And another feature - I`d like to export files of project, before deleting them. When I write something like:
Project.Export("C:\\somefile.zip", 1, 1, 1, 1, 0, 0);
Project.DeleteFiles(1);
The file "somefile.zip" contains just "content.html". But using just
Project.Export("C:\\somefile.zip", 1, 1, 1, 1, 0, 0);
saves the project files into "somefile.zip".
What should I do to import project files before deleting them? (using "Sleep(TickNum)" is problematically, because the size of sites varies greatly )
Thanks for youe attention.
Regarding the site update - can you please give me more details on how to reproduce this?
Oleg.
Thank you, that is it.
> Regarding the site update - can you please give me more details on how to reproduce this?
Ok, that is what I`ve tested:
I`ve downloaded a site, delete its files ("yes" when OE asked me whether I want to download this files again) and tried to update it. nothing happend at all. It is very curiously, because yesterday, the same sequence of operations gaved the desired result.
Originally, I`ve performed the same sequence, but had to delete files via OLE - project update didn`t worked.
> Oleg.
Oleg.
It was set.
And when i said "nothing happened at all", I meant that download hasn`t even started. As if I didn`t push any button - no reaction at all.
Oleg.
Oleg.
No affect after restatring program and no messages in Log.
> Oleg.
Oleg.
>
> Oleg.
Reboot didn`t changed the situation
Oleg.
>
> Oleg.
Hallo Oleg!
I am waiting a new version of OE since this monday. Did you forget about me? :)
Andrey.
http://www.metaproducts.com/download/betas/oee2328.ZIP
Start the download. You should have the oe.log file after that. If it is small, please post its contents here. Otherwise, please zip it and send to support@metaproducts.com.
Thank you!
Oleg.
>
> http://www.metaproducts.com/download/betas/oee2328.ZIP
>
> Start the download. You should have the oe.log file after that. If it is small, please post its contents here. Otherwise, please zip it and send to support@metaproducts.com.
>
> Thank you!
>
> Oleg.
Well? thats it is. I had to download a site, deleted its files and tried to update it or to load a missing files.
ds1
ds2
FMGroup=1
FN=E:\Offline Explorer Data\DB\P7292.dat
False
ds1
ds2
FMGroup=0
FN=E:\Offline Explorer Data\DB\P7292.dat
True
ds20
ds21
ds22
ds23
ds24
ds25
ds26
ds1
ds2
FMGroup=2
FN=E:\Offline Explorer Data\DB\P7292.dat
True
ds20
ds21
ds22
ds23
ds24
ds25
ds26
E:\Offline Explorer Data\DB\P7292.dat
E:\Offline Explorer Data\DB\P7292.idx
E:\Offline Explorer Data\DB\P7292.blb
to support@metaproducts.com ?
Please zip the files before sending. Something is wrong with the database.
Oleg.
What`s about my problem?
Oleg.
>
> Oleg.
I sent the letter again. Did you get it?
Oleg.
Oleg.
Oleg.