Harmony v2.06 FTP Server
I am having issues getting the FTP Server running that is built in to the Harmony TCP/IP Stack. I am sure it is something simple that I am over looking but I can't seem to find the issue. It seems from the documentation that the FTP server should just function with minimal configuration. As in, no actual application code required.
The project consists of a custom board with a PIC32MZ2048EFH100. The board is functioning primarily as an ethernet switch with an embedded web server, hosted from an SD card. Now, all of that is functioning well. The problem is that I also need it to function as an FTP server so I can load new firmware if needed. My FTP client (Filezilla and command line) will connect to the board, but the "ls" command fails with "425 Can't create data socket". This was supposed to be the easy part :)
Below are my FTP config straps from system_config.h
/*** FTP Configuration ***/
#define TCPIP_FTP_USER_NAME_LEN 10
#define TCPIP_FTP_PASSWD_LEN 10
#define TCPIP_FTP_MAX_CONNECTIONS 5
#define TCPIP_FTP_DATA_SKT_TX_BUFF_SIZE 2048 // 2048
#define TCPIP_FTP_DATA_SKT_RX_BUFF_SIZE 2048 // 2048
#define TCPIP_FTPS_TASK_TICK_RATE 10 // 10
#define TCPIP_FTP_USER_NAME "meepmerp"
#define TCPIP_FTP_TIMEOUT 1200
None of the Harmony examples show this configuration, however, some claim to use FTP, so is the above even needed? The SD card is formatted as FAT and as I stated earlier, the web server is functioning from it.
Any help would be greatly appreciated