The FTPS Connector allows you to establish a secure FTP connection
Additional Info
Requires Mule Enterprise License |
Yes |
Requires Entitlement |
Yes |
Mule Version |
3.6.0 or higher |
Configs
Partner Manager Configuration
<ftps:partner-manager-config>
Configuration
Integrate with Anypoint Partner Manager to manage your FTPS Connector and record FTPS transmissions. The B2B Connector must be configured before enabling this feature.
Basic Configuration
<ftps:config>
Connection Management
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
name |
The name of this configuration. With this name can be later referenced. |
x |
||
host |
x |
|||
port |
x |
|||
username |
x |
|||
password |
x |
|||
transferMode |
Choose between active and passive modes |
PASSIVE |
|
|
sslEncryptionMode |
Choose between implicit and explicit modes |
IMPLICIT |
|
|
keyStorePath |
Specify where the SSL Certificate is located |
|
||
keyStorePassword |
Specify the password for SSL Certificate |
|
||
disableCertificateValidation |
Server certificate validation required |
false |
|
|
clientKeyStorePath |
Specify where the SSL Certificate is located |
|
||
clientKeyStorePassword |
Specify the password for SSL Certificate |
|
||
disableClientCertificateValidation |
Client certificate validation required |
true |
|
|
reportedIpAddress |
Reportable IP address to be used in Active Mode |
|
||
minActivePort |
Minimum port for Active data transfers |
|
||
maxActivePort |
Maximum port for Active data transfers |
|
||
uploadTmpDir |
If set, the connector will try to upload files to the temporary directory and move them to their final destination once the upload completes." |
|
||
maxConcurrentReads |
If set, the connector will try to upload files to the temporary directory and move them to their final destination once the upload completes." |
1 |
|
|
streaming |
Content streaming. |
false |
|
Processors
Write
<ftps:write>
Write processor
XML Sample
<ftps:write config-ref="FTPS" filePath="/cloudhub/" fileName="this-one-file.json" />
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
filePath |
The path to the file to be read from the server. |
/ |
|
|
fileName |
Prefix for the new file to be created |
|
||
appendContents |
whether to append contents to an existing file or override it (default). |
false |
|
|
oHost |
host setting override |
|
||
oPort |
port setting override |
|
||
oTransferMode |
transfer mode setting override |
|
||
oSSLEncryptionMode |
SSL encryption mode setting override |
|
||
oUsername |
username setting override |
|
||
oPassword |
password setting override |
|
||
oServerKeyStorePath |
server keystore path setting override |
|
||
oServerKeyStorePassword |
server keystore password setting override |
|
||
oDisableServerCertificateValidation |
disable server certificate validation setting override |
|
||
oUploadTmpDir |
upload temp directory setting override |
|
||
oStreaming |
streaming setting override |
|
||
oReportedIpAddress |
reported IP address setting override for Active Mode |
|
||
oMinActivePort |
minimum client port setting override for Active Mode |
|
||
oMaxActivePort |
maximum client port setting override for Active Mode |
|
||
payload |
event where to read the payload from |
#[payload] |
|
Returns
Return Java Type | Description |
---|---|
the definitive filename stored on the server |
Sources
Read
<ftps:read>
Read processor
XML Sample
<ftps:read config-ref="FTPS" filePath="/cloudhub" fileName="this-one-*" />
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
callback |
SourceCallback |
used to pass the payload of the read file to the next component in the flow |
x |
|
filePath |
The path to the file to be read from the server |
/ |
|
|
fileName |
The filename to be read from the server (wildcards supported) |
|
||
moveToDir |
Directory to move files to after they've been read. If no value is set, the file will be deleted |
|
||
moveToFilename |
New filename to use under the move to directory. If no value is set, the original filename will be used |
|
||
pollingInitialDelay |
long |
The period to wait before checking the server for updates |
1000 |
|
pollingFrequency |
long |
The period to wait between checking the server for updates |
1000 |
|
sizeCheckWaitTime |
long |
The period to wait between file size change detection cycles |
0 |
|
zeroSizedIgnored |
boolean |
ignore zero-sized files |
false |
|
zeroSizeCheckWaitTime |
long |
The period to wait between file size change detection cycles for zero-sized files |
2000 |
|
zeroSizeCheckMaxRetries |
Maximum number of size check attempts for zero-sized files |
10 |
|
Returns
Return Java Type | Description |
---|---|
void |