Execute auto upload after complete

Suggest, post, or discuss plugins for Deluge
ludothegreat
Member
Member
Posts: 12
Joined: Tue Oct 26, 2010 7:08 am

Execute auto upload after complete

Post by ludothegreat »

I've been searching for a way to do this for some time without any luck. I know about rsync and other syncing applications, but do not want to sync my folders. I simply want to upload the completed files from my seedbox to my media server. My only limitation is that I can not install any new software on my seedbox, but I can use SSH, FTP and possibly a couple other things that I'm not even aware of. My media server is a Windows Home Server box and my seedbox is Debian Linux. Is there a way to do this? I'd like to hear any and all suggestions. The more detail the better as I am not very comfortable in linux these days.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Execute auto upload after complete

Post by Cas »

You have installed deluge on your debian box? There is the execute plugin that can run on completed torrents or you could mount a windows share on the debian box and simple use 'move completed' and point it to that mount.
ludothegreat
Member
Member
Posts: 12
Joined: Tue Oct 26, 2010 7:08 am

Re: Execute auto upload after complete

Post by ludothegreat »

It's installed on a seed box. No way to mount my windows box :/
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Execute auto upload after complete

Post by johnnyg »

Do you have samba installed on your seedbox?
Simplest would be to use smbclient to upload the files to your windows box.
ludothegreat
Member
Member
Posts: 12
Joined: Tue Oct 26, 2010 7:08 am

Re: Execute auto upload after complete

Post by ludothegreat »

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.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Execute auto upload after complete

Post by Cas »

I think all you need is a script to run at a set interval (30min) on your windows box that would ssh/ftp to the seed box and checks a folder that the seed box moves completed downloads into and transfers them. Some backup software may even do the job as you would be essentially mirroring a remote folder.
ludothegreat
Member
Member
Posts: 12
Joined: Tue Oct 26, 2010 7:08 am

Re: Execute auto upload after complete

Post by ludothegreat »

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 able to dump new files/folders from my seed box to my media box once ever couple of hours with out syncing or mirroring that would be great. I'm Not good enough with rsync or the other tools that might me able to do this. Which is why I started asking about the execute plugin.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Execute auto upload after complete

Post by Cas »

To use the execute plugin you will need to be able to create a script that can be executed on your seed box.

Going back to using a backup program doing an incremental backup is probably what you need then.
ludothegreat
Member
Member
Posts: 12
Joined: Tue Oct 26, 2010 7:08 am

Re: Execute auto upload after complete

Post by ludothegreat »

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.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Execute auto upload after complete

Post by Cas »

You could create a simple python script using ftplib. Read the wiki and ftplib example for some help.
Post Reply