PDA

Click to See Complete Forum and Search --> : Who hates Go!Zilla ?


Jul 5th, 2000, 10:51 AM
Hey!

I'm making a download program (like Go!Zilla, NetZip, GetRight, etc)...except that mine runs on a remote server over a LAN...interested?

The idea is that when you click on a link in Internet Explorer/Netscape the client version of the program intercepts the download, ships it off to the server machine which does the download for you (therefore not lowering you machine's bandwidth) and when the download it complete the browser copies it back to your machine :) Cool huh?

What I need to know is: How do you grab a download from IE/Netscape?

LaXkId842
Jul 8th, 2000, 09:28 PM
Well, one way is to open the html file and search for all links with file names in them:

(a href="http://members.xoom.com/someuser/somefile.exe")

of course replace the ( and the ) with < and >. I just used ()'s because I didn't know if it would turn that into a link.

Jul 9th, 2000, 09:00 AM
Yeah...I can do that but I wouldn't know when the person was trying to download something and which link they had chosen....with GetRight and Go!Zilla they know when u click a link in internet explorer/netscape and automatically "steal" the download from the browser...how?

I think I maybe able to do it by mucking around with the file associations/mime types in explorer...but i'm not sure :)

Crypt
Jul 9th, 2000, 07:43 PM
that would be cool iprogram f only you could get it to detect the mouse click on the link , this is a pretty useless reply lol cause I don't know how to do it, but is their an api to detect the cursor change? because the cursor changes over when the mouse is moved over a link, and maybe you could detect the cursor change event (if there is an api for that event) and then start the download when you detect the mouse click after that, but that would be pretty buggy.

Another way you could do it but it would be alot harder is to basically map out the page inside your program so your program can tell exactly where the links are then detect the mouses position and then when it clicks on a certain area of the screen (where your program has detected the mouse to be) start the download process, but then if the page had scroll bars and didn't just fit on your screen like most pages do that could be a problem.

sorry I haven't been much help I can't really think of a real clean way to do this in vb

like you said there probably is a file association you could change to do it, but it would be a bugger finding the right file association you need to change.

Jul 10th, 2000, 04:01 PM
Yeah, tell me about it! :(

I've done quite a bit on the server part of the program...it's happily listening in for download requests and when it gets one (from Telnet at the me! :) )...off it goes... :)

As for the client...an this problem...I'm gettin lost - not to mention bored! What was it you were saying about giving up on projects before they are finished? ;)

Crypt
Jul 10th, 2000, 07:56 PM
lol yeah I can never finish a project well a large one, I do if it is a small program, but when its something large I get bored with it, and end up chucking it in, like whatson (the cool name you thought up for my program :) )I am bored to hell and back with that, I just can't keep my focus with large projects, something comes along to take my intrest more (this time it was filling in online forms to create accounts, with the inet control, which I am now bored with) and its always after I have got the hardest part coded.

you should keep with this project it would be cool if you could just work out how to get the links clicks, this is just a thought it probably won't work probably just a bug with getright, but when I highlight a link in html and copy it using ctrl+c, getright thinks I am trying to download that .exe or .zip or whatever and asks me if I want to start downloading, the chances are this is just a bug, but maybe (very slight chance here), that when you click on a link it is copied to clipboard and then quickly after the data might be link on the clipboard might be replaced with
what was already on there (but I bet it is just a bug with getright or getright has that option to do that I haven't seen where to turn it off lol), but it would be cool if that was the case, make your job a lot easier just to watch the clipboard.

btw what languages are getright and gozilla programmed in do your know?.



[Edited by Crypt on 07-10-2000 at 10:46 PM]

Jul 10th, 2000, 08:59 PM
lol yeah I can never finish a project well a large one, I do if it is a small program, but when its something large I get bored with it

lol, you too? Sometimes I finish it, I can finish small projects. But usually, toward the end or at least 75% point, I get bored and it just sits in the "MyVb" Folder ;].

Jul 11th, 2000, 05:02 PM
Erm...dunno...prob VC++ (I think ppl deliberately use that because it's harder and more impressive :) )

That bit about the clipboard intregues me...might have to install clipboard viewer for that one :). And I thought that software was useless :)

Jul 11th, 2000, 09:51 PM
I got an idea. You are stumped on making links being detected. Why not just make a dragdrop form. When the user drops the links on it, it will start downloading.

Cyberprog
Jul 12th, 2000, 04:51 AM
Try looking in the registry for referances to Go!Zilla. It may be parsing something from ie to it.... or you could ask the people who made go!zilla... you might be able to sell your idea to them.

send me the client and server when you've finsihed!

alex@cyberprog.co.uk

Jul 12th, 2000, 05:16 AM
More to the point, they might nick the idea...I was going to get a working prototype made then patent it :) don't think I'll get that far tho :(

I have considered the drag and drop idea...might make a form that floats or maybe a tray icon... even considered a lil button on the titlebar that you drag likns on to :)

Jul 22nd, 2000, 04:36 PM
I didn't look at this example yet, but the author says you can get the Internet Explorer text that the mouse it over. I assume you can copy it to the clipboard and check if there is a certain extension to it so that it will download. Here you go:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=9962

Crypt
Jul 22nd, 2000, 05:24 PM
this is interesting
getright is in this registry key:
HKEY_CLASSES_ROOT\vslfile\shell\open\command
a shell command could that be what you are looking for?
HKEY_CLASSES_ROOT\vslfile
^^ the default for that is Download List File, so maybe I don't know test it out and see if it works.

Crypt
Jul 22nd, 2000, 05:29 PM
sorry to get your hopes up :( that doesn't work, I renamed the content in it to the path to my psp exe lol and it didn't open paint shop pro also take a look in this directory
HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Viewers

there are alot of getright entries in there

Jul 23rd, 2000, 05:30 AM
Cheers, Crypt... I ain't got netscape tho, so that key won't exist. :(

To tell ya the truth I've got bored of this project. :(
Have been given some mad database driven website to do at work. (tis meant to have accounts for all the employees of some chemical company and give them exams/assessments to do and report their progress back to various managers and what not). That's taking up all my time at the mo so me lil download server's been pushed onto the back burner :(

Hey! :) You could sign my guestbook on my website if you all fancied! That'd cheer me up :) www.mralston.co.uk (http://www.mralston.co.uk)

[Edited by matthewralston on 07-23-2000 at 06:32 AM]

Crypt
Jul 23rd, 2000, 05:43 PM
lol ok I'll sign it don't know what to say though lol, btw whatson is up to beta 1.7 now lol (will I ever get all the bugs out).

Jul 23rd, 2000, 05:57 PM
Cheers, Crypt... I knew you'd sign it. :) I just looked at my guestbook outta curiosity, and...there you were! :) As you can see it really does need a few more visitors. :D Like the smilies?

Ooh...1.7 :) Let me at it!!!!
Ah, yes, but where...only seems to be ISU versions 1.2 to 1.5 on XOOM. :(

Crypt
Jul 23rd, 2000, 06:06 PM
lol I haven't uploaded 1.7 because that beta testers post for whatson seemed to sink to the bottom of the pile lol. not much is new in 1.7 just 4 bugs fixed, error handling in most subs, and you can save the list ohh and yeah you can now search for all words or any of the words in the string and it now has a crummy html help file lol there is more in that version than I thought. ok I just uploaded it
http://members.xoom.com/else57jdvq/W1.7.zip
still needs more bug fixes though.