FTP client

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FTP client

3,572 Views
PO220
Contributor IV

Hi

I work with K64 and FreeRTOS for a Ethernet and SD card projet. KSDKv2.0 demo projects work well but I don't find libraries for FTP client.

 

SD cart => OK

SSL/TLS => probably OK with mbedTLS or WolfSSL

FTP client => ???????

 

I need to choose between :

>>a simple FTP client

>>a FTPS client (simple FTP + SSL/TLS)

>>if possible a SFTP client (SSH file transfert protocole).

 

Do you know libraries for FTP client and SFTP(SSH) ?

 

Thanks in advance

Labels (1)
4 Replies

1,604 Views
ivadorazinova
NXP Employee
NXP Employee

Hi David.

Thank you for your question.

You have these possibilities.

  • use fNET embedded TCP/IP stack which has TFTP Client

More details you will find at FNET Embedded TCP/IP Stack

also with the questions regarding fNET FNET - Embedded TCP/IP Stack download | SourceForge.net

  • use RTCS (MQX Stack) which you will find under KSDK 1.3

I hope this helps you.

Best Regards,

Iva

1,604 Views
yb
Contributor IV

Hi Iva,

Your solution seems very great, but could you explain me how can I add RTCS to a FreeRTOS project ; is it possible ?

Yvan

0 Kudos

1,604 Views
ivadorazinova
NXP Employee
NXP Employee

Hello Yvan.

MQX has RTCS - Real-Time TCP/IP Stack. So if you want to use RTCS is needed to use KSDK 1.3 and MQX.

Please, see for example

Importing lwip into existing KSDK 1.2 MQX project

How to add RTCS to a Processor Expert Project Using KDS and KSDK

If you want to work with FreeRTOS, you can check lwIP here:

How to Add lwIP to KDS3.0 Project

GitHub - gezedo/lwftp: A lightweight FTP client using raw API of LWIP

using PEx

Processor Expert UDP+DHCP/LwIP demo application for FRDM-K64F target board

I hope this helps you.

Best Regards,

Iva

1,604 Views
yb
Contributor IV

Iva,

Thanks for your answers.

1. I have to use FreeRTOS, no MQX for this project...

2. I have tested this solution : the client is connected to the serveur, the new file is created, but not filled. And no ability to read a file from the server.

3. No way ;-)

I think I have 3 ways :

- Continue with the 2) make the STOR ok and add the RETR functionality.

- Try to modify the FTP client from RTCS to use it without MQX !

- Find another FTP client ?

Yvan

0 Kudos