Re: [lwip-users] TFTP init

2017-01-18 Thread nrichard
Stephen Cowell wrote > Some confusion... your board, your design, is an FTP server? You are > pushing files from a PC client to an embedded server. > I'm assuming no OS... raw, in other words. FTP, TFTP, HTTP, doesn't matter to me. I just want to transfer a file from my PC, an image file, to my

Re: [lwip-users] TFTP init

2017-01-18 Thread Stephen Cowell
Nick... I'm using the same ftp... and the same processor... I wrote sftp but it's actually ftpd, from toelke. Some confusion... your board, your design, is an FTP server? You are pushing files from a PC client to an embedded server. I'm assuming no OS... raw, in other words. Do you have the

Re: [lwip-users] TFTP init

2017-01-18 Thread nrichard
Jan Menzel wrote > Hi Ajay! > If sending an image is all you wont to do, you might consider using > tftp. tftp is especially designed for this purpose, requires only udp > but lacks features like authentication. Many bootloaders use tftp to > boot using an image located on the network. > >

Re: [lwip-users] TFTP init

2017-01-18 Thread nrichard
Stephen Cowell wrote > What ftp library are you using? I successfully used sftp with lwip > 1.4.1 and fatFS, no OS needed, to be an FTP server for an SD card. > > Are you being a server or a client? Sounds like client. Pretty sure > all the ftp things need a file system to work. > > Using a

Re: [lwip-users] TFTP init

2017-01-18 Thread Ajay Bhargav
It's not me but Nicholas is looking for an ftp server. I am not quite sure what's his exact requirements. -- Ajay On Jan 18, 2017 10:31 PM, "Jan Menzel" wrote: Hi Ajay! If sending an image is all you wont to do, you might consider using tftp. tftp is especially designed for this purpos

Re: [lwip-users] TFTP init

2017-01-18 Thread Jan Menzel
Hi Ajay! If sending an image is all you wont to do, you might consider using tftp. tftp is especially designed for this purpose, requires only udp but lacks features like authentication. Many bootloaders use tftp to boot using an image located on the network. Jan On 18.01.2017 14:

Re: [lwip-users] TFTP init

2017-01-18 Thread Stephen Cowell
What ftp library are you using? I successfully used sftp with lwip 1.4.1 and fatFS, no OS needed, to be an FTP server for an SD card. Are you being a server or a client? Sounds like client. Pretty sure all the ftp things need a file system to work. Using a file system is going to be easier

Re: [lwip-users] TFTP init

2017-01-18 Thread nrichard
Ajay Bhargav wrote > I guess you need to check memory configuration. How much RAM do you have? > Are you using memory pool or malloc? > One thing to note here, I have written modified vfs layer for both my > systems as none of them use FatFS. I don’t know if that will have any > impact as such. You

Re: [lwip-users] TFTP init

2017-01-18 Thread contact
options for memory settings. - Ajay B. From: nrichard Sent: Wednesday, January 18, 2017 7:39 PM To: lwip-users@nongnu.org Subject: Re: [lwip-users] TFTP init Ajay Bhargav wrote > I am using this FTP server on two of my devices (ARM board and ESP8266) > and it works perfectly fine. Can you

Re: [lwip-users] TFTP init

2017-01-18 Thread nrichard
Ajay Bhargav wrote > I am using this FTP server on two of my devices (ARM board and ESP8266) > and it works perfectly fine. Can you enable FTP debug prints and see where > exactly it is failing? > > Regards, > Ajay Bhargav I turned on TCP as well as FTP debugging, and low and behold, it tells me

Re: [lwip-users] TFTP init

2017-01-17 Thread contact
@nongnu.org Subject: Re: [lwip-users] TFTP init Philipp Tölke-7 wrote >> I personally like this implementation for FTP. It has file system backend >> with abstraction layer. >> >> https://github.com/toelke/lwip-ftpd > > Well, that is a server, the OP linked to a client

Re: [lwip-users] TFTP init

2017-01-17 Thread nrichard
Philipp Tölke-7 wrote >> I personally like this implementation for FTP. It has file system backend >> with abstraction layer. >> >> https://github.com/toelke/lwip-ftpd > > Well, that is a server, the OP linked to a client :-) > > Cheers, > Philipp I did need a server to host on my board. I'm ju

Re: [lwip-users] TFTP init

2016-12-21 Thread Philipp Tölke
> I personally like this implementation for FTP. It has file system backend > with abstraction layer. > > https://github.com/toelke/lwip-ftpd Well, that is a server, the OP linked to a client :-) Cheers, Philipp -- *fos4X GmbH | www.fos4x.de * Thalkirchner Str. 210, Geb. 6

Re: [lwip-users] TFTP init

2016-12-21 Thread Philipp Tölke
> I personally like this implementation for FTP. It has file system backend > with abstraction layer. > > https://github.com/toelke/lwip-ftpd Well, that is a server, the OP linked to a client :-) Cheers, Philipp -- *fos4X GmbH | www.fos4x.de * Thalkirchner Str. 210, Geb. 6

Re: [lwip-users] TFTP init

2016-12-21 Thread contact
I personally like this implementation for FTP. It has file system backend with abstraction layer. https://github.com/toelke/lwip-ftpd Regards, Ajay Bhargav www.8051projects.net From: Sergio R. Caprile Sent: Wednesday, December 21, 2016 6:04 PM To: lwip-users@nongnu.org Subject: Re: [lwip-users

Re: [lwip-users] TFTP init

2016-12-21 Thread Sergio R. Caprile
There is a nice FTP client library (RAW API) here: https://github.com/gezedo/lwftp Laurent, the author, can probably be found lurking around here. I contributed the data handler code, which also managed to find its way into the SMTP client, so you'll find a similar API to apps in the contrib tr

Re: [lwip-users] TFTP init

2016-12-20 Thread Dirk Ziegelmeier
The unix simhost has a working example in contrib http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/tree/ports/unix/unixsim/simhost.c Dirk On Tue, Dec 20, 2016 at 8:09 PM, Nicholas Richard wrote: > > Hello, > > I’m looking to get the TFTP server up and running, but I’m having a hard > tim

[lwip-users] TFTP init

2016-12-20 Thread Nicholas Richard
Hello, I'm looking to get the TFTP server up and running, but I'm having a hard time understanding the initialization function. I'm still somewhat new to lwip so I tried looking up an example, but have only seen the older methods where the init function had no parameters. I'm guessing this way