Because onedrive doesn’t let me share an anonymous link with someone else (the owner of the onedrive account is public to anyone accessing a onedrive link), I’d like to find a workaround for that.

I thought of the ugly solution below (which is not complete, so I’m looking for help) but I’m interested in any other solution that can help me not disclose my onedrive identity.

I’ll call the component that I’m looking for “X”.

So I thought of something like this: the person I want to share files with connects to my machine (using X) where they can list and download the files I have hosted on overdrive. For that, my machine has rclone installed and configured, so it’s able to fetch the requested files from onedrive to my machine. X can use rclone to list and download files from onedrive and then to deliver those to the user. X can be an abstract FTP like server which uses rclone instead a file system. Or can be a web server that uses rclone, or… anything…

Are you aware of anything that can solve this puzzle?

  • 8-16_account@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Sounds very doable. I’d suppose could, as you say, just use an ftp server. Simplest for everyone is probably just setting up a simple HTTP server with Python:

    python3 -m http.server -d /your/rclone/path
    
  • MasterChiefmas@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    X can be an abstract FTP like server which uses rclone instead a file system. Or can be a web server that uses rclone

    You literally just listed 2 ways to do exactly what you are asking. Why would those not work?

    Ohhh…are you not mounting the remote? You know you can do that right, mount an rclone remote? If you mount the remote, it’ll just show up as a file path to your system, and you can just serve it via whatever server you like.

    The trick here might be if you are running under Windows, getting other user accounts/system services to have access to things can take some fiddling, depending on how you set things up.