Network Component  Version 7.19.0
MDK Middleware for IPv4 and IPv6 Networking
Enumerations

Enumerations of the FTP Client. More...

Enumerations

enum  netFTP_Command {
  netFTP_CommandPUT ,
  netFTP_CommandGET ,
  netFTP_CommandAPPEND ,
  netFTP_CommandDELETE ,
  netFTP_CommandLIST ,
  netFTP_CommandRENAME ,
  netFTP_CommandMKDIR ,
  netFTP_CommandRMDIR ,
  netFTP_CommandNLIST
}
 FTP Commands. More...
 
enum  netFTPc_Request {
  netFTPc_RequestUsername ,
  netFTPc_RequestPassword ,
  netFTPc_RequestDirectory ,
  netFTPc_RequestName ,
  netFTPc_RequestNewName ,
  netFTPc_RequestListMask ,
  netFTPc_RequestList ,
  netFTPc_RequestLocalFilename
}
 FTP Client Requests. More...
 
enum  netFTPc_Event {
  netFTPc_EventSuccess = 0 ,
  netFTPc_EventTimeout ,
  netFTPc_EventLoginFailed ,
  netFTPc_EventAccessDenied ,
  netFTPc_EventFileNotFound ,
  netFTPc_EventInvalidDirectory ,
  netFTPc_EventLocalFileError ,
  netFTPc_EventError
}
 FTP Client Events. More...
 

Description

Enumerations of the FTP Client.

Enumeration Type Documentation

◆ netFTP_Command

FTP Commands.

Parameter for:

Enumerator
netFTP_CommandPUT 

Puts a file on FTP server.

netFTP_CommandGET 

Retrieves a file from FTP server.

netFTP_CommandAPPEND 

Append file on FTP server (with create)

netFTP_CommandDELETE 

Deletes a file on FTP server.

netFTP_CommandLIST 

Lists files stored on FTP server.

netFTP_CommandRENAME 

Renames a file on FTP server.

netFTP_CommandMKDIR 

Makes a directory on FTP server.

netFTP_CommandRMDIR 

Removes an empty directory on FTP server.

netFTP_CommandNLIST 

Lists file names only (short format)

◆ netFTPc_Event

FTP Client Events.

Parameter for:

Enumerator
netFTPc_EventSuccess 

File operation successful.

netFTPc_EventTimeout 

Timeout on file operation.

netFTPc_EventLoginFailed 

Login error, username/password invalid.

netFTPc_EventAccessDenied 

File access not allowed.

netFTPc_EventFileNotFound 

File not found.

netFTPc_EventInvalidDirectory 

Working directory path not found.

netFTPc_EventLocalFileError 

Local file read/write error.

netFTPc_EventError 

Generic FTP client error.

◆ netFTPc_Request

FTP Client Requests.

Parameter for:

Enumerator
netFTPc_RequestUsername 

Username to login to FTP server.

netFTPc_RequestPassword 

Password to login to FTP server.

netFTPc_RequestDirectory 

Working directory path on server for all commands.

netFTPc_RequestName 

File or Directory name for FTP commands.

netFTPc_RequestNewName 

New File or Directory name for RENAME command.

netFTPc_RequestListMask 

File filter/mask for LIST command (wildcards allowed)

netFTPc_RequestList 

Received data if LIST command is given.

netFTPc_RequestLocalFilename 

Local filename (including path)