FTP Server#
Management → FSFTP Servers
The FTPServer resource enables a node to function as an FTP server for file transfers.
Info
Node users that may access the FTPServer must have the FTP service permission.
OS-specific limitations#
Some operating systems have specific implementation details that are worth considering.
SR OS#
On SR OS, an FTPServer resource configured on a ManagementRouter will also enable the FTP server on the DefaultRouter, and vice versa. If one should be enabled but not the other, consider using CPM filters.
An FTPServer resource configured on a Router will also enable the FTP server on the DefaultRouter and the ManagementRouter. To disable the FTP server on those routers, create an additional FTPServer with type ManagementRouter or DefaultRouter and set the enabled property to false.
Dependencies#
Each FTPServer resource targets either a ManagementRouter, a DefaultRouter, or a Router. While only one of the three is required, all three are listed as dependencies.
ManagementRouter#
If the FTPServer is reachable through a ManagementRouter, the resource referenced by the router property must exist.
Management routers cannot be selected through label selectors.
DefaultRouter#
If the FTPServer is reachable through a DefaultRouter, the resource referenced by the router property must exist.
Label selectors may be used to select multiple DefaultRouters.
Router#
If the FTPServer is reachable through a Router, the resource referenced by the router property must exist.
Routers cannot be selected through label selectors.
Referenced resources#
The FTPServer does not reference any other EDA resources.
Examples#
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
FTPServer
SPEC
FTPServerSpec defines the desired state of FTPServer
-
Enable the FTP server.
-
Router to associate the server with.
-
The Kind of the router for the server.
enum: "ManagementRouter", "Router", "DefaultRouter" -
Selects router resources based on the defined Kind. Applies to DefaultRouter only. Not supported for Router and ManagementRouter.
STATUS
FTPServerStatus defines the observed state of FTPServer
-
Health score of the FTP server.
format: int32range: <= 100 -
Reason for the health score.
-
Indicates when the FTP server last changed state.
-
Operational state of the FTP server.
enum: "Up", "Down", "Degraded", "Unknown"