- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- NetLogic tutorial
- Object and variable references
FTP Server configuration
The FTP Server enables a FTP server within a
FactoryTalk Optix Application
.The runtime script
FTPServerLogic
enables an FTP server within a FactoryTalk Optix Application
. The script is found in the Scripts
category in Template Libraries
. The server should be started and stopped using the exported OPCUA methods -- StartFtpServer
and StopFtpServer
.Required packages
SeeAdd NuGet packages and install stable versions of these required NuGet packages:
Required parameters
The FTP server requires the following parameters to be configured:
Parameter | Description | Configuration |
---|---|---|
IPAddress | IP address assigned to the server. | The default value is set to 127.0.0.1 . |
Port | Port assigned to the FTP server, | The default value is 21 . |
FilesystemRoot | FTP server exposes only a fraction of the local filesystem to client | On FactoryTalk Optix Panels , you can only set either:
|
MinimumPASVPort | Minimum port number for managing file listing and file transfer. | This value must be greater than the default 1024 . |
MaximumPASVPort | Maximum port number for managing file listing or file transfer. | This value must be greater than MinimumPASVPort . The default value for MaximumPASVPort is 1100 . |
Username/Password | FTP Server login credentials | |
ServerCertificateFile | Server public certificate file, according to standard X509v3 and with .der extension. | It must be found in the FTOptixApplication/ProjectFiles/PKI/Own/Certs folder. If specified, the private key must also be specified. If not specified, it is automatically generated at runtime in the FTOptixApplication/ApplicationFiles/PKI/Own/Certs folder. |
ServerPrivateKeyFile | Server private key file, with ASCII Base64 encoding and .pem extension. | It must be found in the FTOptixApplication/ProjectFiles/PKI/Own/Certs folder. If specified, the certificate must also be specified. If not specified, it is automatically generated at runtime in the FTOptixApplication/ApplicationFiles/PKI/Own/Certs folder. |
UseFtps | Determine protocol to use, FTP or FTPS. | The FTP server is started/stopped via methods StartFtpServer/StopFtpServer. |
Provide Feedback