How to access network drive in mac app ?

Hi All,
How to get the access to the file system of a networkdrive in mac app ? Let the shared path is
\\192.168.2.57\JPEG .
What are the apis use to connect to a networkdrive ?
I am using Lion OS and the server is a Windows Server running with smb services.
Please guide me.
<Email Edited by Host>

Thanks for your quick response.
I am using NSTask to execute the script
_localMountPath = @"/Users/pacs/Documents/Temp";
   NSTask* task = [NSTask new];
    [task setLaunchPath:@"/sbin/mount_smbfs"];
str = [NSString stringWithFormat:@"//Demo;Administrator:Password@[email protected]/0BF045A8"];
[task setArguments:[NSArray arrayWithObjects:str,_localMountPath, nil]];
    NSPipe *outputPipe = [NSPipe pipe];
    [task setStandardError:outputPipe];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(mountCompleted:) name:NSFileHandleReadToEndOfFileCompletionNotification object:[outputPipe fileHandleForReading]];
    [[outputPipe fileHandleForReading] readToEndOfFileInBackgroundAndNotify];
[task launch];
The problem here is password is having @ symbol inbetween .
The format is @"//Domain;User:Password@servershaedpath"
So the compiler is taking the path as "@[email protected]/0BF045A8" and not able to connect.
How to solve the problem of Passwordhaving "@" symbol inbetween.
Thanks

Similar Messages

  • How to access hard drive on mac pro desktop from laptop?

    I sold my Mac monitor and wireless keyboard. Now I want to sell my Mac Pro Desktop, but I need to wipe the hard drive first. How can I turn it on and access the drive from my Mac laptop?

    It will show up as a drive, you can just access the drives on the desktop provided you turned on disk sharing. You can't access the "desktop".. If you had previously turned on screen sharing then you could use that via network connection.
      If you can find the file that has preferences and then edit it then you can change to startup in Target disk mode. I do not know the file or how to edit it.
    GSC818 wrote:
    If I can start it from the button, then can't I connect to my laptop via firewire or Ethernet and would it show up as an external drive? Then I could change the startup disk in the preferences panel on my laptop. Would that work?

  • How to install hard drive into mac pro

    how to install hard drive into mac pro

    I recently bought a new 2TB internal sata drive for my Macpro.
    The installation was easy, but I'm not sure what to do next.
    For one, should I partition the drive?
    My purpose for buying the drive was to use it as my go to drive for Parallels. I used to run my music studio on Windows based machines, and my older project files require a windows OS to recover. I installed Parallels so I can have my studio running Mac and Windows programs which will enable me to access my old project files and take them into my newer Protools system.
    So now, I've installed my new hard drive, but I'm not sure if I should partition it....And!? I'm not sure how to designate that drive for my virtual pc on Parallels. I was able to allocate enough disk space to parallels in order to load my music software, but at this point, I'm not sure if I've just promised it disk space from my original partitioned drive (which only has about 350 GB left on it).
    I would love to be able to make one internal drive available for Parallels, and the other available for the rest of my OSX. When I use Parallels, I still would like to save some extra information on the 2TB drive as well from my dekstop running OSX.
    I hope this makes sense! Your help is much appreciated!

  • HT2534 How to access and install appstore free apps without providing credit card number because I do not have one?

    How to access and install appstore free apps without providing credit card number because I do not have one?

    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Step 3 is important, no matter whether you do this on a Mac or an iPad / iPhone:
    Important: Before proceeding to the next step, you must download and install a free application. ...
    Important: Before proceeding to the next step, you must download and install the free application by tapping Free followed by tapping Install App. ...
    To summarize, you must first download a free app from the App Store. When you are asked to sign in with your Apple ID, select "Create new account". Accept the terms and conditions checkbox, then click Continue. After you enter all the requested personal data, click Continue.
    When you are asked to select a payment method, select "None". 
    That's all there is to it.

  • How to access Icloud drive on Iphone (ios8) ?

    How to access Icloud drive folders on my Iphone with ios8 ?

    yugandhargali wrote:
    Access The data In iPhone
    Open the app with the data.

  • How to access virtual folder in oracle apps 11i?

    Hi,
    how to access virtual folder in oracle apps 11i?
    Version=11.5.10.2
    please help
    Thanks,

    I'd use BI Publisher (XML Publisher) Bursting.
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • How to reinstall applications purchased in mac app store

    how to reinstall applications purchased in mac app store

    Sign into your MAS account and go to the Purchased tab in the MAS. If the app is not installed on this particular Mac then there should be an Install button available for said app.

  • How to create apple id for mac app store without using credit card and there is no any option for payment none. please tell how to download free apps from mac app store

    how to create apple id for mac app store without using credit card and there is no any option for payment none. please tell how to download free apps from mac app store

    my problem solve by me
    first create apple id
    fill credit card details
    and complete your account creating  process.
    than go to app store or itune store
    login your acount
    click right side  - account button
    than again login for account setting
    next go to payment information and click edit button
    when u enter payment infomation
    click none button in payment method and click done button.
    than ur credit card has been removed.
    but rs. 60 will deducted in your account when u doing this process.

  • How do I find in the "Mac App Store" the authorize --my computer to do an upgrade on the newest imovie in Maverick? MacBook Pro 15' 10.9.2

    How do I find in the "Mac App Store" the authorize --my computer to do an upgrade on the newest imovie in Maverick? MacBook Pro 15' 10.9.2. Thank you!

    He shouldn't have done that. Now you have a pirated version of iMovie on your Mac that you will never be able to update. The MAS Terms of Use do not allow that type of sharing. His Apple ID is encoded in the copy on your Mac and you can't change that.
    Legally you should delete the app.
    Your Mac should have come with the iLife apps pre-installed, why did he do that?

  • How to take Auto backup from External Network Drive to Mac pro internal Dri

    Hi,
    I have a External Network Drive (Buffalo 1TB) which i use as a server, now i need to take auto backup from that external drive to the Mac i am working on, which has 2TB Internal hard Disk.
    Please could anyone help me on this.....
    Thanks in advance

    If you are looking to actually integrate what you have on the external one terabyte hard drive with the 2 TB hard drive you're using inside the Mac the best move for you if you want access to that data when using the Mac Pro server is going into utilities click on the top bar where it says go fall that down to the utilities told them that folder quickly once you are there you will see migration assistant click on that you will be asked to type your admin password to that. It will ask you "how do you want to transfer your information" then select from a Time machine backup or other disk when it asks you will be transferring information to your Mac Pro from your 1 Tb backup external hard drive once it's finished eject the drive or reformat it and use it again if your objective was to infect keep compress the data on the external so you have more space but do not have access to it I strongly recommend Carbon Copy Clone 3.3.1 is 100% free and does a fantastic job here is the link http://www.pure-mac.com/downloads/carboncopyclonerdl.html of copying every block to create an exact replica of your source hard drive. If you want something different and don't mind paying SuperDuper! is a great product as well this WebSite will have many options I would stick to carbon copy clone http://www.pure-mac.com/backup.html I also like EMC Retrospect backup and recovery software for the Mac it is a great product but very much on the expensive side for backup utilities although if you need word offers this might be right up your alley.
    I hope I wasn't help,
    Sincerely,
    Thomas

  • How can I change permissions to access network drive

    I change Cf user permission for I access and upload my network drive documents(for using a cffile action="upload"). I need to add permission on the network.How change my Cf access my authority.http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSf01dbd23413dda0e-2c56ae6b11fae6200 fe-8000.html
    I couldn't not to it.This isn't enough information.Could you be helpfull?

    The user associated with the service credentials needs to have permission to use the drive in question. You will also have to access the drive using its UNC - \\serverName\serverShareName\directory\...
    By default, the CF service uses a local system account as its login credentials. You'll need to change this to an actual user account.

  • Power outage, and now can't access networked drive

    Hi,
    Hope someone can help with this. Recently, we had a power cut. When everything came back on, the PCs on out network, and the macs with OSX had no problem loggin into our Buffalo TeraStation, accessing the share folder, and seeing the files. However, two macs still on OS9 can connect as quests, can see the share folder, but it shows up empty (zero items)!
    Any help would be most gratefully received.
    Cheers,
    Kev.

    Hi,
    Thanks again for all your help, but unfortunately, still no joy. Oddly, both Macs can see and connect to the buffalo drive; and can see files and folders on there, except for the one folder that contains our backups. Again oddly, I created another folder on the drive (called it backup two) and the macs can see it and, when I transer some of the files from the original backup folder into the new one, they become visible to the two OS9 macs! Of course, I could just copy all the files frmo the old backup to the new one, and all would be well, but, (a) it would take ages, (b) some of the files won't copy over for some reason (c) we wouldn't know how to fix the problem should it recur.
    Again, any help would be gratefully received.
    Cheers,
    Kev.

  • How can I download lion from Mac app store in recovery mode on an imac?

    I bought a mid-2007 imac from a friend, who the computer was working perfectly for. When I went to start up it wouldn't start up (past the gray screen) from the regular HD no matter how many tricks I tried (resetting SMC, PRAM, etc), so I went in to recovery mode. I verified and repaired the disc more than once (even though it said it was fine), and tried to reinstall lion from the online recovery function but it said "item temporarily unavailable." I basically tried every combo of things possible before erasing the HD but nothing worked, so then I decided to erase the HD.
    SO that happened, and now I can still boot up in recovery mode and it -seems- like if I can find a way to reinstall lion (which was the last os running), I may be back in business.
    however, see the problem with "item temporarily unavailable."
    I decided to purchase it from the Mac store online on a different device and it says it will email me a link in 1-3 business days (really??! That long to save me with an EMAIL LINK???), and my thought is that maybe I can log in to my email from the safari window and download it that way. I'm just afraid that I won't be able to access the Mac app store if that is where it downloads from.
    Ultimately, I'm trying to avoid a trip to the Apple Store because this thing will be a nightmare to lug on public transportation. My questions for you are as follows:
    - how likely do you think it is that I'll be able to successfully download lion from the email link in recovery mode?
    - Do actual discs with lion exist anywhere in the wide world? If so, how can I get one?
    - would it be worth it to grab an old lion usb stick from amazon?
    - is there ANY other way to reinstall lion or install a new os on this thing without physically taking the computer anywhere?

    What a silly company , i have the same exact problem with my macbook pro and i've checked every topic that mention this problem and they didn't solve it .

  • Finder crashes when accessing network drive

    We have four macs on our network. When trying to access a volume on our network drive Finder crashes. The drive is accessible via FTP as well as From Windows Machines. Its only on Finder that we are having the problem. Everything use to work.
    Im on an iMac, my Finder totally spazes out. Blinking off an on. On another system it just crashes. On the other two systems it just won't access the drive & Finder closes.Just started today.
    If anyone know what this is please help!

    Hi Barry,
    Thanks for the suggestion. Unfortunately I did buy diskwarrior on my way home, ran it a few times. No success. It did identify problems it couldn't fix with a lot of the files that were in my suspect folder (a font folder) but since I can't access the files directly on my hard drive I can't get rid of them.
    I did follow your suggestion, but all that it did that I can see was scatter my folders on the desktop.
    Yet, while typing this, I just found a creative way to solve the problem!!! I was able to access the font folder in Bridge even though I couldn't access it otherwise. I deleted it in bridge and now things are working as normal!!! Thank God for Bridge. Amazing. Especially since that font folder has been on this machine for months, and the previous machine for years without ever causing a problem...

  • Enabling OC4J to access networked drives

    Does anyone know how to enable the application server to access files on a mapped drive?
    If I use standalone it can see the network drives but the application server cannot.
    Anthony

    I am having the same issue. I have a connected drive that is in the sharing prefs that people cannot see, but another drive that is connected that ISN'T in the sharing preferences CAN be seen.
    There certainly seems to be some sort of issue here...
    I'll let you know if I find any further information. Thank you... should be so simple...but.

Maybe you are looking for

  • Xdb_installation_trigger does not support object creation of type SNAPSHOT

    hi everyone, i'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit on solaris sparc 5.10 we like to send an email through SSL, and after searching here and there I found out that oracle DB 11g able to go throught the SSL. since

  • Imac to Ipad Air

    I now have been able to load my photos from my IPad2 to my Imac - but now if I buy an Ipad Air how can I download those same photos to the new IPad?

  • Color Labels No Longer Available in Bridge

    I recently lost my computer and had to upgrade to Windows 7 64bit.  I also had to install CS2 first because my upgrade path is from CS2.  I now have CS4 installed.  The problem is that I can no longer label an image in Bridge by color.  The imgaes I

  • N82 Completely Crash, Please HELP!!

    Hi everyone, My N82 is completely crash and I do not know how to fix. I never dropped this phone and never used messily. Because I love this phone since I got it. I tried all possibility to fix. To take out SIM and SD. To reinstall the firmware. I gu

  • How create a mixedcolor in javascritp

    Below a segment of my scritp but there is an error in the assignment of colors try{ myDocument.colors.item("doublecolor").name; catch (myError){    myDocument.mixedInks.add({name:"sbalzooro", model:ColorModel.MIXEDINKMODEL, space:ColorSpace.MIXEDINK,