FTP Copy Action
The FTP Copy action plugin is available in the Hub (FTP Copy plugins).
Plugin version: 1.3.1
Copy files from FTP server to the specified destination.
A common use case is to have files uploaded on the FTP server in compressed format. These files can then be accessed over the network using FTP by various applications. This plugin targets use case where files can be downloaded from FTP server in an uncompressed format and stored on the desired destination such as HDFS
.
Configuration
Property | Macro Enabled? | Description |
---|---|---|
Host |
| Required. Specifies the host name of the FTP server. |
Port | Yes | Optional. Specifies the port on which FTP server is running. Default is 21. |
Username | Yes | Optional. Name of the user to log in to the FTP server. Default is anonymous. |
Password | Yes | Optional. Password to log in to FTP server. Default is empty. |
Source directory | Yes | Required. Directory on the FTP server that is to be copied. |
Destination directory | Yes | Required. Specifies the destination directory on HDFS to copy files to. If the directory does not exist, it will be created. |
Regex to match files that needs to be copied | Yes | Optional. Regex to copy only the files that match. By default, all files will be copied. |
Unzip files? | No | Optional. Boolean flag to determine whether zip files on the FTP server need to be extracted on the destination while copying. Default is true. |
Created in 2020 by Google Inc.