#100033 - bjoerngiesler - Fri Aug 25, 2006 5:34 pm
Hi all,
DSFTP 2.0 is out! Get it here or at its homepage!
What is DSFTP?
DSFTP is a full-fledged FTP server, with the additional ability to boot .nds files directly from the FTP prompt (currently only tested on SuperCard CF, SD and Lite). It is a stand-alone program that you can use to run a FTP server on your DS. It is also a software component that makes it easy for you to add an FTP server to your own program with a couple lines of code.
With this, you can speed up the build process radically, because you can upload the new version of your program to your own running program, and reboot it immediately. This can even be automated via the command line. No swapping of flash cards ever again!
Changes in V2.0
o Active mode supported! No more passive-mode only!
o "hostname" setting now called "masquerade" for clarification
o Log output scrollable via D-Pad
o L+R+A creates screenshot (PPM format)
o Reference documentation for developers
o More bugfixes
I consider DSFTP feature-complete now. Further improvements will be bugfixes only. If you find any bugs, as always, please send me an email with the complete description of the error, screenshot, logfile and config file.
If DSFTP is useful for you, I will happily accept donations. If you use DSFTP as a developer, I'd appreciate it if you would tell me about your project!
EDIT: My next project is an ebook / RSS reader. Donations will help me with that, too :-)
EDIT: If you like DSFTP, why don't you vote for me at the NeoFlash summer coding competition?
_________________
DSFTP homepage
Last edited by bjoerngiesler on Sat Aug 26, 2006 9:38 am; edited 1 time in total
#100036 - Darkflame - Fri Aug 25, 2006 6:08 pm
Sounds good!
One thing: DSOrganiser already has a great ebook reader.
In order to beat it, you really need to provide something that is yet to be possible in DS mode:
Reading and listening to music at the same time.
(maybe be using moonshells libs?)
The GBAMP's built in gba firmware can do this, and it was a really nice feature.
Its just a shame it hasnt been replicated.
_________________
Darkflames Reviews --
Make your own at;
Rateoholic:Reviews for anything, by anyone.
#100039 - bjoerngiesler - Fri Aug 25, 2006 6:29 pm
Darkflame wrote: |
One thing: DSOrganiser already has a great ebook reader. |
I disagree. I don't like DSOrganize's ebook reader at all, which is precisely why I'm writing my own. Reasons: Fixed, non-antialiased sans-serif font, too little text per page, unintuitive scrolling, wrong/non-switchable format... short: it's too little like a book for me to want to read ebooks on it. I think it's quite easy to beat ;-)
And reading and listening to music at the same time?!
a) it's an ebook reader, not a music player.
b) I don't think listening to music on the DS is such a great idea. Too little storage, sound quality too bad. What do they make iPods for?
_________________
DSFTP homepage
#100041 - Harakiri - Fri Aug 25, 2006 7:12 pm
how is the mini-sd support ? if it is not in yet - why would you call it complete ?
#100042 - bjoerngiesler - Fri Aug 25, 2006 7:20 pm
Harakiri wrote: |
how is the mini-sd support ? if it is not in yet - why would you call it complete ? |
What reason do you have to think DSFTP doesn't work with mini-sd? If you've tried it, and it doesn't work, submit a bug report. If you haven't tried it, do so.
Oh, and your courtesy circuits need serious replacing.
_________________
DSFTP homepage
#100044 - Harakiri - Fri Aug 25, 2006 7:43 pm
bjoerngiesler wrote: |
Harakiri wrote: | how is the mini-sd support ? if it is not in yet - why would you call it complete ? |
What reason do you have to think DSFTP doesn't work with mini-sd? If you've tried it, and it doesn't work, submit a bug report. If you haven't tried it, do so.
Oh, and your courtesy circuits need serious replacing. |
there was no offense in my post, if you have taken some, sorry
and what reason i have is this
"Booting only verified to work on Supercard CF and Supercard SD."
#100045 - MaHe - Fri Aug 25, 2006 7:44 pm
SaTa released r16 of his REIN tool. This added M3 miniSD support too; maybe you should update FAT and release 2.01 ^_^
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]
#100049 - bjoerngiesler - Fri Aug 25, 2006 7:52 pm
Harakiri wrote: |
"Booting only verified to work on Supercard CF and Supercard SD." |
OK, offense reversed. :-) And "verified" means just that -- somebody tried and reported it working. For SC CF, that was me. You can contribute! Download it and try! As far as the "feature complete" is concerned, I'm writing a FTP server, not a program launcher, so I was referring to that.
@MaHe: I'm using REIN's FAT lib, and writing to M3 miniSD works well, as many people have reported. Booting, OTOH, is unverified.
_________________
DSFTP homepage
#100050 - Harakiri - Fri Aug 25, 2006 8:21 pm
tried it on my m3-mini-sd it starts up
i use firefox to connect to the ftp - queries me for user&password - but it returns 503 - the server log says just nothing to read - close
i created the file /data/settings/ftp.conf with the example settings
edit : ok my fault - the pdf has a page break and i didnt copy the whole ini file
Last edited by Harakiri on Fri Aug 25, 2006 8:32 pm; edited 1 time in total
#100053 - bjoerngiesler - Fri Aug 25, 2006 8:31 pm
Please, people. Can you not read?
bjoerngiesler wrote: |
If you find any bugs, as always, please send me an email with the complete description of the error, screenshot, logfile and config file. |
I'm getting a bit fed up with bug reports that say, basically, "it doesn't work, but I won't tell you the details". Please send me at least a log (at loglevel 5). And please send it via email.
Oh, and I bet you're not getting 503 ("need remove-from before remove-to") but 530 ("not logged in"), which probably means your password is wrong.
_________________
DSFTP homepage
#100055 - bjoerngiesler - Fri Aug 25, 2006 8:35 pm
Harakiri wrote: |
edit : ok my fault - the pdf has a page break and i didnt copy the whole ini file |
I see -- so the "end user" was missing? So, does it boot? :-)
_________________
DSFTP homepage
#100056 - Harakiri - Fri Aug 25, 2006 8:58 pm
bjoerngiesler wrote: |
Harakiri wrote: | edit : ok my fault - the pdf has a page break and i didnt copy the whole ini file |
I see -- so the "end user" was missing? So, does it boot? :-) |
yes end user was missing - i cant test boot right now because im unable to find a working ftp client - leechftp seems to be missing the first character from each file/directory name - firefox is read only and i dont know how to execute a custom shell command...prolly have to use dos ftp
however - the ftp server often hangs on "aquiring dhcp" and i have to restart it - i even deleted the dhcp entry on my router but didnt help so far seems to be an issue with my router now cause the wifi_test_lib.nds has the very same problem
#100057 - bjoerngiesler - Fri Aug 25, 2006 8:59 pm
Harakiri wrote: |
prolly have to use dos ftp |
Yeah, could you try that? Just say "quote boot /dsftp.nds" (or wherever you stored it) after login.
_________________
DSFTP homepage
#100059 - Harakiri - Fri Aug 25, 2006 9:11 pm
bjoerngiesler wrote: |
Harakiri wrote: | prolly have to use dos ftp |
Yeah, could you try that? Just say "quote boot /dsftp.nds" (or wherever you stored it) after login. |
i would but after 10 unsuccessful tries to start up dsftp again and also using wifi_test_lib im at a loss - i dont know what the problem could be that i no longer can aquire DHCP
meteroid prime works fine with my wifi
the wifi site only says
Problem:
Hangs at ASSOCSTATUS_ACQUIRINGDHCP
Probable Causes:
* your router is denying the lib's DHCP request; I've seen this on a few routers and am looking into it.
* You have the wrong WEP key or mode configured.
#100061 - Harakiri - Fri Aug 25, 2006 9:27 pm
well, i rebooted the router it works now again - and i just figured the winxp dos ftp does not support passiv ftp
however filezilla does and its opensource
i tried to boot picodrive
boot picodriveds.nds
250 Booting /EMULATOR/GENESIS/picodriveds.nds.
however - nothing happend on the ds - it actually died - i tried a few other apps - same result - this is the last entry from the log file
-> boot _BOOT_MP_SlimM3SD.nds
<- 250 Booting /_BOOT_MP_SlimM3SD.nds.
#100063 - bjoerngiesler - Fri Aug 25, 2006 9:52 pm
Harakiri wrote: |
dos ftp does not support passiv ftp |
Active should work, though.
Quote: |
however - nothing happend on the ds - it actually died |
Thought so. I'll check that in the next couple days.
_________________
DSFTP homepage
#100066 - Thomas - Fri Aug 25, 2006 10:00 pm
Booting a file also doesn't work on my M3 CF. Maybe you could implement Mighty Max's exec()? That should work on everything.
#100070 - Harakiri - Fri Aug 25, 2006 10:10 pm
for the record i just uploaded a 64 MB file to the DS - it "only" took more then 30min - average 32kbyte - im disappointed in the DS wifi hardware =)
#100083 - tepples - Fri Aug 25, 2006 11:19 pm
Bug:
dsftp.nds running on GBA Movie Player v2 CF on a flashed DS does not appear to display any warning when /data/settings/ftp.conf does not exist.
Expected behavior:
Advise user to read the manual, or start an interactive setup routine.
Bug 2:
Once I do have it set up, when I 'quote boot /some/ds/program.nds', DSFTP just reboots itself instead of booting the .nds file I specify. Reported in detail via e-mail.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#100085 - Mr Snowflake - Sat Aug 26, 2006 12:08 am
Harakiri wrote: |
for the record i just uploaded a 64 MB file to the DS - it "only" took more then 30min - average 32kbyte - im disappointed in the DS wifi hardware =) |
I believe that's due to the wifi lib not yet supporting IP packet fragmantation. You should get 2Mib/s
_________________
http://www.mrsnowflake.be
#100110 - bjoerngiesler - Sat Aug 26, 2006 6:04 am
tepples wrote: |
Bug:
dsftp.nds running on GBA Movie Player v2 CF on a flashed DS does not appear to display any warning when /data/settings/ftp.conf does not exist.
Expected behavior:
Advise user to read the manual, or start an interactive setup routine.
|
Good one. Will have it display a warning. There will not be an interactive setup routine, though. This is a developer's tool in the form of a software component, and the stand-alone example app is just the icing on the cake.
_________________
DSFTP homepage
#100206 - takeru - Sat Aug 26, 2006 8:33 pm
One question....
How do I create the /data/settings/ftp.conf file?
I'm not very experienced with this kind of stuff.
#100210 - tepples - Sat Aug 26, 2006 9:23 pm
takeru wrote: |
How do I create the /data/settings/ftp.conf file? |
Just use Notepad, and make sure you don't make "ftp.conf.txt".
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#100233 - takeru - Sat Aug 26, 2006 10:51 pm
Thanks, I got it to work now.
the next problem is to connect to this thing >.<
I allready got filezilla. Ive also tried using IE and FF, but It just wont connect...
I use the IP address to connect, right?
Or is there some kind of code I must use?
#100238 - bjoerngiesler - Sat Aug 26, 2006 11:20 pm
takeru wrote: |
I use the IP address to connect, right? |
Yes. Make sure you've got the right port (no listen statement in the ftp.conf), try pinging the DS to see if the network is OK, and make sure you have no personal firewall or other things up.
_________________
DSFTP homepage
#101442 - deltree - Tue Sep 05, 2006 3:59 pm
Hi
I managed to make it work (almost) once, but not anymore.
here are a few things I'd like to know:
the file from the zip are uncompressed in "ftp" directory on my SD card.
is it ok, or do I need to put it on the root directory ?
why don't you create a ftp.conf file already in the zip file with the right directory?
Do I need to use the M3 transfert software, or can I just copy/ paste the .nds file to the SD card ?
is it possible to give a static IP adress , not one taken from DHCP ?
wich one should I use: .gba ou .gba.nds ?
thanx.