Lucee 220.127.116.11 running on a Centos 8 instance trying to figure out how to connect to smb shares. Coming from Windows/Coldfusion the following simple code was being used to get a directory file count.
<cfdirectory directory="//10.10.1.100/share" action="list" name="getRP" sort="name DESC"> <cfoutput> getRP.recordCount: #getRP.recordCount# </cfoutput>
Obviously this does not work on linux/lucee since unc is a windows function. Can someone guide me on how to make this work with smb? I’m unable to find any documentation or examples.
Also I should note that I want to avoid setting up local mounts to the network shares.