Description:

Sends FlowFiles to an FTP Server

Additional Details...

Tags: remote, copy, egress, put, ftp, archive, files

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDescriptionDefault ValueValid ValuesELSensitive
HostnameThe fully qualified hostname or IP address of the remote systemYesNo
PortThe port that the remote system is listening on for file transfers21NoNo
UsernameUsernameNoNo
PasswordPassword for the user accountNoYes
Remote PathThe path on the remote system from which to pull or push filesYesNo
Create DirectorySpecifies whether or not the remote directory should be created if it does not exist.false
  • true
  • false
NoNo
Batch SizeThe maximum number of FlowFiles to send in a single connection500NoNo
Connection TimeoutAmount of time to wait before timing out while creating a connection30 secNoNo
Data TimeoutAmount of time to wait before timing out while transferring data30 secNoNo
Conflict ResolutionDetermines how to handle the problem of filename collisionsNONE
  • REPLACE
  • IGNORE
  • RENAME
  • REJECT
  • FAIL
  • NONE
NoNo
Dot RenameIf true, then the filename of the sent file is prepended with a "." and then renamed back to the original once the file is completely sent. Otherwise, there is no rename. This property is ignored if the Temporary Filename property is set.true
  • true
  • false
NoNo
Temporary FilenameIf set, the filename of the sent file will be equal to the value specified during the transfer and after successful completion will be renamed to the original filename. If this value is set, the Dot Rename property is ignored.YesNo
Transfer ModeThe FTP Transfer ModeBinary
  • Binary
  • ASCII
NoNo
Connection ModeThe FTP Connection ModePassive
  • Active
  • Passive
NoNo
Reject Zero-Byte FilesDetermines whether or not Zero-byte files should be rejected without attempting to transfertrue
  • true
  • false
NoNo
Last Modified TimeThe lastModifiedTime to assign to the file after transferring it. If not set, the lastModifiedTime will not be changed. Format must be yyyy-MM-dd'T'HH:mm:ssZ. You may also use expression language such as ${file.lastModifiedTime}. If the value is invalid, the processor will not be invalid but will fail to change lastModifiedTime of the file.YesNo
PermissionsThe permissions to assign to the file after transferring it. Format must be either UNIX rwxrwxrwx with a - in place of denied permissions (e.g. rw-r--r--) or an octal number (e.g. 644). If not set, the permissions will not be changed. You may also use expression language such as ${file.permissions}. If the value is invalid, the processor will not be invalid but will fail to change permissions of the file.YesNo
Use CompressionIndicates whether or not ZLIB compression should be used when transferring filesfalse
  • true
  • false
NoNo

Relationships:

NameDescription
failureFlowFiles that failed to send to the remote system; failure is usually looped back to this processor
rejectFlowFiles that were rejected by the destination system
successFlowFiles that are successfully sent will be routed to success