The FTPHost object is initially set using FTPHost=id. See the example below.
Once an FTPHost definition is initiated with the FTPHost key name, the settings include:
Name |
Type |
Description |
uri |
text (required) |
The DNS or IP address of the FTP host
Example: ftp.inventu.com |
port |
Integer (default=21) |
Optional setting that is only needed if your FTP host listens on a non-standard FTP Port. |
userID |
text (required) |
The userid to sign-in to the FTP host |
pw |
text (required) |
The password used to sign-in to the FTP host |
autoConnect |
Boolean (default=true) |
Optional setting to limit the connection to simple FTP. When autoConnect is set to true or yes, or not defined, the FluentFTP AutoDetect call is used to determine the most secure/best protocol to connect with. Note that this the AutoDetect will only be used the first connection for the host, so it will not impact performance.
As documented for FluentFTP the AutoDetect works in this order of preference:
1.Explicit FTPS (TLS) - very common 2.Plaintext FTP - very common 3.Implicit FTPS (SSL) outdated and rare |
validateAnyCertificate |
Boolean (default=false) |
If the autoConnect is not set or set to true/yes, and the server supports FTPS, it may have an outdated certificate or one that doesn't match the DNS name you are accessing it with. If this is the case, the connection will result in an error. If you are confident that the server is correct, set the value to true and the certificate will only be used for encryption, not verifying the server identity. |
clientCertificate |
text (optional) |
If autoConnect is net set or set to true/yes, and the server not only supports FTPS but also requires a client certificate, you will need to install a valid certificate somewhere on your Inventu Viewer server and use this setting to identify its location.
Example: clientCertificate=c:\programdata\inventu\myftpcert.cer |
Example Host definition:
FTPHost=Inventu
uri=ftp.inventu.com
userID=example
pw=password
autoConnect=true
validateAnyCertificate=true