included inclusions

2020-09-25 Thread scott--- via use-livecode
If I have an inclusion selected in the standalone builder that only targets one operating system… and then build for an OS that can't use that inclusion, is the inclusion left out of the build or might it just be taking up space. Or does it depend on the specific inclusion as to how this is

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Richard Gaskin via use-livecode
The shell command "net use" should return a list of currently available network volumes. In LC: put shell("net use") -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Paul Dupuis via use-livecode
Well, at least you have a server to test it on. Thank you. I am trying to resurrect a Windows 2003 Server VM and a Windows 7 VM configured to have it's home directory on the server. I just got both to run (finally) yesterday and just (at the end of teh day today) figured out what the admin

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
After a little experimenting it appears that open file does not create a new file on OS X mount points! I can open a file that already exists but it will not create a new file. You learn something new every day! Bob S > On Sep 25, 2020, at 4:21 PM, Bob Sneidar via use-livecode > wrote: >

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
Hmmm. Neither does open file for read… Bob S > On Sep 25, 2020, at 4:20 PM, Bob Sneidar wrote: > > Even worse, if the mount point is mounted it does not create the file. > > Bob S > > >> On Sep 25, 2020, at 4:18 PM, Bob Sneidar via use-livecode >> wrote: >> >> Unfortunately, if it

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
Even worse, if the mount point is mounted it does not create the file. Bob S > On Sep 25, 2020, at 4:18 PM, Bob Sneidar via use-livecode > wrote: > > Unfortunately, if it fails no error is generated, and nothing is in the > result or the it variable. > > Bob SW > > > On Sep 25, 2020, at

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
Unfortunately, if it fails no error is generated, and nothing is in the result or the it variable. Bob SW On Sep 25, 2020, at 3:56 PM, Ralph DiMola via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On my Mac this form works to a Win 10 smb share put url

RE: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Ralph DiMola via use-livecode
On my Mac this form works to a Win 10 smb share put url ("file://volumes/shareName/folder/sub-folder/file.ext") Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Paul Dupuis via use-livecode
Thanks Bob, Yes, the error messages you get on a failed file open are pretty generic. I am thinking that whether Mac or Win, the key is to check for whether there is a folder: /volumes/mountpoint/ (osx) or //server/mountpoint/ (win) For a given path tPath, I can tell if it is a windows

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
QUALIFIER: this is in Livecode on a Mac. Mac mount points work differently than Windows. However using the form /volumes/mountpoint/folderpath/filename I get the simple error “Can’t open that file.” No detail about WHY I cannot open it. I can see how it would be helpful if the result contained

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
OK using your convention I cannot even open a file with the server mounted and an actual file that DOES exist! (//servername/mountpoint/pathtofile/filename) Bob S > On Sep 25, 2020, at 2:22 PM, Bob Sneidar via use-livecode > wrote: > > Have you tried opening the file then checking the

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bob Sneidar via use-livecode
Have you tried opening the file then checking the result? Bob S > On Sep 25, 2020, at 12:13 PM, Paul Dupuis via use-livecode > wrote: > > On 9/25/2020 2:42 PM, J. Landman Gay via use-livecode wrote: >> I know very little about Windows network addresses, but from the example you >> gave,

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Paul Dupuis via use-livecode
On 9/25/2020 2:42 PM, J. Landman Gay via use-livecode wrote: I know very little about Windows network addresses, but from the example you gave, I'd check to see if (slash-delimited) item 1 of the path is a single letter followed by a colon. Thanks for thought. In a Windows server

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread J. Landman Gay via use-livecode
I know very little about Windows network addresses, but from the example you gave, I'd check to see if (slash-delimited) item 1 of the path is a single letter followed by a colon. On 9/24/20 3:53 PM, Paul Dupuis via use-livecode wrote: This question may have an obvious answer, but I am brain

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bernard Devlin via use-livecode
>> So that in case (1) , we regenerate the file and in case (2) we present a warning that the server is disconnected or down? << For (2) you could save an empty file (as a flag of availability) and set it's attribute to hidden. If the file is not there when you get the files, then the folder is