Re: POSIX paths query explained better
Re: POSIX paths query explained better
- Subject: Re: POSIX paths query explained better
- From: Doug McNutt <email@hidden>
- Date: Wed, 8 Oct 2003 10:46:29 -0600
At 17:03 +0100 10/8/03, Steve Thompson wrote:
>
So, what I need is a way of doing "exists" on a volume that isn't mounted in the Finder. Can someone point me in the right direction?
Volumes are mounted or not by the system. "Mounted in the finder" is not properly descriptive.
The shell scripting tools and commands like "test" or "[,space,stuff,space,]" are not going to work on an unmounted volume.
How about ftp or http? FTP has commands for checking readability and existence. HTTP has a HEAD request. Trying such and looking at the failure or success codes can get data from an unmounted server if it has standard open ports. If the server operates something like Apache you could even write a simple CGI script which would run there and check for a named file passed as a parameter.
AppleScript sent for execution on an unmounted server. I don't think so, but I do run Apple's HTTP "daemon" on my 8500 running MacOS 9.1 which runs a predetermined AppleScript on receipt of an HTTP request from a Linux box. It returns a status in the HTTP header it sends back.
--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.