Need some help on porting wget on psp

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Swissidle
Posts: 16
Joined: Thu Jan 29, 2009 12:37 am

Need some help on porting wget on psp

Post by Swissidle »

I mean use some GNU's wget functions that can download a certain file over internet.

Any tips where should i start? does c/c++ has a built-in file downloader functions?? any tips would be a great help!! its been a day compiling the psptoolchain and atlast, i do make it work now thanks for some of you who helped me.

I really wanna code a simple homebrew that can download file over the net..

maybe similar to this code for c#

Code: Select all

DownloadURLCollection urls = new DownloadURLCollection();
                urls.Add(new DownloadURL("http://www.codeproject.com/cs/internet/
                    CoolDownloader/CoolDownloader_demo.zip",
                    @"C:\Temp"));
                urls.Add(new DownloadURL("http://releases.mozilla.org/pub/mozilla.org/
                    firefox/releases/1.5.0.6/win32/en-US/Firefox Setup 1.5.0.6.exe",
                    @"C:\Temp\newname.zip"));
FileDownloaderForm downloader = new FileDownloaderForm(urls);
downloader.ShowDialog();
but of course, i need it to be in c and if possible would also work in PSP... its kinda hard to switch from c# to c AGAIN hehehe! i would really really appreciate if someone would help me with this.

sorry for my bad english
<><><><><>>>NOOB<><><><><<>
pspwill
Posts: 51
Joined: Thu Nov 17, 2005 8:07 am

Post by pspwill »

Why not use libcurl for your project? Its already ported and in the SVN here: svn://svn.ps2dev.org/pspware/trunk/libcurl
Swissidle
Posts: 16
Joined: Thu Jan 29, 2009 12:37 am

Post by Swissidle »

Ill try that out as soon as i get home :)

any suggestions??
<><><><><>>>NOOB<><><><><<>
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Swissidle wrote: any suggestions??
Search the old threads. This question about wget and curl has been asked and answered before a number of times. ;)
Swissidle
Posts: 16
Joined: Thu Jan 29, 2009 12:37 am

Post by Swissidle »

can i use curl on lua??
<><><><><>>>NOOB<><><><><<>
Post Reply