Stopping/Disabling the µTasker FTP server

void fnStopFtp(void);

fnStopFtp is called to stop operation of the µTasker FTP server. The call releases the FTP control and data sockets (returning them to the socket pool). The call doesn't actively close any presently open connections; these will no longer exist and so would break down at TCP level.

The function doesn't return a result since it will always stop an active server. Trying to stop a non-existent server will be ignored and not cause any further errors.

Project options

No relevant project options.

Examples

fnStopFtp(); // stop FTP server operation and not allow further FTP connections until fnStartFTP() is called again

Related functions

fnStartFtp();


For more details about the use of the µTasker FTP server see the document µTasker FTP.



Please use the µTasker forum to ask specific questions.