apiopenstudio / transport_ftp
Transport for ApiOpenStudio output over the FTP protocol.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:package
pkg:composer/apiopenstudio/transport_ftp
Requires
- league/flysystem-ftp: ^3.0
This package is auto-updated.
Last update: 2025-10-22 04:24:33 UTC
README
Transport for ApiOpenStudio output to a remote server using the FTP protocol.
Adding to your project
Composer
$ composer require apiopenstudio/transport_ftp
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 FTP:
output:
    -
        processor: xml_remote
        id: example XML Remote output
        filename: example.xml
        transport: ApiOpenStudio\Plugins\TransportFtp
        parameters:
            host: 192.168.0.1
            root: /home/ftp_user
            username: ftp_user
            password: secret
            port: 21
            ssl: true
            timeout: 90
            utf8: false
            passive: troe
            transferMode: FTP_BINARY
            systemType: unix
            ignorePassiveAddress: true
            timestampsOnUnixListingsEnabled: false
            recurseManually: true
    - 
        response
Note: the value for the transport is the full namespace path.
Parameters
Required
- host - hostname
- root - root path
- username - username
- password - password
Optional
- port
- ssl - true|false
- timeout
- utf8 - true|false
- passive - true|false
- transferMode - PHP constant
- systemType - windows|unix
- ignorePassiveAddress - true|false
- timestampsOnUnixListingsEnabled - true|false
- recurseManually - true|false
Further information
See FlySystem documentation and The League GitHub for more details.