Re: Connect to Server smb path containing :139 resets / kills Finder
Re: Connect to Server smb path containing :139 resets / kills Finder
- Subject: Re: Connect to Server smb path containing :139 resets / kills Finder
- From: Quinn <email@hidden>
- Date: Wed, 23 Jan 2008 12:50:57 +0000
At 16:14 -0500 21/1/08, Daniel Brieck Jr. wrote:
When I try to open
"smb://danielbr@delloptiplexgx1:139/My Documents" using the
Connect to Server option under the Go Menu in the Finder, the
Finder resets.
:139 is one of the port number for SMB (along with the more modern 445).
I'm not sure why FSCopyURLForVolume is adding :139 to the URL. I'd
consider that to be the default port number, so there's no point
adding it (just as you wouldn't add ":80" to an HTTP URL).
Regardless, the Finder shouldn't crash when you feed it a URL with a
port number. That's clearly a bug. Please file it.
<http://developer.apple.com/bugreporter/>
At 16:14 -0500 21/1/08, Daniel Brieck Jr. wrote:
The later is how it is displayed in the get info panel in the Finder
of the associated disk, so it is not clear where the :139 is coming
from.
I was curious about that too, but it seems that the Finder has code
to explicitly remove the port number from the URLs that it displays.
That is, it gets the volume URL using FSCopyURLForVolume, extracts
the bits that it wants to display, and constructs a URL string from
that.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden