ftp_server_misc.h
const char_t * ftpServerStripRootDir(FtpServerContext *context, const char_t *path)
Strip root dir from specified pathname.
Definition: ftp_server_misc.c:324
void ftpServerCloseConnection(FtpClientConnection *connection)
Close client connection properly.
Definition: ftp_server_misc.c:398
uint_t ftpServerGetFilePermissions(FtpClientConnection *connection, const char_t *path)
Get permissions for the specified file or directory.
Definition: ftp_server_misc.c:182
uint16_t ftpServerGetPassivePort(FtpServerContext *context)
Get a passive port number.
Definition: ftp_server_misc.c:88
const char_t * ftpServerStripHomeDir(FtpClientConnection *connection, const char_t *path)
Strip home directory from specified pathname.
Definition: ftp_server_misc.c:362
void ftpServerTick(FtpServerContext *context)
Handle periodic operations.
Definition: ftp_server_misc.c:51
error_t ftpServerGetPath(FtpClientConnection *connection, const char_t *inputPath, char_t *outputPath, size_t maxLen)
Retrieve the full pathname.
Definition: ftp_server_misc.c:130
FTP server (File Transfer Protocol)
TCP/IP stack core.
size_t ftpServerFormatDirEntry(const FsDirEntry *dirEntry, uint_t perm, char_t *buffer)
Format a directory entry in UNIX-style format.
Definition: ftp_server_misc.c:233