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
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
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:
>
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
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
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
runrev.com] On Behalf Of
Paul Dupuis via use-livecode
Sent: Friday, September 25, 2020 6:24 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: Accessing files on a local network file server - BEST PRACTICE?
Thanks Bob,
Yes, the error messages you get on a failed file open are pretty gene
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
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
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
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,
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
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
>>
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
14 matches
Mail list logo