LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-16-2008, 05:38 AM   #1
stromdal
Member
 
Registered: Jul 2007
Location: Sweden
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
Move DL'ed files (bittorrent problem)


I've set up a dedicated download box using Ubuntu and Torrentflux. This machine's only task is to DL files; it is not supposed to be a file server. Instead, I want to move the DL'ed files to my network file server (also an Ubuntu machine) - or rather; I want my file server to fetch the files from the DL server. Although I am new to Linux I believe a cron job using NFS would do the trick, but the finished DL's are stored in the same directory as the incomplete DL's, so I am uncertain about how to proceed.

The thing I want to do, I suppose, is to have a cron job running on the torrent box comparing the DL'ed file (zip, avi or whatever) to the SHA1 hash code contained in the .torrent file. If the two hashes match; move the file to a "Finished" directory. Once the files have been moved I bet it's a simple job to get the file server to fetch the files from the BitTorrent box via NFS or Samba.

Changing BitTorrent service to XXX is not an option; the main feature of TorrentFlux is that I access it via a web interface from anywhere - my main computer, my laptop or even at work (don't tell my boss). I'm gonna check out TorrentFlux-B4rt, maybe that client has the feature I want built-in, although I doubt it.

One note: for security reasons I have chosen to put the bittorrent box on a DMZ and the rest of the network behind a firewall. If security was not an issue I would simply put the bittorrent service ON the file server.
 
Old 08-16-2008, 08:54 AM   #2
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
mldonkey also has web-interface and (AFAIK) it moves downloaded files to separate folder. So you can automate task using cron, but without calculating hashes.
 
Old 08-16-2008, 10:53 AM   #3
stromdal
Member
 
Registered: Jul 2007
Location: Sweden
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ErV View Post
mldonkey also has web-interface and (AFAIK) it moves downloaded files to separate folder. So you can automate task using cron, but without calculating hashes.
Thanks for the tip, I'll check it out!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 12:01 PM
Bittorrent files where are they? riba43 SUSE / openSUSE 5 11-13-2006 11:13 AM
How do I move files without overwrite exitng files? nadavvin Linux - General 10 11-03-2006 02:49 PM
Opening bittorrent files lowpingnoob Linux - Newbie 19 06-14-2005 04:59 PM
Just dl'ed Mandrake Linux 8.1 I need help on installing/setting up. Thanx! StlthMd Linux - Software 2 09-16-2001 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration