Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 19 AUG 2020 09:52:57AM Nick Stevenson wrote:

Hi

We are using the RTI_OS_DIRECTORY function with the GetAttributes method to get the Modified Date and Owner of a file.

This works fine for some users, for others it returns a null in both requests.

When it's working, the time taken to get these attributes in a folder of say 60 files is around 30 seconds.

When it's not working, the time taken in the same folder is around 5 seconds. So it looks like something is saying do not even go there.

I have to resort to the dir() function to get the date and time, but there's no other way I know of to get the owner.

There may be some permissions problem for the failing users but we can't find it - that in itself is worrying because we cannot rely on the function to reliably return a result when needed.

Any ideas?


At 21 AUG 2020 11:31AM D Harmacek wrote:

Back in May 1, 2008 I found a post "Get_Extended_Attributes" from Bob Carten. It has served me since then to get the "Dimensions" of image files. Perhaps it will help you.

Works forum - see lastmost post

Dave Harmacek - Harmacek Database Systems - near Boston, MA USA

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/59ca94893846e44092ae13775a6af693.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1