D4R
Malcolm Hussain-Gambles (1596) 811 posts |
I have released an alpha version of my downloader for RISC OS Any other suggestions would be appreciated. |
Rick Murray (539) 13806 posts |
Hmm, I ought to dig up my self-updater code that I wrote back in 2002ish. Originally written for a RISC OS program, the basic premise is used in several of my VB apps like VeroDes. The RISC OS one used a composite file that was squashed files wrapped together with a catalogue (a bit like a zip file). The Windows version just uses an installer exe. The system first looks for a textual control file (example → http://heyrick.co.uk/software/verodes/update.txt) to determine if there is an update, how to handle it, and a description to show to the user. Pause and resume sounds useful. Something that would be really useful is the ability to resume an aborted download. Sometimes in fringe areas, WiFi just drops out so the download has to restart. Okay, this probably has more relevance for a 200MiB animé download than the smaller sizes of RISC OS programs, but still…
Looking at it in a text editor on iOS, it seems to be a C program written with RISC_OSLib (you’re brave!). Couldn’t you add an It’s a good idea. I always find |
Chris Evans (457) 1614 posts |
D4R? |
Vince M Hudd (116) 534 posts |
An abbreviation for “Downloader for RISC OS” as per the text of Malcolm’s link. What I’m puzzling over is that it’s “a testing program for the foundation suite QFA.” The parent directory on the website is qfa, but going up a level just takes me to a page of RISC OS news. |
Chris Evans (457) 1614 posts |
Now is that too subtle or too obvious for me :-/ |
Malcolm Hussain-Gambles (1596) 811 posts |
In it’s current state, D4R outperforms (on my pandaboard) netsurf downloading by a factor of 3. [Update] Just thought I would point out, this is not a dig at netsurf. My aim (which may not happen) would be to provide services that netsurf could use. My code is RISC OS specific, tuned and written ONLY for RISC OS. If I can make it extremely easy to integrate and update, the netsurf developers may use it as an option for RISC OS. It’s way off that at the moment and they may not like it, or may think it’s rubbish as I’m not a developer by profession. |
Alan Robertson (52) 420 posts |
Wow! This seems like it is going to be a very useful piece of software. |
David Feugey (2125) 2709 posts |
Great :) |
jim lesurf (2082) 1438 posts |
I’m also puzzled by how ‘dfourr’ becomes ‘downloader’. That said, having read the above I’m still not really clear what its purpose. Presumably because I don’t have an interest in whatever its aimed at. Jim |
WPB (1391) 352 posts |
Isn’t it “Downloader 4 RISC OS”? |
Chris Johnson (125) 825 posts |
Have given it a try on the PandaRO, but haven’t been able to download anything. Testing not extensive but: I assume it doesn’t resolve hostnames. I did try with a hostname but it just hung, needing an Alt-Break to recover. Using a numeric IP address it seems to hang for a few seconds, then issues an error 09 Feb 11:13:13 000 00000001: Error from News UK: Unable to connect to 10.11.11.109:80 I have no idea where this IP address came from – it wasn’t the one I was trying (but is the one given in the help notes as an example). After this it again needed Alt-Break to recover. I was doing all this in a task window. I’ll give it another whirl on a different test site later. |
Chris Johnson (125) 825 posts |
Have now tried downloading from a different site. No change. It hourglasses for must be around 30 s, then issues the same error as before (ip address 10.11.11.109). When the error box is cleared D4R is still ‘doing something’ – the machine is very sluggish until an Alt-Break is done. The machine was then giving random errors from other apps (eg Printers) which were ‘idling’, including ‘abort on data transfer’. I ended up having to do a complete reset (I know it is alpha software, so am not complaining, just reporting!). |
Malcolm Hussain-Gambles (1596) 811 posts |
Oops, sorry about that! I’ll sort that out tonight. |
jim lesurf (2082) 1438 posts |
Sounds plausible now you suggest it. However I still don’t actually know if that’s correct. Maybe this is because I never use a mobile to send ‘texts’… My next question would be wonder what ‘D4R’ does which, say, ftp, doesn’t. Does it simply make it easier to break and resume a large download? Or is it for some more specific use that no-one has explained? Jim |
Malcolm Hussain-Gambles (1596) 811 posts |
It’s shorter than saying !httpandftpdownloadmanager and I can easily make an icon with three letters on it. |
Jon Abbott (1421) 2641 posts |
There’s nothing wrong with the name, D4R makes perfect sense. This is an area that hasn’t seen much attention in the RISCOS world, so you have some respect from me for your efforts. |
Chris Evans (457) 1614 posts |
I realise that for the target market of beta users !httpandftpdownloadmanager may be more than enough information to describe. But so far as a possible user I’m not sure I know under what circumstances it might be useful for me. |
Malcolm Hussain-Gambles (1596) 811 posts |
It’s not even beta quality at this time! But the other use maybe for people to download something and process it. The improved speed is a side effect to be honest. |
Chris Evans (457) 1614 posts |
Sounds like I could make use of it:-) Thanks for the info and your effort. |
Steve Pampling (1551) 8155 posts |
I turned the volume right up and still heard nothing. :) |
Chris Evans (457) 1614 posts |
As I suspected. Yesterday’s Pi beta ROM: n.b. Yesterdays file is still there! Though you are forbidden to list the directory. Steve: Yes my speling and typng and gramer are atrosious ;-) |
Malcolm Hussain-Gambles (1596) 811 posts |
I’ve already worked out how to do the downloads, that isn’t a problem ;-) |
Chris Evans (457) 1614 posts |
I await the information with bated breath! |
Malcolm Hussain-Gambles (1596) 811 posts |
It’s fairly easy, you have to download the respective page and get the URL from the page. Just noticed a major issue though, it’s https! Oh Well :-( |