定制 apiopenstudio/transport_sftp 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

apiopenstudio/transport_sftp

Composer 安装命令:

composer require apiopenstudio/transport_sftp

包简介

Transport for ApiOpenStudio output over the SFTP protocol.

README 文档

README

Transport for ApiOpenStudio output over the SFTP protocol.

Adding to your project

Composer

$ composer require apiopenstudio/transport_sftp

Configuration

Add a remote output processor to your resource.

The output section example below will return the output in the response as well as upload the response to a server using SFTP:

output:
    -
        processor: xml_remote
        id: example XML Remote output
        filename: example.xml
        transport: ApiOpenStudio\Plugins\TransportSftp
        parameters:
            host:
            username:
            root_path:
            password:
            private_key:
            passphrase:
            port:
            user_agent:
            timeout:
            max_tries:
            fingerprint_string:
    - 
        response

Note: the value for the transport is the full namespace path.

Parameters

Required

  • host
  • username
  • root_path

Optional

  • password
  • private_key
  • passphrase
  • port
  • user_agent
  • timeout
  • max_tries
  • fingerprint_string

Further information

See FlySystem documentation and The League GitHub for more details.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-21