Jump to content
Server Maintenance This Week. ×

ListAllFilesInDirectory returning blank


This topic is 1432 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

ListAllFilesInDirectory had been working great in the past. Now it appears returning blank, even though other ScriptMaster functions appear to work. I am running under MacOS Catalina 10.15.4. Under FileMaker Pro Advanced version 18.0.3.317. I am calling the function with the following, as an example: /Macintosh HD/Users/djswatski/Documents/Doug Books and Short Stories/Short Stories/

Attached is my ScriptMaster log file.

Any help would be greatly appreciated. This is a huge win to be able to programmatically use this to analyze files and I really want to get this working again.

Thank you.

-Doug.

360Works_ScriptMaster_FMAdvanced.log

Link to comment
Share on other sites

  • 3 weeks later...
  • Newbies

So, I had called this with a bad path, so it returned empty. I had used the FileMaker get Directory function and had the system drive on the front of the path. I used the ScriptMaster.fmp12 application provided by 360Works to manually troubleshoot the path name and then fixed that in the code. Path fixed, all solved.

Link to comment
Share on other sites

This topic is 1432 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.