• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Accessing SMB shares
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing SMB shares


  • Subject: Accessing SMB shares
  • From: Bertrand Landry-Hetu <email@hidden>
  • Date: Wed, 17 Oct 2001 22:27:37 -0400

Hi all!

I'm trying to rewrite a client/server tool my employer uses internally that
comes from the Windows platform. Unfortunately, whoever wrote it a few years
ago had the idea using the Window Networking file system to communicate
between the client and the server (sigh).

Anyway, I wrote the application in cocoa and it works great! Except that I
was hoping to tap in the 10.1 feature that connects to SMB shares since the
application depends on hard coded paths on the network.

All of my ideas have failed so far. I tried creating a NSURL that points to
the file I want to open and open it. The NSData I got from there was nil. So
I manually mounted the drive and created a file URL that points to the file.
Again it returned nil. I even tried save an alias to the file and while it
did mount the shared disk it did not find the file again.

So my question is, has anyone been able to access data from a SMB share from
a Cocoa app? And how exactly did you do it?!

Thanks!

Bert!


  • Prev by Date: Re: AppKit doesn't honor "Untitled" document handling - why?
  • Next by Date: Peer to Peer NSConnection
  • Previous by thread: Re: AppKit doesn't honor "Untitled" document handling - why?
  • Next by thread: Peer to Peer NSConnection
  • Index(es):
    • Date
    • Thread