Computer Science Canada

Dowload Pauser

Author:  recneps [ Sat Jan 24, 2004 10:29 pm ]
Post subject:  Dowload Pauser

Can turing download files? and if so, would it be possible to make a download pauser? I'm really tired of having to dload large files, just to have my comp crash or something like 5 mins before they done :\

Author:  shorthair [ Sat Jan 24, 2004 10:45 pm ]
Post subject: 

Turing canot direct download a fie ,it can dl image and text but with lots of limitations , only 256 characters per line , no ilegal charecters , and it has to be able to open the file and read every line in it , way to retarded to even attemps a dl program , it would never ever ever work

Author:  Dan [ Sat Jan 24, 2004 11:01 pm ]
Post subject: 

well i think u could do it if you just read each line at a time and put it in to a file then got the next. also i think u could get pased the iglleage cahr isues some how. for text files it whould probly work well.

i bet u could also get it to dl the file with the windows dl thing using Sys.exec

Author:  shorthair [ Sat Jan 24, 2004 11:11 pm ]
Post subject: 

Sys.Exec dosent count , because the nyour jsut using windows app , turing will crash if ther are 257 characters on the line , and in most cases there are over 1000 on a line , it would be so buggy it would be lucky to work once i belive

Author:  Dan [ Sat Jan 24, 2004 11:20 pm ]
Post subject: 

that why you got to break up the lines if they are over 250....

Author:  shorthair [ Sat Jan 24, 2004 11:23 pm ]
Post subject: 

but would you not then end up distorting code ,

IE

BLAH BLAH BLAH , and this is where charact
er 256 was broken off

so now " charact / er " are seperated and that changes the download code , and how are you gonna get turing to translate an exe , into pure ASCII , and get it to split into 255 lines without making an error , just dont see the point at all , im sure there is a perfectly good freeware one out there

Author:  Method [ Sat Jan 24, 2004 11:59 pm ]
Post subject: 

Quote:
just dont see the point at all , im sure there is a perfectly good freeware one out there


Sure there is. The whole point, however, is that as the elite programmers that we are, each and every one of us must solve all our computer software woes with our own home-brewed concotions, each consuming copious amounts of our time, sweat and blood.

Or, you could wuss out and get a freeware program. Twisted Evil

Author:  DanShadow [ Sun Jan 25, 2004 12:17 am ]
Post subject: 

Very well said Method. [+ few bits]
Too many of us, who h ave the capability to do so much, are using other peoples programs instead of doing it ourselves. Im the kind of person, who if has time, will create programs with random purposes that I may or may not need...not for the real usage of it, but t he experience. If I learn how to create many aspects of many different programs....ill have the know-how to do others in the future. Very Happy

BorgViva la Programmers!Borg

Author:  shorthair [ Sun Jan 25, 2004 8:35 am ]
Post subject: 

Alright then enough of the squabiling , lets get a method down to do this ,
First of all do you want it to do multi downloading of just single

Author:  recneps [ Sun Jan 25, 2004 11:33 am ]
Post subject: 

What i mean is, if turing could download files (the debate has begun! 8 posts overnight! Smile ) then could a program be made, that can pause a download whenever (save the downloaded portions when the button clicked or whatever) and then resume later on. Single file is good, but i gues multi would work. The bottom line is, can turing dload files without having them corrupted from being broken up as someone said earlier.

Author:  shorthair [ Sun Jan 25, 2004 12:11 pm ]
Post subject: 

Well thts what i was talking about with the splitting of words , if you have , "Shorthair" at the end of a line and you seperate it into " Shor" , NEW LINE "thair" , do you still have the same code of do you have 2 words instead of one now , i think that this would corrupt all files that have lines bigger than 256 characters , unless you played safe and changed line at the first space over 220 characters so IE

code:

if character = "" and char =>220 then

so to play safe and never go over 256 , and also seperate the line at a spcae value

Author:  recneps [ Sun Jan 25, 2004 12:25 pm ]
Post subject: 

Too complicated for me Very Happy Ill just do it in vb when i learn a little more (if its possible in vb?)

Author:  Dan [ Sun Jan 25, 2004 1:05 pm ]
Post subject: 

well if u did it one char at a time somting like:

code:

loop
%%%code to download next char of file
put stream, onechar..
end loop

Author:  recneps [ Sun Jan 25, 2004 2:26 pm ]
Post subject: 

but how do you download 1 char of a file at a time?

Author:  santabruzer [ Sun Jan 25, 2004 2:30 pm ]
Post subject: 

i have no idea if this is right but.. i dunnu meh:
code:
        if Net.CharAvailable (netStream) then
            var ch : char
            get : netStream, ch
            put ch ..
        end if


Author:  shorthair [ Sun Jan 25, 2004 2:39 pm ]
Post subject: 

That sounds right ,

Author:  Homer_simpson [ Sun Jan 25, 2004 5:56 pm ]
Post subject:  Re: Dowload Pauser

recneps wrote:
Can turing download files? and if so, would it be possible to make a download pauser? I'm really tired of having to dload large files, just to have my comp crash or something like 5 mins before they done :\

well actually i attempted that it downloads text files fine(even some pictures)...but when it comes to exe files but when it comes to ASCII, it wont work...

Author:  shorthair [ Sun Jan 25, 2004 5:58 pm ]
Post subject: 

Well theres your answer guys , but apparently the telnet ( muti chat ) guys have found a way to do it for emotions

Author:  recneps [ Mon Jan 26, 2004 8:43 am ]
Post subject: 

k, Thanks guys Very Happy


: