forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need some help on porting wget on psp

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Swissidle



Joined: 29 Jan 2009
Posts: 16

PostPosted: Fri Jan 30, 2009 1:20 am    Post subject: Need some help on porting wget on psp Reply with quote

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:
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<><><><><<>
Back to top
View user's profile Send private message Yahoo Messenger
pspwill



Joined: 17 Nov 2005
Posts: 51

PostPosted: Fri Jan 30, 2009 5:34 am    Post subject: Reply with quote

Why not use libcurl for your project? Its already ported and in the SVN here: svn://svn.ps2dev.org/pspware/trunk/libcurl
Back to top
View user's profile Send private message
Swissidle



Joined: 29 Jan 2009
Posts: 16

PostPosted: Fri Jan 30, 2009 4:17 pm    Post subject: Reply with quote

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

any suggestions??
_________________
<><><><><>>>NOOB<><><><><<>
Back to top
View user's profile Send private message Yahoo Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Jan 30, 2009 10:28 pm    Post subject: Reply with quote

Swissidle wrote:

any suggestions??


Search the old threads. This question about wget and curl has been asked and answered before a number of times. ;)
Back to top
View user's profile Send private message AIM Address
Swissidle



Joined: 29 Jan 2009
Posts: 16

PostPosted: Tue Mar 10, 2009 12:58 pm    Post subject: Reply with quote

can i use curl on lua??
_________________
<><><><><>>>NOOB<><><><><<>
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group