Thanks ... It worked (/Volumes/{name of disk as it appears in the Finder}
)RegardsAbhijeet Original message From:Nick Zitzmann n...@chronosnet.com
Date: 14 Dec 10 12:38:27Subject: Re: How to read a text file over a networkTo:
Cc: cocoa...@lists.apple.comon Dec 13, 2010, at 10:12 PM, Abhijeet
You should check out NSFileManager to see if you can simplify your read methods
- specifically the contentsAtPath: method.
Then decode the data from the file using the appropriate encoding.
Once you've figured out what the URI for the file is, you can use NSFileManager
again to fetch it, using
On Dec 13, 2010, at 5:54 AM, Abhijeet Singh wrote:
Hi,I am new to Mac. In my application I have to read a text file (say
file1.txt) from a user defined location/path. User defines this filepath in
another text file (say file2.txt). My program first reads file2.txt and gets
the path of
On 13 Dec 2010, at 4:54 AM, Abhijeet Singh wrote:
My question is if user wants to define some network file path then:How to
define a network file path? (I tried keeping file1.txt over a network and
define its path as given in Get Info panel in file2.txt)How to read a file
over a network?
Hi,I think the type of server is AFP. Because the file path displayed by Finder
is: afp://Priyanka Mac.afpovertcp.tcp.local/shared/file1.txt.But if i put the
same file path in my file2.txt my program fails to open file1.txt file.
Abhijeet Original message From:Nick Zitzmann n...@chronosnet.com
On Dec 13, 2010, at 10:12 PM, Abhijeet Singh wrote:
I think the type of server is AFP. Because the file path displayed by Finder
is: afp://PriyankaMac._afpovertcp._tcp.local/shared/file1.txt.
But if i put the same file path in my file2.txt my program fails to open
file1.txt file.
That's