EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Directory.Delete + recursive

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 07/03/2011 08:48:58
by Pol R (Basic support level)
Joined: 06/22/2011
Posts: 10

I'm using the VDisk sample and I'm trying to do the following test:
Create folder
Create and close X files.
Delete the folder from C# with the recursive flag.

When X <= 36 everything works fine.
When X > 37 I'm getting "Directory not empty" exception and there are still files left in the folder ,
From looking on the callbacks it looks like the enumeration stop after 36 files and then restart again but maybe it is too late or something.

The behavior is repeatable , are you familiar with that behavior?

P.S if I'm trying to delete the files one by one everything works OK.

Posted: 07/05/2011 11:57:45
by Pol R (Basic support level)
Joined: 06/22/2011
Posts: 10

Any progress?
Posted: 07/05/2011 16:16:17
by Volodymyr Zinin (EldoS Corp.)

Hi Pol,

Sorry for the delay.
The VDisk example isn't stable enough. It was made as simple as possible just to illustrate base features of CallbackFS.
Of course we will check the problem and correct the sample, but it's better to use the Mapper sample for "complex" tests.



Topic viewed 998 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!