mirror of https://github.com/apache/nifi.git
NIFI-7484:fix ListFTP and FetchFTP docs. Change 'SFTP' to 'FTP' in description
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #4294.
This commit is contained in:
parent
e04e6793ca
commit
a1f277fdf7
|
@ -37,7 +37,7 @@ import org.apache.nifi.processors.standard.util.FTPTransfer;
|
|||
// Note that we do not use @SupportsBatching annotation. This processor cannot support batching because it must ensure that session commits happen before remote files are deleted.
|
||||
@InputRequirement(Requirement.INPUT_REQUIRED)
|
||||
@Tags({"ftp", "get", "retrieve", "files", "fetch", "remote", "ingest", "source", "input"})
|
||||
@CapabilityDescription("Fetches the content of a file from a remote SFTP server and overwrites the contents of an incoming FlowFile with the content of the remote file.")
|
||||
@CapabilityDescription("Fetches the content of a file from a remote FTP server and overwrites the contents of an incoming FlowFile with the content of the remote file.")
|
||||
@SeeAlso({GetSFTP.class, PutSFTP.class, GetFTP.class, PutFTP.class})
|
||||
@WritesAttributes({
|
||||
@WritesAttribute(attribute = "ftp.remote.host", description = "The hostname or IP address from which the file was pulled"),
|
||||
|
|
|
@ -57,8 +57,8 @@ import org.apache.nifi.processors.standard.util.FTPTransfer;
|
|||
@WritesAttribute(attribute = ListFile.FILE_SIZE_ATTRIBUTE, description = "The number of bytes in the source file"),
|
||||
@WritesAttribute(attribute = ListFile.FILE_LAST_MODIFY_TIME_ATTRIBUTE, description = "The timestamp of when the file in the filesystem was" +
|
||||
"last modified as 'yyyy-MM-dd'T'HH:mm:ssZ'"),
|
||||
@WritesAttribute(attribute = "filename", description = "The name of the file on the SFTP Server"),
|
||||
@WritesAttribute(attribute = "path", description = "The fully qualified name of the directory on the SFTP Server from which the file was pulled"),
|
||||
@WritesAttribute(attribute = "filename", description = "The name of the file on the FTP Server"),
|
||||
@WritesAttribute(attribute = "path", description = "The fully qualified name of the directory on the FTP Server from which the file was pulled"),
|
||||
})
|
||||
@Stateful(scopes = {Scope.CLUSTER}, description = "After performing a listing of files, the timestamp of the newest file is stored. "
|
||||
+ "This allows the Processor to list only files that have been added or modified after "
|
||||
|
|
Loading…
Reference in New Issue