Re: urlstatus question

2009-10-29 Thread Ron
See, this is what I'm talking about - Thanks Josh. I actually had gone a different direction with my progress bar but your example gives a more comprehensive solution. Cool site, I'll have to explore it some more. Thanks Ron On Oct 29, 2009, at 1:34 PM, Josh Mellicker wrote: Ron, Here's

Re: urlstatus question

2009-10-28 Thread Alex Tweedly
I haven't noticed a reply to this if there was one and I just missed it, then I offer my apologies (especially if i contradict that answer ;-) I haven't look at the user guide - this is info from the documentation (dictionary). The last parameter to libURLDownloadToFile is a status

Re: urlstatus question

2009-10-28 Thread Ron
Thank you Alex, No one had replied yet so I kept looking. I found some similar code in a project from someone else and realized they were using libURLSetStatusCallback so once I found that, I could do the coding myself. The pdf docs certainly give the impression that libURLDownloadToFile

Re: urlstatus question

2009-10-28 Thread Andre Garzia
You know Ron, I code network apps every day and every single day I make the exact same mistake. I first use that callback, then I get frustrated that it is sent only on errors or transfer complete and then I remember liburlsetstatuscallback and then I am happy again. I must have done this like a

Re: urlstatus question

2009-10-28 Thread Ron
As you know Andre, I'm a complete rookie when it comes to web stuff but I have benefitted greatly from the contributions of list members. Rev enables me to go to places I could not have gone before - like the web - but I need the help of others and this list is a great source of help.

Re: urlstatus question

2009-10-28 Thread Josh Mellicker
Ron, Here's some code that will drive a progress bar and put some text underneath like 2 minutes 28 seconds remaining @ 135 KB/sec: http://revcoders.org/calctimeremaining/ On Oct 28, 2009, at 5:58 PM, Ron wrote: Thank you Alex, No one had replied yet so I kept looking. I found some

urlstatus question

2009-10-26 Thread ron barber
Greetings, I am downloading a file from the web to my HD using libURLDownloadToFile. I copied the scripts in Rev's user guide which also says: As the URLStatus changes periodically throughout the download process, the button's showStatus handler is executed repeatedly. Each time a showStatus