Sendfile

The Sendfile action icon - a piece of paper with one corner folded down and an arrow pointing to the right.

通过 FTP 和 SFTP 协议将文件经由 Internet 传输到远程服务器。

Sendfile 会传输一个文件,并在完成后沿 Default 分支向下移动。

Dependencies

当满足以下条件时,系统会承受过大负载:

  • 您的业务单位有超过 ~15 个并发呼叫。
  • 当前运行的脚本包含文件相关操作,例如 WritefileReadfileFileexist

这会引发限制。您的业务单位将在脚本执行和其他功能(包括联系处理和状态更改)方面遇到延迟,直到积压的流程完成为止。

  • Sendfile 需要远程 FTP 服务器的地址、用户名和密码。
  • 如果您正在使用 云存储服务,请在发送文件时使用 Admin 而不是使用 Sendfile 操作来配置复制到 Copy to SEA 选项。

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

Input Properties

这些属性定义操作在执行时使用的数据。

属性

说明

说明文字

输入在脚本中唯一标识此操作的短语。标题显示在脚本画布上的操作图标下方。The default is the action name.

FileName

要传输到远程 FTP 服务器的文件的文件名。

Protocol

用于发送文件的协议(FTP SFTP)。

TargetFolder

远程 FTP 服务器上要存储传输文件的文件夹。

HostName

远程 FTP 服务器的主机名(ftp.webaddress.com 或 webaddress.com)。
Username 用于登录远程 FTP 服务器的用户名。
Password

用于登录远程 FTP 服务器的密码。

PassiveMode

确定此操作是否使用被动 FTP 模式发送文件。Enter True to use passive mode or False if you do not want to use this option.

结果分支条件

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。

错误

操作无法正确执行时所采用的路径。例如,出现连接不良、语法错误等意外问题时。_ERR 变量以单个下划线字符填充,应包含对问题的简要解释。