[En-Nut-Discussion] FTP-Client for 1.3H

Piotr Szlachta pszlachta at supermedia.pl
Sun Nov 25 09:09:05 CET 2007


Hi

Just an idea. 

Did you think about TFTP?

Implementing TFTP client is a matter of rather hours than days. It's really
trivial. 

TFTP minuses are no security, but you will upload data not download them.
And 32MB limitation for a single sestion.


As a starting point to TFTP client you can take simplified TFTP server from
XFLASH. 

http://usbdip.de/de/downloads_de.html

TFTP bible:

RFC 1350 - The TFTP Protocol (Revision 2) 
RFC 2347 - TFTP Option Extension 
RFC 2348 - TFTP Blocksize Option 
RFC 2349 - TFTP Timeout Interval and Transfer Size Options 
RFC 2090 - TFTP Multicast Option

And wikipedia:
http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol


BTW:

RFC 2348 brakes 32MB limit with blocksize>512 bytes.

I had some problems with that, NUT couldn't receive UDP packet larger than 
MTU size, 1500 bytes. Maybe it will be possible to send that packets. 

Regards

p.s.



> Hi Nut-Community,
> 
> I´ve read that it is not possible to programm the Nut-Borad Rev. 1.3H as
> a FTP-Server - that´s obvious. But I think it should be possible to
> programm the Board as a FTP-Client, shouldn´t it. We want transfer
> meassurement datas (saved on a MMC/SD-Card) to a FTP-Server.
> 
> Have anyone ever Programmed such a Applikation?
> There are any samples how to do this?
> 
> -Thank you for helping me.
> 
> Best regards
> Wolfgang Rasp
> 
> 
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list