5 ms·
The protocol you want is SMB. Windows has first-class support (obviously); but Samba gives Linux and BSD support that, in modern Desktop Environments, is exact
by derefr 10y ago
The protocol you want is SMB.
Windows has first-class support (obviously); but Samba gives Linux and BSD support that, in modern Desktop Environments, is exactly as good. Mobile devices don't tend to have OS-level support for it, but there are very good libraries to enable individual apps to speak the protocols (look at VLC's mobile apps.)
Even Apple has given up on their own file-sharing protocol (AFP) in favor of macOS machines just speaking SMB to one-another.
Yes, it's not workable over the public Internet. Neither is FTP, any more. If you've got a server somewhere far away, and want all your devices to put files on it, you're presumably versed with configuring servers, so go ahead and set up a WebDAV server on that box. Everything speaks that.
- astrodust 10y ago> Mobile devices don't tend to have OS-level support for it... Yeah, nope. Dead out of the gate. Thanks for playing.
- derefr 10y agoMobile devices don't tend to have OS-level support for anything, though. The GP comment: > FTP clients are native to every popular OS, from Android to Windows (only exceptions I know are Win Mobile and iOS) To rephrase: only 1/3 of mobile OSes support FTP.
- ReverseCold 10y agoNo one uses Windows mobile, that comment was hardly fair. Pretty sure Android is 80%+ share.
- astrodust 10y agoAnything web-based works fine on the phone. FTP and SMB do not. Not working on iOS is like saying "Oh, this road doesn't work with German made cars. That's not a big deal, is it?"
- derefr 10y agoBut we're talking about picking a thing to replace FTP for the use-cases people were already using FTP for. It doesn't matter if it doesn't do something FTP already doesn't do, because presumably you were already not relying on that thing getting done.
- astrodust 10y agoFTP is used to exchange files, a task that HTTP/HTTPS and/or email and/or IM and/or XMPP and/or Skype and/or Slack and/or a hundred other services can do just as well if not better.
- kevin_thibedeau 10y agoMore like German made cars have been artificially limited so they can't use certain roads.
- comex 10y ago...But it does work on iOS. It's just not built in. For example, Transmit for iOS supports FTP, and includes a document provider extension so you can directly access files on FTP servers from any app that uses the standard document picker. https://panic.com/transmit-ios/ https://panic.com/transmit-ios/ Searching the App Store I also see some apps for SMB, but I don't know whether they have document provider extensions.
- astrodust 10y agoYou can also send faxes from iOS. What's your point?
- comex 10y agoThe post I replied to implies that iOS is (somehow) "artificially limited" to be unable to access FTP - or at least I interpreted it that way. FWIW, I'm not convinced that "web-based" is a better alternative for read/write file access, assuming you mean file manager webapps. No OS can integrate those into the native file picker, so you can't avoid the inefficiency of manually uploading files after changing them. WebDAV works pretty well though, if that counts...
- kalmari 10y agoeven mobile windows/ios/android have ftp and variants support via software but not native.
- voltagex_ 10y agoIs there a way to tune SMB to work better over low bandwidth / high latency links? The last time I tried it through a VPN it was working at less than 10kb/s
- sk5t 10y agoAFAIK no, other than increasing frame size, CIFS is more or less an inverse latency gauge. I wonder if GP is pulling our legs about WebDAV. Yuck.
- mschuster91 10y ago> The protocol you want is SMB. Uh, hell no. Never ever I'd expose a SMB server to the Internet. SMB is really picky when the link has packet loss or latency issues, plus the countless SMB-based security issues. > Even Apple has given up on their own file-sharing protocol (AFP) in favor of macOS machines just speaking SMB to one-another. TimeMachine still depends on AFP.
- 4ad 10y ago> TimeMachine still depends on AFP. No, it doesn't: https://developer.apple.com/library/content/releasenotes/NetworkingInternetWeb/Time_Machine_SMB_Spec/index.html https://developer.apple.com/library/content/releasenotes/Net...