site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Microsoft-Entourage/11.0.0.040405 On 27.10.2004 12:21, "Van Vlierberghe, Steven" <SVV@esko-graphics.com> wrote:
( Strange also is: if I mount the same volume (with same credentials) with the Finder (Go-Connect to Server-Address smb://trapcd039/JobContainer), then I can copy onto the share using the Finder. )
Can somebody explain, or better, does anyone has a tip how to solve this ?? Why does the Finder think that the share is not writable ? (it should Think Differently)
I'd try mounting the volume in a different way - by sending a "mount volume" Apple Event to self (or Finder, if the former doesn't work in Java). I'm afraid that I don't have any sample code for Java, but I used this form C++, and it worked.
mount volume: Mount the specified AppleShare volume (defined in: StandardAdditions.osax) mount volume string -- the name or URL path (starting with afp://¹) of the volume to mount on server string -- the server on which the volume resides [in AppleTalk zone string] -- the AppleTalk zone in which the server resides [as user name string] -- the user name with which to log in to the server; omit for guest access [with password string] -- the password for the user name; omit for guest access
This is a bit scary, because the only documented protocol is AFP, but it works :). Still, this feels safer than executing /sbin/mount_smbfs.
PS: I am only an occasional Mac developer: if this is the wrong mailling list, can someone point me to the appropriate one ? Thanks.
For my solution, applescript-users or applescript-implementors would be somewhat more appropriate, not sure about your question :) - WBR, Alexey Proskuryakov _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com