dbTalk Databases Forums  

PSQL V8.5. Rename secured file with an URI.

comp.databases.btrieve comp.databases.btrieve


Discuss PSQL V8.5. Rename secured file with an URI. in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
martin
 
Posts: n/a

Default PSQL V8.5. Rename secured file with an URI. - 07-21-2004 , 07:53 AM






I want to rename a secured data file under V8.5 through the
transactional interface. I used to do this with OS rename function,
but under security I can't use this, because I don't have OS access
rights. Instead I want to use URI's.

I found somewhere there is an undocumented/unsupported option in the
B_CREATE command that accomplishes a delete/rename operation through
the transactional interface. This is done by specifying 0x80 (delete)
or 0x81 (rename) in the key number parameter of the B_CREATE call.

Now the delete function works under security. I can specify the
file-to-delete with an URI and the transactional engine deletes the
file.
I can't get the rename to work however. I get status 178 or 175.
Does anyone know if this works ? If so, how do I specify the
rename-from and rename-to names in the B_CREATE call. Can I use URI's
here ?

Martin

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.