[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] File transfer using Raw ApI
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] File transfer using Raw ApI |
Date: |
Tue, 20 Jan 2009 18:42:55 +0000 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
devesh wrote:
> Hi all,
>
> Thanks for your response.
>
> I made my simple application (server-client). Now I am able to
> transfer bytes(strings) from one board to another through network.
>
> But, what I want to send a file from one borad(spartan-3) to another.
> Is file-handling supported by LWIP ? How can I read bytes from the
> file (RAW) and how these can be stored/send in other board?
>
> Would I have to setup tftp?
That's up to you. You could have your own protocol, or use something
different like FTP, or HTTP. But TFTP is probably a good choice for
sending/receiving files.
But file handling itself is not supported by lwIP. You need to look to your
OS for how to read or write files.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine