lovedaddy
unread,Nov 8, 2008, 4:12:24 PM11/8/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rssdler
Hey all, is there the functionality to skip downloading or writing a
torrent file if the file its about to download already exists.
Example, got a config file with...
[thread1]
download1 = this_series1
download2 = this_series2
download3 = this_series3
[thread2]
download1 = this_series1
download2 = this_series2
download3 = this_series3
I've got what I want to download in both threads, incase one of the
sites doesn't have it. However, if I set noClobber to true it creates
a .1.torrent file if both threads had the torrent. (and as it goes
into my watched folder it gets quite messy), but as I read it, if I
set noClobber to false it will overwrite the .torrent from the second
site if they both have it.
Is there a way to just skip the download if the file already exists?
Or is there a better solution. I was looking in the class findNewFile
to possibly hack something in, but seemed a bit nasty to do an
os.exist or whatever and then dump the file.
Thanks in advance.