ftp_server.lib compile error ?

Hi,

I have a project running which use an ftp server for file transfers, it’s working fine but since a added a feature in my program to shutdown the ftp server when the ethernet cable is removed I have a strange compiler error.

so when I use the ftp_shutdown(0); function I get the following error when I try to compile.

line  919 : ERROR FTP_SERVER.LIB   : Return type (re)declared differently after use.
line 2017 : WARNING FTP_SERVER.LIB   : Reference to 'ftp_cmd_quit' has no corresponding prototype.

I’m working with a SmartStar expandable system.

Any help would be greatly appreciated!

Thanks