Closed vkhristenko closed 6 years ago
Hi,
any chance to have any response on this ?
just to reiterate, i want to be able to write a simple app to read from eos storage. let's say i have a custom binary file
thanks a lot!
VK
Hi Viktor,
You only need to use the xrootd-client to interact with EOS. The handling of authentication be it Kerberos or GSI certificates is done by the xrootd client. Through the XrdCl::File and XrdCl::FileSystem interfaces form xrootd you can read/write and query for different information directly EOS.
Hope this helps. Cheers, Elvin
Btw, there is no specific eos-client, it all uses the xrootd-client underneath, even the eos console uses that.
Elvin
Hi Elvin,
ok! thanks a lot! I just thought that you already had some kind of hello world to get started from.
i will take a look at the console in that case!
thanks!!!
VK
Here you have examples on how to use the XrdCl::File interface to read/write. You just have to set the proper URL to point to the instance you like. There are more examples in the same directory: https://github.com/xrootd/xrootd/blob/master/tests/XrdClTests/FileTest.cc
thanks a lot once again!!!
Hello!
Is there any documentation regarding how to compile a simple project that would use an eos client. Suppose I have and do the following:
I apologize for asking if this already exists, but from your repo that is not quite clear
Thanks!