Programming Guide
API reference
Include Files
Wherever you want to use µC/FTPs, you should include the following header:
Include file | Description |
---|---|
Source/ftp-s.h | Contains FTP API definitions |
Module initialization
Function name | Description |
---|---|
FTPs_Init() | Initialize µC/FTPs module's objects and tasks. This function must be called prior to any other API |
Authentication Callback
Function name | Description |
---|---|
FTPs_AuthUser() | This function is called by the server every time a user log on and this function must validate the user credential and set the session parameters. |
Server passive mode address
Function name | Description |
---|---|
FTPs_SetPublicAddr() | This function should be called to update the address provided by the server in passive mode. |