OPENDIR() using a cifs file system mount
Nancy Palmquist
Nancy.Palmquist at vss3.com
Thu Jun 13 14:34:50 PDT 2019
Fellow Filepro users,
I have run into an issue using a Linux version of filepro 5.0 and we
store historical data on a cifs mounted device. FilePro needs to read
the filenames and move the files to permanent storage based on some
information.
So generally the files are dropped in a tmp folder, filepro uses
OPENDIR() to get an array with the file names, we lookup the order and
then move the file to an archive folder based on the looked up info.
This worked great until the drive failed and we had to replace it.
cifs mount on the Linux side was setup the same. I added commands to
the mount to set the owner, group, file modes and directory modes. I
setup the drive as Read/Write. I can export a file into the TMP
folder. I can use SYSTEM "ls -l TMPFOLDER" and get a directory listing.
But aa=opendir("*.xml",TMPFOLDER) returns 0 files (There are a few
hundred in the folder)
Any ideas?
I expect the NAS device we had to put in place in this emergency is not
functioning correctly. It is WINDOWS based and the one that crashed was
LINUX based.
Is there something else I should be checking before I reprogram the
logic using another method than OPENDIR()???
Nancy
--
Nancy Palmquist
Owner
Virtual Software Systems - www.vss3.com
(412) 835-9417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190613/e51487bc/attachment.html>
More information about the Filepro-list
mailing list