• SaharaMaleikuhm@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    python3 -m http.server
    It’s the only way I can send anything to my old iPad. Aside from straight up using some cloud service ofc. This is much faster tho.

    • A Wild Mimic appears!@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 days ago

      may i introduce you to LocalSend? Works on Windows, Linux, Mac, Android, iPhone/iPad; its FOSS, and uses a REST API and HTTPS encryption. It even has a portable mode, i use it in our Windows/Linux/Android/Steamdeck home and it works flawless and fast.

      • Luma@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        In theory, yes. But does it work out of the box? The files app that shipped with my android does not seem capable of opening a samba share. Conclusion: I would need an external app.

        And what about creating Samba shares? In my experience, creating a Samba share has been frustrating and cumbersome.

        Not exactly a one-click share solution. If you set it up and get it to work then great, but at that point I could just use KDE Connect.

        • Lv_InSaNe_vL@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 days ago

          iOS does actually support SMB out of the box, I am able to just navigate to my shares with no issues. But android does, I use an app called “Cx File Explorer” and it works perfectly fine.

          But I will admit, setting up and managing samba shares is cumbersome and requires quite a bit of know-how

          Funny enough though, I think windows actually handles SMB shares the best out of all of them. They’re actually super resilient and reconnect super fast.

          • Luma@feddit.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            3 days ago

            I didn’t know iOS supports it out of the box. Cool thatvit does though!

            I use Mixplorer on android which also supports SMB shares. Works well enough.

            And it would make sense that Windows manages it the best, SMB was, after all, microsofts invention as far as I know.

            One issue that I had to deal with because of that is that SMB doesn’t support all characters in file names that ext4 or btrfs do. There is a “work around” that replaces the ofdending characters with lookalikes you can choose, but it’s obviously not perfect and if you would have two files with the same file name but one has the invalid character replaced with a lookalike, I think samba would probably get confused because iirc, the protocol itself cannot transmit characters in file names that aren’t allowed in NTFS.

            Also when I set it up on my server, it caused me many frustrating hours of looking for why it doesn’t work only for me to find out at some point that the share needs a special SELinux flag. Setting up an NFS share worked out of the box with no SELinux shenanigans required. That’s why I’m still grumpy at samba.

            • Lv_InSaNe_vL@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 days ago

              Honestly I had to go and look up what issues people have had with SELinux because Ive only ever had issues on the remote computer when trying to access the share, but it looks like I’ve maybe just gotten lucky!

              I’ve hosted it on both a Raspberry Pi and with Ubuntu Server (maybe that’s the issue cause I use normal Ubuntu on my laptop?) and all it’s ever taken to set it up is just configuring the config file. Any permission issues has always just been because I didn’t set up file permissions correctly