Hello All,

Currently I’m running SFTP from my Seedbox to my Plex server (Ubuntu) via a Windows 10 machine with SMB. It’s fine, though a little slow. The speed I can deal with, but I was hoping to automate this process. Are there any decent, free FTP clients out there that can periodically search my seedbox for new files and automatically upload them to my Plex server? Is there a better way than using SFTP?

This is my first run at this and I’m looking for any insight you folks may have to offer. The goal here is to be able to make a request in Ombi and have it appear in my Plex without any interaction when the transfers complete.

Side note: I’m so happy to have found this community. I’ve gained so many insights already.

  • liliumstar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Setup an rsync systemd job & timer on your plex server. I think that’s be the most efficient method. Can also use a cron job if you’re more comfortable with that. Either way, the rsync would be a one liner unless you have to map different source and destination directiories.

  • Samstone@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Add a cron entry on your Ubuntu server.

    0 4 * * * rsync -r user@seedbox:folder/ /my/plexfolder
    

    This would sync the folder on seedbox to the /my/plexfolder every night at 4am.

    Ensure that you have set up password less authentication with ssh keys.

  • SLIME@lemmy.fmhy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    You can leverage scheduled tasks to execute a command that would sync your SFTP. I don’t know what that is on PC, but there must be something like Cron for Windows. I’m on my phone right now, but feel free to dm me for help. Maybe we can trade plex invites.

  • Mac@federation.red
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    If you are regularly syncing things you should set up sonarr/radarr. If you use these to organize your library and perform your downloads (using prowlarr/jackett/rss as an indexer). The *arr apps would be hosted locally and you’d connect your seed box download client to them. More information can be found in the docs for each, but the *arr apps would perform a file copy/move after the download completes. Then Plex would just pick that stuff up automatically along the way

  • richdotward@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I use bitsync to transfer files from my seedbox to my home network. The app itself is years old, closed source but just works.

    Theres versions for arm, windows and Linux.

    Use it via windows 10, Ubuntu 20lts currently but did also use the arm version on my wd mycloud and multiple arm based boards like raspberry pi 2, pi 4, orange pi pc and cubietruck.

  • Toribor@corndog.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I take it your seedbox is hosted externally and your Plex server is hosted internally on your home network?

    You could set up a cron job on your Ubuntu server to run periodically and pull files from your completed downloads folder using scp. You’ll want to set up an ssh key for authentication to do this.

    Edit: I changed my mind about recommending scp for this But yeah you should just do sftp from the terminal on your Ubuntu server using a cron job. Both of these should be fairly manageable with a bit of trial and error.

    Stopping the torrent and removing it from your list will depend on what torrent client you’re using.

  • beemee@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Have a look into rsync. Can’t remember exactly how I set it all up now, but it runs every night and syncs from my seedbox to my NAS.

  • Bldck@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I agree with using rsync.

    Open a screen then use something like this command:

    rsync -arvzip --progress {$remote}:/path/to/remote/files /path/to/local/files
    

    If you are using a different port for SSH, you’ll need to pass an option like -e 'ssh -p 12345'