The original post: /r/seedboxes by /u/umdwg on 2025-07-11 15:50:10.

i’ve been stuck on this issue for the past two days and nothing i can do can get it work

when I login to lftp manually by entering “lftp username@domain” and then entering my password manually i’m able to connect and everything works great

i’m trying to automate my lftp to sync my downloads from my seedbox

so I wrote a script that basically does lftp -c “open --user username --password password” etc with all of the appropriate commands after that

manually, lftp works like a charm and is much faster than rsync

but when I try to pass through commands using lftp -c or lftp -e it will sometimes connect, sometimes not, but it will never actually start downloading any of the files and it will eventually time out

so tldr is that lftp works but passing through the commands in bash causes connection issues