31#ifndef _FTP_SERVER_MISC_H
32#define _FTP_SERVER_MISC_H
39#define FTP_SERVER_180_DAYS (180 * 86400)
47void ftpServerTick(FtpServerContext *context);
49uint16_t ftpServerGetPassivePort(FtpServerContext *context);
51error_t ftpServerGetPath(FtpClientConnection *connection,
52 const char_t *inputPath, char_t *outputPath,
size_t maxLen);
54uint_t ftpServerGetFilePermissions(FtpClientConnection *connection,
57size_t ftpServerFormatDirEntry(
const FsDirEntry *dirEntry, uint_t perm,
60const char_t *ftpServerStripRootDir(FtpServerContext *context,
63const char_t *ftpServerStripHomeDir(FtpClientConnection *connection,
66void ftpServerCloseConnection(FtpClientConnection *connection);
error_t
Error codes.
Definition error.h:43
FTP server (File Transfer Protocol)
Directory entry.
Definition fs_port.h:108