Get file via command line from SMB share

Has a server fire. I'm moving an old legacy application to a mac until these old programs can be re-written.


Having an issue:


exec("/usr/local/bin/smbclient -I 10.1.2.2 //MD-WHS-2/PHASER -N -c 'get RECEIVING.DAT'") worked on the old bsd box to move a file to the server.

I'm having trouble getting the folder to mount, let alone move the file to the mac.


mount -t smbfs -v "//guest@10.1.2.2/PHASER" /Volumes/MDWHS2


was attempted - failed.


mount_smbfs: server connection failed: Unknown error: -5996 is result.


I'm not at all sure what I'm doing. Any advice appreciated.


running XAMPP on osx 10.7.5.


Thanks in advance.

iMac, Mac OS X (10.7.5)

Posted on Aug 9, 2013 2:54 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Get file via command line from SMB share

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.