referring to a file on the local network by name?

Bob Sneidar bobsneidar at iotecdigital.com
Wed Feb 5 22:47:50 EST 2014


So after thinking about it for a while, it seems you can enumerate the folders in /Volumes fairly easily. BTW, you should NOT be ending up with a folder called Joe-1 unless something has gone wrong with your connection while you were connected to Joe. No matter though. If there is a Joe and a Joe-1, any attempt to connect to Joe should fail, unless you actually have two share points legitimately named Joe on two different servers, in which case I need to come over and punk slap your IT person (assuming it’s not you). ;-)

Barring that, what you are seeing is a stranded dynamic link, which in theory should never happen these days. It *should* resolve itself upon reboot, but of course you cannot depend on the condition being optimal. What version of the OS are you running btw? I’ve seen this long ago, but I thought that Apple had fixed this. The Connect to Server option in the Finder should not be allowing you to make multiple simultaneous connections to the same share point. 

Bob


On Feb 5, 2014, at 11:10 , Dr. Hawkins <dochawk at gmail.com> wrote:

> Is there a "clean" way to refer to a shared file on another machine by name?
> 
> For example, on mac, the file central.local:/Users/joe/joesfile.txt
> 
> could end up in /Volumes/joe/joesfile.txt, or /Volumes/joe-1/joesfile.txt,
> depending upon how many times the connection had been made.
> 
> I can see hacky ways to parse the contents of volumes, but it would be nice
> to just be able to do things like
> 
>   put theList into url "file:central.local:/Users/joe/joesfile.txt"
> 
> or some such.
> 
> The context is that the client files and output should land on the server,
> not the local machine.
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list