rejetto forum
May 25, 2012, 06:40:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Cancel or disconnect downloads  (Read 1168 times)
0 Members and 1 Guest are viewing this topic.
Chrisp6825
Regular poster
**
Offline Offline

United States United States

Posts: 20


View Profile Email
« on: November 20, 2008, 09:26:24 PM »

Hi, I've been trying to find out if there was a way i could add a button or link next to a download in the progress window to disconnect or cancel the download...

like this:



So when you click the disconnect link, it closes the connection on the download.
I've tried to make that link point to a hfs.diff.tpl file with the macro {.disconnect.} in it, but it just closes the connection to that page, not the download.

The reason I'm doing this is because some computers I've connected to my website from, when I cancel a download and check the progress page, it's still downloading. I tried to close the browser to see if it was secretly downloading it, but when I opened it back up and checked, it was still downloading.. And after a few downloads, others start to use up too much bandwith and slow down.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #1 on: November 21, 2008, 06:26:31 AM »

I like your try.
But with the current build you can't do it.
In next build this should be working (i hope): {.disconnect|%item-ip%|%item-port%.}
I'll update wiki documentation soon.
Logged
Chrisp6825
Regular poster
**
Offline Offline

United States United States

Posts: 20


View Profile Email
« Reply #2 on: November 21, 2008, 06:38:46 PM »

Oh, ok.
So any idea how or if your going to let us use this if we dont know the item-ip or port?

I was thinking of something like, %download1-ip%, %download2-ip%, %download3-ip%, and so on...
But I'm not so sure if it would work so well like that. I bet you probably already have it all figured out though..
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #3 on: November 22, 2008, 06:27:37 AM »

In the while the new build has been published.
the suggestion i gave you should be working, why you need something different?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 01:30:01 AM