P pjsmith Member Licensed User Longtime User Mar 16, 2011 #1 Hi, Sorry, beginner here! Looked through the documentation but could not find the answer. Can anyone point/give me an example of how to copy a file from a device to a standard password protected smb share, over the wlan? I can see file copy documentation, but nothing about authentication, etc.
Hi, Sorry, beginner here! Looked through the documentation but could not find the answer. Can anyone point/give me an example of how to copy a file from a device to a standard password protected smb share, over the wlan? I can see file copy documentation, but nothing about authentication, etc.
Erel B4X founder Staff member Licensed User Longtime User Mar 16, 2011 #2 One option is to have a small application running on the server and connect to this application with the Network library. Your other option is to implement the SMB protocol. Upvote 0
One option is to have a small application running on the server and connect to this application with the Network library. Your other option is to implement the SMB protocol.
P pjsmith Member Licensed User Longtime User Mar 16, 2011 #3 Ah, thanks. That's what I was afraid off! 'Implement the SMB protocol'! I was hoping there was already a library for this. Upvote 0
Ah, thanks. That's what I was afraid off! 'Implement the SMB protocol'! I was hoping there was already a library for this.
P pjsmith Member Licensed User Longtime User Mar 17, 2011 #4 Is there any way to use external libraries like this jcifs.samba.org/src/docs/api/JCIFS API ? Seems others have already done all the work. Be a shame not to be able to use it. Upvote 0
Is there any way to use external libraries like this jcifs.samba.org/src/docs/api/JCIFS API ? Seems others have already done all the work. Be a shame not to be able to use it.
Erel B4X founder Staff member Licensed User Longtime User Mar 18, 2011 #5 You will need to wrap it by creating a library. See this thread for more information about libraries development: http://www.b4x.com/forum/additional...es/6810-creating-libraries-basic4android.html Upvote 0
You will need to wrap it by creating a library. See this thread for more information about libraries development: http://www.b4x.com/forum/additional...es/6810-creating-libraries-basic4android.html
P pjsmith Member Licensed User Longtime User Mar 18, 2011 #6 Brilliant. Thanks. I will give it a go. Upvote 0