gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > wireless FTP can i do it?

#96480 - smoothingeye - Thu Aug 03, 2006 3:33 pm

I just bought the Nintendo USB wireless connector . I wanted to be able to download my sutff eg homebrew code from my windows machine to my CF in my MMD flashcart . Is there anyway i can do it?

#96500 - MaHe - Thu Aug 03, 2006 4:37 pm

1. You WILL need a reader at least for the first use;
2. Download and extract DSLinux for MMD/MMP to your CF;
3. Insert the CF in MMD, insert MMD in the SLOT-2, insert MML in SLOT-1;
4. Boot DSLinux.nds and when asked for username & password input "root" (username) and "uClinux" (password);
5. You'll need to host your file somewhere - I recommend using a small HTTP server installed on your PC;
6. Use this guide to convert your WFC USB adapter into a Access Point:
http://scdev.org/forum/viewtopic.php?t=5262
7. Use this guide to establish WiFi on in DSLinux:
http://www.dslinux.org/wiki/Using_DSLinux#Wireless_Networking
8. Use this command to download a file in DSLinux:
Quote:
retawq --download=<fileurlhere> > <filename here>

9. Use this guide to manage files on your CF:
http://www.dslinux.org/wiki/Using_DSLinux#File_Management

A really messy method but it works ...
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#96539 - kevinc - Thu Aug 03, 2006 6:51 pm

Or someone could write an FTP server for the DS.
It's not hard to do, just parse text and obey the commands (you only need to implement about 10 to make it functional). Then go to your PC, use your favorite FTP client, and voila.
I'm surprised people are writing IM clients, mail clients, PDA software, and still no ftp (which you can do in less than 1K lines of code).

#96541 - MaHe - Thu Aug 03, 2006 6:55 pm

kevinc wrote:
I'm surprised people are writing IM clients ...

Haha! :D

Anyways, I was thinking about this too. I was even thinking of DS adapter developers (like the SuperCard / M3 / EZ) implementing them into the adapter's firmware. But then again, 512KB may not be enough ...
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#96714 - D-loader - Fri Aug 04, 2006 10:11 pm

Hmm, we might see an FTP client at the Neoflash contest? No one have made it yet anyway, so it would make a nice APP!!!!!! ( omg, sorry I had to )

#97012 - bjoerngiesler - Mon Aug 07, 2006 11:33 am

Hi,

just to let you know... I have a half-ready ftp/telnet server for the DS which I'm going to release this week. It's designed to be linkable to homebrew code, and the main purpose is to aid the development cycle (compile, upload via FTP, reboot via telnet command, rinse & repeat). But there'll be an example application which will act as a standalone ftp client/server, as well.

The stub server I have right now works well with command-line ftp clients as well as RBrowser on my Mac. Some kinks still need to be ironed out, though.

Requirements, of course: Wifilib and FAT lib.

Regards,
Bj?rn

#97014 - kevinc - Mon Aug 07, 2006 11:51 am

Awwww, I was planning to write an FTP server myself. Looking forward to yours, bjoern :D

#97016 - Darkflame - Mon Aug 07, 2006 12:15 pm

FTP would be great :) :)

A generic URL downloader would also be nice..
_________________
Darkflames Reviews --
Make your own at;
Rateoholic:Reviews for anything, by anyone.

#97018 - bjoerngiesler - Mon Aug 07, 2006 12:19 pm

That would be HTTP though. I've been thinking about that (esp since it's not that easy to set up an FTP server on a Windows machine, and everyone has a web server nowadays). Let's do the FTP stuff first, though.

Regards,
Bj?rn

#97099 - Lick - Mon Aug 07, 2006 11:29 pm

I'm working on a ftp client.. But it's one of those things on my To Code list.
_________________
http://licklick.wordpress.com

#97100 - MaHe - Mon Aug 07, 2006 11:33 pm

Darkflame wrote:
A generic URL downloader would also be nice..
Search gbadev.org for "dslurper" ...
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#97103 - D-loader - Mon Aug 07, 2006 11:45 pm

Oi bj?ern, really looking foward to see your work ^^