Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

If I have this:

 

err = IFileSystem2_Open(pFS, pFilePath, FS_CAP_WRONLY FS_CAP_CREATE, &pFP);

 

Then it returns success if pFilePath is:

 

"fs:/~0x00ff1234/dump.xml"

 

(where ff1234 corresponds to my app's id)

 

However if I change it to

 

 

 

 

 

 

 

 

 

"fs:/~0x00ff1234/ASubdirectory/dump.xml"

 

Then it returns AEEFS_EINVALIDOPERATION.

 

Why is this?

 

(Calling  

IFileSystem2_Open(pFS,pFilePath,FS_CAP_RDONLY,&pFP);

with "fs:/~0x00ff1234/ASubdirectory/ ...." for an existing file works)

Does the ASubdirectory directory exist? I don't believe directories are created automatically (although I haven't actually used IFileSystem2 myself).

Does the ASubdirectory directory exist? I don't believe directories are created automatically (although I haven't actually used IFileSystem2 myself).

Yes it already exists, and I can read files from that location.

Yes it already exists, and I can read files from that location.