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 homebrew announcements > fileNinja (simple ftp client)

#165557 - azaydius - Sat Dec 27, 2008 5:11 pm

Merry Christmas and happy holidays! Announcing fileNinja, our simple ftp client.

Decided it was time to at least release a binary for our ftp client developed over fall quarter of this year by myself and two other students. There is a lot of work to be done yet to get this to release quality, but as of now you can connect to and download files remotely from any ftp server on the internet for which you have credentials.

You must have your wireless settings saved to the firmware for this to function, done using a retail game. Upon booting the program, a connection is established from the firmware settings.

Usage is pretty simple. The windows are draggable with the touch screen. Swap the ds screens using the control in the upper right hand corner of the touch screen. Change fields for the login credentials by hitting enter, this cycles through the different text boxes and allows you to input from the keyboard. Once everything is entered click connect. From here, navigating the directory structures is simple, double tap on directories to change to them (they are highlighted white). Download files by selecting them on the remote listing, navigate to where you want to download on the local side and simply click the < button. Multiple file download is supported, but be aware the gui freezes while download is running and if the file is large it could take quite some time.

This uses the Woopsi gui development system and a modified version of ftplib. I am sure there are bugs that we have not found yet so please feel free to submit bug reports / suggestions here (until we get a more centralized location for this up and running). Tested so far on the Cyclo DS Evolution and the R4.

Known bugs:

-Directories containing a large number of files/directories (somewhere around 400+) the program freezes when changing to them
-Upload is broken and the button is disabled, currently trying to determine if it is with the ftplib or based in the dswifi library.
-Handling failed connections is not very elegant. It just hangs. Will be fixed soon. For now, make sure you can connect successfully with other homebrew / retail games!
-Some ftp sites have long welcome messages. We have not yet handled this and it will probably hang if you try to connect to one of these sites.


Features currently under development or that have the possibility of being added:

-Download speeds are pretty slow (~15kbps). You don't want to download any really large files unless you have a lot of time to spare. So, speeding this up would be great. Would love suggestions on how to do this (once we get the source cleaned up a bit for release)
-A download progress bar is buggy at the moment and therefore disabled, look to see it added later.
-More ftp command functionality, file delete, directory creation, file / directory rename... etc (locally and remotely). Suggestions here are welcomed.

Sourceforge link containing current binary (soon to have source):
https://sourceforge.net/project/showfiles.php?group_id=248259


Last edited by azaydius on Tue Jan 06, 2009 12:14 am; edited 2 times in total

#165581 - tondopie - Mon Dec 29, 2008 12:12 am

I believe the speed problem lies in the dswifi lib. No one has ever been able to get speeds over 15 KBps. Sgstair has not been able to get higher speeds from it for some reason. Try asking him why the speeds are so slow.

#165606 - Ludo6431 - Mon Dec 29, 2008 9:49 pm

And with dslinux that don't use the dswifi, we can get over 100Ko/s.
_________________
Sorry for my poor english, I'm french.

#165612 - azaydius - Mon Dec 29, 2008 11:01 pm

Ludo6431 wrote:
And with dslinux that don't use the dswifi, we can get over 100Ko/s.


No kidding? I had no idea dslinux could get downloads that fast. Unfortunately there are other bugs with the wifi driver in dslinux and many people have connection issues (including myself). I tried to actually dig into the code a bit last summer, but discovered it was well beyond my level to fix. Interesting enough then, sounds like it might be an implementation issue.

#165616 - Ludo6431 - Tue Dec 30, 2008 1:34 am

I'm not kidding.
That's true, and it works fine for me.
_________________
Sorry for my poor english, I'm french.

#165752 - Cid2Mizard - Mon Jan 05, 2009 9:54 pm

Freeze When the number of directory is high, exemple : with 1000 sub-directory on ftp it's a freeze :/
_________________
www.nintendomax.com 100% Hack 0% Warez

#165756 - azaydius - Mon Jan 05, 2009 11:01 pm

Yep, thanks for the report, but this was a known issue already and was listed above in my original post, look for it to be fixed soon. It's actually the number of elements, not just directories. So, lots of files + directories and it will freeze. It's a fairly simple fix, we just need to get some time to take care of it.

#165759 - Cid2Mizard - Tue Jan 06, 2009 12:11 am

Quote:
-Directories containing a large number of files (somewhere around 400+) the program freezes when changing to them


OK ^^
_________________
www.nintendomax.com 100% Hack 0% Warez

#165877 - sonny_jim - Sat Jan 10, 2009 11:18 pm

azaydius wrote:
I had no idea dslinux could get downloads that fast. Unfortunately there are other bugs with the wifi driver in dslinux and many people have connection issues (including myself).

I'm wondering if a lot of these issues are with the dhcpc client included in DSLinux.

#166018 - azaydius - Sat Jan 17, 2009 2:43 am

Cid2Mizard wrote:
Quote:
-Directories containing a large number of files (somewhere around 400+) the program freezes when changing to them


OK ^^


I edited my post to be more clear in stating that the bug exists with directories too. I guess I get so used to the linux/unix world where files and directories are essentially treated as the same thing. :)
_________________
fileNinja - https://sourceforge.net/projects/fileninja/

#173096 - NDIC - Sun Mar 21, 2010 4:53 pm

would you please help doing like your application a nintendo DS client ftp
or could you please tell how to open yours directly in my appliction
please!! this is urgent ><