On Mon, 9 Mar 2009, [email protected] wrote:
The transfer will be from the board to pc. I think of organize the
acquisitions like linked list. From a pc i would see the list, select the
acquisition i need and transfer data from board's memory to pc.
How is a simple way to do this? I would use ftp for transfer data. Can i use
libcurl to do it?
You most certainly can.
Where can i find a ftp server example?
libcurl is a client-side library, for FTP servers you need to look around
elsewhere.
Or did you mean FTP upload example? If so there's this =>
http://curl.haxx.se/lxr/source/docs/examples/ftpupload.c
but you'd need to replacethe read_callback() implementation with something
that "reads" from your linked list instead.
--
/ daniel.haxx.se