Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connect to Server smb path containing :139 resets / kills Finder



At 16:14 -0500 21/1/08, Daniel Brieck Jr. wrote:
When I try to open "smb://danielbr@delloptiplexgx1:139/My%20Documents" 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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Connect to Server smb path containing :139 resets / kills Finder (From: "Daniel Brieck Jr." <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.