reading a file on server from client

I think I may have seen references to this topic in an earlier version of the forum but now I cannot find it.

However what I want to do is to be able to read a file that is located on the server side when executing a Servoy method on the client.
My problem is that I can easily find the directory and file when in developer but I need to do the same when in client mode.

More specifically I would like to be able to find the Servoy application server directory in order to then find and read the servoy.properties file (or whatever the properties file has been specified on the Servoy startup). Even more specifically I want to be able to read and then parse the DB Server entries to find the connection names the actual driver name etc. (I already have the code working fine to parse the properties file once having the file contents into a test string - that was the easy part!).

So the generic question is: how to access the file on the server that is located in the Servoy start up directory. Do I need for example to have some clever server side plugin/method/application etc? Or do I somehow scan the Servoy Repository for that information (not knowing the schema of course!).

Hints are welcomed if not the real answer!
Cheers,
Tom

I think it2be has a plugin that allows a SC to do serverside file system operations.

Paul

For sure :)

It is the free (as in free to use and advertise as much as you like) Tools plug-in.

The Server Object in the tree is where you should look.

:D

Thanks for the replies. I shall try out the Tools plugin.
I am interested in the technique of accessing the server side information (stuff not in a database). I had thought that this DBServer info would be available as a Servoy function/method/Object. I wonder if version 4.0 is different than 3.5.x in this area.
I think the approach to take is to use a URL connection/resource and read the file that way. Of course I still need to know where the server is!
Regards,
Tom