TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137082 times)
  2. FAT32 Library (70223 times)
  3. Network Ethernet Library (56095 times)
  4. USB Device Library (46418 times)
  5. Network WiFi Library (42034 times)
  6. FT800 Library (41378 times)
  7. GSM click (29109 times)
  8. mikroSDK (26558 times)
  9. PID Library (26487 times)
  10. microSD click (25486 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

CycloneTCP FTP Client Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-04-01

Package Version: 2.0.0.5

mikroSDK Library: 2.0.0.0

Category: Ethernet

Downloaded: 29 times

Not followed.

License: MIT license  

The application demonstrates CycloneTCP FTP client functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "CycloneTCP FTP Client Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "CycloneTCP FTP Client Demo" changes.

Do you want to report abuse regarding "CycloneTCP FTP Client Demo".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
GCC for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

CycloneTCP FTP Client DEMO

This example demonstrates how FTP client running on MCU reads a file from remote FTP server. It will connect to the FTP server "test.rebex.net", port number 21, then log in using username: "demo" and password: "password", and open the file "readme.txt". File will be read and its contents will be written over UART/Application output.

Hardware Support

  • Connect Ethernet cable to ETH connector on the right side of the board.
  • Connect USB-C cable to USB-UART connector on the left side of the board.

image

Software Support

We provide demo code for testing FTP client functionality. For example to work, proper clock setup is needed. To create a setup with the adequate clock scheme, follow these steps:

  1. Click on Setups and select New.
  2. Select GCC ARM or RISC-V compiler and click on Advanced.
  3. From Redirect standard output to: drop down menu, select UART, and then click Save.
  4. Select Board you are using.
  5. Select your MCU and click on Advanced.
  6. Select Config scheme from drop down menu, it will have MCU_NAME_ETHERNET name.
  7. If you dont see MCU_NAME_ETHERNET scheme for your MCU then ETHERNET module is not supported.
  8. Click Save, then Next.
  9. Select desired display, and choose programmer/debugger tool.
  10. Click Finish.
  11. Program the MCU.
  12. In case of a setup with UART open Tools view (Ctrl + 7) and select UART Terminal. In case of setup with Application output, run debug and go straight to step 17
  13. Click on Options and change Port to the one you are using.
  14. Furthemore, change Baud rate to 115200 bps.
  15. Press Configure
  16. Click on Connect.
  17. When prompted, press the appropriate button, and on UART/Application output you can observe the process of connecting to FTP server and reading a file from it.

example

example


ALSO FROM THIS AUTHOR

LIN click

0

The LIN Click is a Click board™ that features the TLE7259-3GE, a LIN transceiver from Infineon Technologies, with integrated wake-up and protection features.

[Learn More]

ECG 3 click

6

ECG 3 click is a complete solution for the development of ECG applications, which utilizes a specialized clinical-grade biopotential analog front-end (AFE) IC. ECG 3 click is an ideal solution for the development of heart rate monitoring applications, fitness applications, for the ECG bio-authentication, and similar applications.

[Learn More]

Bluetooth 2 click

0

Example for Bluetooth2 click board in mikroBUS form factor. This expects a message from the Master (Bluetooth dongle, mobile phone, etc) and displays in on the Lcd.

[Learn More]