#1 Burning Software

It is currently Thu Dec 19, 2024 5:08 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Adding files is slow in DataBurner
PostPosted: Mon Dec 01, 2008 9:37 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Hello Support,
Thank you for your reply. Taking the newer build.

I have one query related to DataBurner class.
I am using DataBurner class of VB.NET.
Through a sample program on click of a button I am adding some files from a particular folder there are 9000 files in a folder & I am adding 6000 out of them by using addFile() method in a for loop.
But after adding almost 3500 files. The addFile() method becomes slow & as a result remaining files require more time than first 3500 files. Time required is so large, almost 2-3 times than previous. Is it so that problem or limitation of DataBurner class.

Even I was observing DataBurner sample of VB.NET for the same issue.

But While adding more than 2000 files at a time by using OpenFileDialog I am getting error for some files that file not found. But files are there on file system. If I am adding less than 1200 files those gets added.

One more thing,
The changes related to newer version are not updated on website are they? Can we get the change log and added features list.

Please kindly reply.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 01, 2008 9:51 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello

1) The DataBurner has no any special limitations for adding files/folders, except the limitations of the ISO 9660 file system !

2) Concerning to the "AddFile" problem...we will investigate this problem ...in a few days!

Many Thanx!

Dmitry Bortsov

Rocket Division Software


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 01, 2008 10:16 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
If you're adding 100% unique files (like sucking them from the hard disk) you may turn collision detection OFF. It will speed up file adding process dramatically!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 03, 2008 6:50 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Hello Support,
Thank you for your instant reply.
May I know How to turn OFF the Collision detection. If that will improve file addition speed then it's great.
Waiting for your reply. Thank you in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 04, 2008 1:25 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello,

You can turn off the Collision detection using the StarBurnSDK only :( .. The StarBurnX does not populate this functionality now but we will add this functionality to the StarBurnX in the next update!

Regards,

Dmitry


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 5:04 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Hello Dima,
How can I avoid addition of files with same names.
Ex. If I have already a file 1.txt then if again I am going to add that file then I want to avoid adding the newer one.

Through DataBurner I am getting event NAME_COLLISION, but can't stop adding file or folder. Can we stop addition of them any how? How to achieve that.

It's urgent waiting for your reply.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 12:08 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Probably handling name collision (doing rename or replace) is better idea then simply ignoring.

deepakp wrote:
Hello Dima,
How can I avoid addition of files with same names.
Ex. If I have already a file 1.txt then if again I am going to add that file then I want to avoid adding the newer one.

Through DataBurner I am getting event NAME_COLLISION, but can't stop adding file or folder. Can we stop addition of them any how? How to achieve that.

It's urgent waiting for your reply.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 12:13 pm 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Thanks for reply.
Hello Dima,
OK. We have decided that to rename the duplicate files. So how to do that.

We are getting an event in which AddingFileName is ByRef variable but modifying that is not directly reflecting changes to object which is newly added. How to achieve that.

StarBurn itself is renaming by current time & date, I want that as "Copy Of filename" like windows does. Is that possible.

I want so because for a file having name more than 90 characters it may exceed limit of 107 chars.

How to use the 2 Return types STARBURN_NAME_COLLISION_SOLUTION.STARBURN_NAME_COLLISION_RENAME_NEW & STARBURN_NAME_COLLISION_SOLUTION.STARBURN_NAME_COLLISION_SKIP_NEW

Even I am not getting STARBURN_ERR_FILE_NAME_DUPLICATION Error also.

Is my query clear to you or should I explain in deep.
Waiting for reply.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 08, 2008 7:07 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello

1) Unfortunately the current version of StarBurnX use only the STARBURN_NAME_COLLISION_RENAME_NEW mode. We will modify the StarBurnX ( in few days ) in order to add supporting the other COLLISION modes.

2) Ok, we have modified the Rename algorithm! I hope it will be possible to download new update tomorrow.

Regards,

Dmitry


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 10, 2008 9:41 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Hello Dima,
It's urgent !!!
Is the newer build patched with discussed changes.
I downloded newer build. I think now the working is ok. The repeated file is not added to current dataFile. But though it is not adding the existing file, it is returning the value of dataFile as file is added.

Please reply.


Last edited by deepakp on Thu Dec 11, 2008 5:42 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 10, 2008 12:23 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello,

The patched version of StarBurnX allows:
1) to skip the conflicted files (folders);
2) to set custom names for the conflicted files(folders);

We will notify you when the patched version of the StarBurnX will be ready for download!!!

Regards,

Dmitry


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2008 2:35 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello,

The update is ready ... you can download the patched version of StarBurnX from the next link link was removed

Notify us about the any problems with current patch!

Regards,

Dmitry


Top
 Profile  
 
 Post subject: It's Urgent !!!
PostPosted: Mon Dec 15, 2008 5:26 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Got the newer build.

But how to skip same files being added. I got the event and caught that in by function dataBurner_OnNameCollision(ByVal ExistingFilePath As String, ByVal AddingFilePath As String, ByRef AddingFileName As String).

But here to a ByRef variable AddingFileName if I am setting a name say Copy Of (filename) then it is directly reflecting in object in object it gives previous conflicting name adds by that name only.

How to do this? Am I wrong in anyway so just correct me.

Waiting for your reply.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 15, 2008 8:05 am 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello,

So..

1) If you want to skip the conflicted file/folder you should return the STARBURN_NAME_COLLISION_SKIP_NEW value!!

2) If you want to rename the conflicted file/folder you should:
- set the new value for AddingFileName;
- return the STARBURN_NAME_COLLISION_RENAME_NEW value;

Note: if the AddingFileName will not be changed in OnNameCollision handler then the StarBurnX will rename the file/folder automatically by adding the Date_Time postfix!!

Regards,

Dmitry


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 15, 2008 10:29 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
Hello Dima,
Thank's for instant reply.

That's what I tried to do. But the changes made in the event Handler function are not directly reflected in object while addition. After addition of file it leaves it's original name as that can be observed from the object dataFile returned. So whether anything else is to be done in addition to do this.

Waiting for reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 54 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group