Tue Aug 16, 2022 10:21 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.

STD vs lib_fileservices

Topics specific to the use of the ECL IDE

Tue Jan 27, 2015 7:51 pm Change Time Zone


The code I am looking at calls FileServices.RemoteDirectory.

In class I was introduced to the STD libraries. Now on the Alpha_Dev_Thor repository I find no STD library. However, I have found lib_fileservices. It does have a FileServices.RemoteDirectory.

Question 1: Why don't I see a STD library? Is this only with the Version 5?

In the documentation there is a STD.RemoteDirectory. It is like this:
STD.File.RemoteDirectory( machineIP, directory [ , mask ][ , includesubs ] )

In lib_fileservices there is the following:
dataset(FsFilenameRecord) RemoteDirectory(const varstring machineIP,const varstring dir,const varstring mask='*',boolean sub=false) : c,entrypoint='fsRemoteDirectory';

Question 2. Is this the same thing? It looks very similar, but appears to be calling a .so program if I am reading the documentation properly. If not, where is the STD library?

Don Baggett
Posts: 93
Joined: Wed Dec 24, 2014 3:36 pm

Tue Jan 27, 2015 8:08 pm Change Time Zone

Question 1: Why don't I see a STD library?
The Standard Library is only in Open Source environments, not legacy pre-OSS environments.

Our ECL classes are taught using Open Source environments because the legacy system is deprecated and will be discontinued at some point.
Question 2. Is this the same thing?
Yes, it is the same function.


Community Advisory Board Member
Community Advisory Board Member
Posts: 1619
Joined: Wed Oct 26, 2011 7:40 pm

Tue Jan 27, 2015 9:29 pm Change Time Zone

Thanks for your quick and informative response.

Posts: 93
Joined: Wed Dec 24, 2014 3:36 pm

Return to ECL IDE

Who is online

Users browsing this forum: No registered users and 1 guest