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.

  • Samstone@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    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.

  • liliumstar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.

  • 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'