File Downloader for ReactOS SVN

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Should someone write a file downloader for ReactOS?

Poll ended at Mon Aug 20, 2007 9:16 pm

Yes
14
74%
No
5
26%
 
Total votes: 19

michael79

Re: File Downloader for ReactOS SVN

Post by michael79 » Thu Aug 09, 2007 2:34 am

aicommander wrote:Could someone write a simple application to download a file? We need something that will simply download a url. That way we don't have to keep copying download.exe and download.xml to the SVN version to get applications.
Hi !

I just created one. Download at http://www.2clic.be/rosi

Documentation and updates to come very soon.

Michael

artguy10
Posts: 240
Joined: Wed Aug 01, 2007 12:20 am

Post by artguy10 » Thu Aug 09, 2007 2:50 am

Great! I'll test out your program as soon as I can get Firefox working...
Last edited by artguy10 on Thu Aug 09, 2007 2:58 am, edited 3 times in total.

michael79

Post by michael79 » Thu Aug 09, 2007 2:55 am

artguy10 wrote:Great! I'll test out your program as soon as I can get Firefox working...
You can use the ISO version :wink:

artguy10
Posts: 240
Joined: Wed Aug 01, 2007 12:20 am

Post by artguy10 » Thu Aug 09, 2007 2:59 am

michael79 wrote:
artguy10 wrote:Great! I'll test out your program as soon as I can get Firefox working...
You can use the ISO version :wink:
Thanks, that works. But I can't seem to get the program to open (I tried double-clicking the .exe files). It didn't work in XP or ROS.
It does look good from the screenshot, though.

michael79

Post by michael79 » Thu Aug 09, 2007 3:02 am

artguy10 wrote:
michael79 wrote:
artguy10 wrote:Great! I'll test out your program as soon as I can get Firefox working...
You can use the ISO version :wink:
Thanks, that works. But I can't seem to get the program to open (I tried double-clicking the .exe files). It didn't work in XP or ROS.
It does look good from the screenshot, though.
You need to extract the ZIP file or copy the files from the CD to
a writable folder :oops:

artguy10
Posts: 240
Joined: Wed Aug 01, 2007 12:20 am

Post by artguy10 » Thu Aug 09, 2007 3:04 am

I hope it can download a URL from ftp and http? Maybe it will replace the semi-functioning Download! in ROS 0.3.3.

About the list of programs, maybe it can be checked online against a Wiki where people can list put in programs? Or maybe it can include some of the apps listed in http://www.reactos.org/forum/viewtopic.php?t=4302

michael79

Post by michael79 » Thu Aug 09, 2007 3:10 am

artguy10 wrote:I hope it can download a URL from ftp and http? Maybe it will replace the semi-functioning Download! in ROS 0.3.3.

About the list of programs, maybe it can be checked online against a Wiki where people can list put in programs? Or maybe it can include some of the apps listed in http://www.reactos.org/forum/viewtopic.php?t=4302
The files are downloaded from HTTP using HTGET
The list of programs (including description and screenshot) is
downloaded from a server (preset: http://www.2clic.be/rosi)
where an XML file is downloaded

(sample: http://www.2clic.be/rosi/packages)

File structure

Code: Select all

<packages>
  <package>
    <category>XYZ</category>
    <name>ABC</name>
    <url>http://.../.exe</ul>
    <description>Base64 encoded RTF file</description>
    <screenshot>Base64 encoded JPEG file</screenshot>
  </package>
  ...
</packages>
New repositories can be appended to the ROSi.repositories file
(one URL per line)

A proxy can be set in ROSi.proxy. Syntax: proxy:port

Hope it helps :D

artguy10
Posts: 240
Joined: Wed Aug 01, 2007 12:20 am

Post by artguy10 » Thu Aug 09, 2007 3:13 am

Thanks, I got it running!! :D

Still VERY buggish and not finished (or it might be a little of the new program and a little of ReactOS Alpha at work), but nice start!

May I ask, where are the files downloaded to? Perhaps ROS can implement a basic Downloads file on the desktop where all the download files go.

michael79

Post by michael79 » Thu Aug 09, 2007 3:23 am

artguy10 wrote:Thanks, I got it running!! :D

Still VERY buggish and not finished (or it might be a little of the new program and a little of ReactOS Alpha at work), but nice start!

May I ask, where are the files downloaded to? Perhaps ROS can implement a basic Downloads file on the desktop where all the download files go.
Yes I need to debug it :oops:
At the moment the file are downloaded to the current folder
but you can create a ROSi.download file containing the
destination folder 8)

michael79

Post by michael79 » Thu Aug 09, 2007 3:55 am

Just updated the app. Now screenshots are working. 8)
I recommend that you use the new one.

michael79

Post by michael79 » Mon Aug 13, 2007 12:51 am

artguy10 wrote:Thanks, I got it running!! :D

Still VERY buggish and not finished (or it might be a little of the new program and a little of ReactOS Alpha at work), but nice start!

May I ask, where are the files downloaded to? Perhaps ROS can implement a basic Downloads file on the desktop where all the download files go.
I have updated the app. Settings and repositories are saved
into a single INI file. New icons, settings dialog added and progress
bar.

Michael

artguy10
Posts: 240
Joined: Wed Aug 01, 2007 12:20 am

Post by artguy10 » Mon Aug 13, 2007 1:35 am

Excellent! I'm having a bit of trouble getting the lists of apps to show up, but I guess that is a bug? It does look nicer with the icons! :)

So maybe this will be helpful in a better Download!, or a separate program? And it looks like people can make custom lists for the program to use, which is nice.

michael79

Post by michael79 » Mon Aug 13, 2007 8:04 pm

artguy10 wrote:Excellent! I'm having a bit of trouble getting the lists of apps to show up, but I guess that is a bug? It does look nicer with the icons! :)

So maybe this will be helpful in a better Download!, or a separate program? And it looks like people can make custom lists for the program to use, which is nice.
I made a really big update, check the website 8)

artguy10
Posts: 240
Joined: Wed Aug 01, 2007 12:20 am

Post by artguy10 » Mon Aug 13, 2007 8:30 pm

Much better! Stable, no see-through window, nice buttons. One problem, I open the .exe, install it (cool!), and then open the program, but I see no list of programs (it's all blank). Is that normal, should I be doing something?

Dr. Fred
Developer
Posts: 607
Joined: Wed Dec 22, 2004 10:09 pm
Location: Amsterdam

Post by Dr. Fred » Mon Aug 13, 2007 8:52 pm

I will code a tiny program like wget, thanks for the inspiration. For some comments on ROSi please see http://www.reactos.org/forum/viewtopic.php?t=4303.
Where do you want ReactOS to go today ?

Post Reply

Who is online

Users browsing this forum: EmuandCo, Google [Bot] and 3 guests