qianbinbin / qianbinbin.github.io

https://binac.org/posts/
https://binac.org/posts/
0 stars 0 forks source link

posts/cross-compile-samba-for-ios/ #118

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

移植 Samba 到 iOS 平台 – Binac

https://binac.org/posts/cross-compile-samba-for-ios/

yakuv0 commented 1 year ago

Would it be possible to provide samba_4.0.8-0_arm64.deb by a download link?!

qianbinbin commented 1 year ago

Sorry, I didn't share the deb package since it's too buggy. The process of build is so annoying that I suggest substitutes like web-based file managers.

yakuv0 commented 1 year ago

Understandable, I’m actually looking for a CLI tool to connect to smb.

What substitutes, may you specify any for ios??

qianbinbin commented 1 year ago

Oh I thought you meant to set up a smb server in iOS. I'm not sure if there's any CLI tool, but why not take a look at GUI? There should be some in app store.

yakuv0 commented 1 year ago

Yh actually looking to connect to smb server and transfer files through CLI, there is a deb package available to use for jailbroken iPhones but it’s 32bit and won’t work or arm64 devices. Would you mind sharing the deb you have to test?! or more info on the bugs in general Really appreciate it

qianbinbin commented 1 year ago

Unfortunately I didn't keep that deb, my iPhone was broken too and I have't used iOS for years. I'm not sure if there're any CLI tools with ftp/sshfs/nfs support, but scp should always work.

yakuv0 commented 1 year ago

scp for smb server? Interesting! Will look it up. Cheers

yakuv0 commented 1 year ago

Another interesting approach using curl https://unix.stackexchange.com/a/474874

qianbinbin commented 1 year ago

Well, I mean you can set up a ssh server on your smb device, then in iOS use scp to transfer files from that. curl looks like a better choice since you don't have to make changes to your smb device.