kolyvan / kxsmb

KxSMB is objective-c wrapper for libsmbclient (samba.org) lib.
BSD 2-Clause "Simplified" License
287 stars 97 forks source link

It does not downloading files from imac osx > 10.8.2 #1

Closed James24 closed 11 years ago

James24 commented 11 years ago

I have tried to download a files. It working fine. I can able to browse files and download it from windows and linux but it failed to download the files from Mac.

kolyvan commented 11 years ago

Sorry, but now I have not time to investigate further the problem with macosx and smb. As I know Apple changed the smb module in macosx 10.8, and maybe problem is here.

kolyvan commented 11 years ago

I tested the downloading file from macosx 10.7 share, and it's worked. Also I fixed a potential problem that could cause a trouble with downloading in example app. Sadly I unable to check on macosx 10.8 since I have not any installed mountain lion.

James24 commented 11 years ago

ok thank u :+1: the following things happening repeatedly: Unable to open configuration file "/private/var/mobile/Applications/C8BD4346-2AD4-4DC0-8803-716F821F8CE6/.smb/smb.conf": No such file or directory params.c:OpenConfFile() - Unable to open configuration file "/Users/mac/tmp/iphonelib/samba/etc/samba/smb.conf":

I tested in my ipad, How to fix it.

James24 commented 11 years ago

How to delete the file instead of downloading? is there any snippet

kolyvan commented 11 years ago

Look at libsmbclient docs. There are smbc_unlink_fn function for deleting files

Johnpaul2013 commented 11 years ago

Yeah. Mac OS X 10.8.2 files not downloading. The folders are browsable but the files not downloading. Please give any solution of the bug.

kolyvan commented 11 years ago

You may google a lots of articles about problem with SMB and 10.8. It seems that SMB support was broken in mountain lion.

ZeroLeroy commented 10 years ago

@James24 : I also got the "OpenConfFile() - Unable to open configuration file "/private/var/mobile/Applications/DBD979FA-F7BE-4093-AE83-18734E3709AC/.smb/smb.conf". How did you go about to fix this?