PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: [KATZ]ice on 19 December, 2004, 18:12:51

Title: Hub filetransfers
Post by: [KATZ]ice on 19 December, 2004, 18:12:51
ok, some ppl said to me, it can't be done, i said there has to be a way

becuase all file transfers are started by clicking the user in the hub, so the command of starting goes through the hub, so it should be scriptable

hope someone finds me right, becuz i don't know all for sure :P

ooh, and if it isn't posible tell it to me then plz

Cheers ICE
Title:
Post by: Herodes on 19 December, 2004, 18:21:51
well you are right ...
the user interface ( what you refer to as 'clicking' ) orders your client to send $ConnectToMe or $RevConnectToMe  protocol command to the hub ...

That should initiate a transaction between two clients ...

Yes it is scriptable ... but what is it that you want to do in the place ? :)
Title:
Post by: [KATZ]ice on 19 December, 2004, 18:41:33
well, this way i can see if ppl who join do something or not, and if so whom of my 4 sources  (4 remote locations) they are downloading from, itz also nice so see what is being downloaded, so it can be seen for how long approx. a slot is going to be taken (i know the size of files)

Cheers ICE
Title:
Post by: bastya_elvtars on 19 December, 2004, 19:36:30
QuoteOriginally posted by [KATZ]ice
well, this way i can see if ppl who join do something or not, and if so whom of my 4 sources  (4 remote locations) they are downloading from, itz also nice so see what is being downloaded, so it can be seen for how long approx. a slot is going to be taken (i know the size of files)

Cheers ICE

only the download request can be seen, the others are pure client-client things... that's why it's called Direct Connect.
Title:
Post by: [KATZ]ice on 19 December, 2004, 20:57:22
seeing what transfers are started is enough

Cheers ICE
Title:
Post by: bastya_elvtars on 19 December, 2004, 21:35:47
QuoteOriginally posted by [KATZ]ice
seeing what transfers are started is enough

Cheers ICE

you can only see that they are started.
Title:
Post by: [KATZ]ice on 19 December, 2004, 21:43:16
so i'll be able to see who started a transfer too who?
becuz that'll be enough

BTW , thx for all the help you ppl gave me already

Cheers ICE
Title:
Post by: Herodes on 19 December, 2004, 22:34:46
QuoteOriginally posted by [KATZ]ice
so i'll be able to see who started a transfer too who?
yes u r right ...
Title:
Post by: VidFamne on 19 December, 2004, 22:37:12
IMHO, you can only see that one "peer" tries to connect to another "peer".
Correct me if I'm wrong.
Title:
Post by: [KATZ]ice on 19 December, 2004, 22:48:58
ok, but can i see if the connection starts/suceeds?

cheers ICE
Title:
Post by: n1ck on 19 December, 2004, 22:57:49
Correct me if im wrong - but wouldnt that just suck all the bandwidth out of your hub?
Title:
Post by: [KATZ]ice on 19 December, 2004, 23:03:40
it would?, why?

Cheers ICE
Title:
Post by: VidFamne on 19 December, 2004, 23:19:32
>>HERE<< (http://wza.digitalbrains.com/DC/doc/Introduction.html)  is some interesting reading about the DC-protocol.
Title:
Post by: [KATZ]ice on 19 December, 2004, 23:28:47
rite, but what i make off it is that it can be done, and i can even how big the file is that is being requested...

Cheers ice

BTW, how to put that in a scirpt?
Title:
Post by: VidFamne on 19 December, 2004, 23:39:01
It can not be done.
Title:
Post by: [KATZ]ice on 20 December, 2004, 00:05:59
hmm, ok, thx too all for your input

Cheers ICE