Search found 12 matches

by ludothegreat
Fri Nov 05, 2010 1:30 am
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

Thanks for the heads up. Running a daemon on my window server isn't a big deal. The Linux stuff is where I'm rusty. S/ftp, scp, and rsync I know are all installed on my seedbox. This is what initially got me asking questions in the first place. The one thing i was leery about was how to automate the...
by ludothegreat
Fri Nov 05, 2010 12:11 am
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

ssh will not allow passwords from scripts, for obvious security reasons, so the only way is to create a ssh key and put it on the seed box and host an ssh daemon on your windows box with cygwin. scp <source> <destination> e.g. scp $torrentname user@192.168.0.1:/home/user/destdir ($torrentid is not ...
by ludothegreat
Thu Nov 04, 2010 10:07 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

I'll give it a shot, thank you a ton for the help! I've also been looking at other protocols to use. SCP seems to look pretty handy, but what syntax to use in order to get the right files is where I'm getting confused. Is this what I want to do in order to transfer the files/folders via SCP? scp -r ...
by ludothegreat
Thu Nov 04, 2010 8:52 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

so something like this: #!/bin/bash ftp_site=myhostname username=myusername passwd=mypass torrentpath=$1 PS3='Select a destination directory: ' # bash select select path in "." "public_html/" "public_html/myblog/" "backup/images/" do ftp -in <<EOF open $ftp_si...
by ludothegreat
Thu Nov 04, 2010 6:59 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

That bash script is exactly what I need. My only question is if $1 will only upload the files/folders that just finished per the torrent or if it will dump everything in my "completed" dir? #!/bin/bash ftp_site=myhostname username=myusername passwd=mypass PS3='Select a destination director...
by ludothegreat
Thu Nov 04, 2010 6:21 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

Bash I am more comfortable with. Thanks for both the links!
by ludothegreat
Thu Nov 04, 2010 3:58 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

Cas wrote:You could create a simple python script using ftplib. Read the wiki and ftplib example for some help.
Heading off to work, I'll check out the links there. Thanks!
by ludothegreat
Thu Nov 04, 2010 3:33 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

Cas wrote:To use the execute plugin you will need to be able to create a script that can be executed on your seed box.
Thats why I'm here. To see if anyone has anything that can do that.
by ludothegreat
Thu Nov 04, 2010 2:53 pm
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

Appreciate the suggestion. I am familiar with plenty of syncing and mirroring software out there, but that is not what I want to do. If sync or mirror, I need to keep the files in each folder at all times. My media box gets sorted daily and it would just end up creating a big mess. Even if I was abl...
by ludothegreat
Thu Nov 04, 2010 5:25 am
Forum: Plugins
Topic: Execute auto upload after complete
Replies: 21
Views: 14721

Re: Execute auto upload after complete

No samba. Also the seed box is in Sweden and I am in the US. FTP and SSH are the two ways I can think of using... no clue how to get it to work though.