FTPCaller
从FTP服务器上传和下载数据。变换器允许从属性值或文件上载。远程文件可以被下载到本地文件中,也可以是要素属性。变换器还支持删除远程文件。
这transformer supports the ftp, ftps and sftp protocols. When using the sftp protocol, username and password authentication must be used, as SSH key authentication is not supported.
输出端口
已成功处理的功能将通过此输出端口输出。
参数
Transfer Parameters
此参数用于在FTP服务器上指定远程文件。
这Transfer Type参数表示的FTP操作类型transformer will execute. The set of possible operations is:
- 下载到属性:指定的远程文件URL.parameter will be downloaded into the attribute specified in theTarget Attribute范围。该属性将被标记为命名的编码属性编码parameter – no actual encoding conversion will be performed.
- Download to a File:指定的远程文件URL.参数将下载到名为的本地文件目标文件范围。如果本地文件已存在,则将使用远程文件的内容覆盖。
- Upload from an Attribute: The data given in the上传数据parameter will be uploaded to the remote file specified in theURL.范围。
- Upload from a File:本地文件名为文件上传parameter will be uploaded to the remote file specified in theURL.范围。If the local file does not exist, the feature will be output through the
output port. - Delete a Remote File:指定的远程文件URL.参数将从FTP服务器中删除。
Connection Parameters
这些值用于在连接到需要用户认证的FTP服务器时识别用户。
可以以二进制模式或ASCII模式执行FTP上传或下载。使用ASCII模式时,FTP服务器可以执行一些文本转换。例如,将UNIX行终端转换为Windows行终止符,反之亦然。使用二进制模式时,将在没有任何修改的情况下传输所有数据。默认情况下,使用二进制模式,几乎所有情况都应该可以接受。
Features output though the
Secure FTP Parameters
如果此参数设置为Yes,转换器将在连接到FTPS服务器时验证SSL证书。这是在两个阶段完成的:
- 确保证书是我们尝试连接的主机的。
- 确保证书有效。
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options。
Transformer Categories
FME许可级别
FME专业版及以上
搜索FME知识中心
搜索有关此变压器的样本和信息FME知识中心。