Socket
Socket
Sign inDemoInstall

@nexrender/provider-ftp

Package Overview
Dependencies
7
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nexrender/provider-ftp

Allows nexrender to interact with an external FTP server to download or upload assets and/or results of rendering.


Version published
Weekly downloads
228
decreased by-89.13%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Provider: FTP

Allows nexrender to interact with an external FTP server to download or upload assets and/or results of rendering.

Refer to mscdex/node-ftp for information regarding general abilities and usage.

Installation

npm i @nexrender/provider-ftp -g

Usage (download)

To download assets from an FTP server you would need to specify relevant information for every asset:

(Including hostname, port, username and pasword if needed).

{
    "assets": [
        {
            "src": "ftp://root:password123132@ftp.example.com:2121/home/files/background.jpg",
            "type": "image",
            "layerName": "background.png"
        },
        {
            "src": "ftp://public-ftp.example.com/home/audio.mp3",
            "type": "audio",
            "layerName": "theme.mp3"
        }
    ]
}

Usage (upload)

Upload via FTP can be done using @nexrender/action-upload

Basic params info:

  • host - string - The hostname or IP address of the FTP server. Default: 'localhost'
  • port - integer - The port of the FTP server. Default: 21
  • user - string - Username for authentication. Default: 'anonymous'
  • password - string - Password for authentication. Default: 'anonymous@'
  • output - string - Optional argument to notify how you want to save your file on a remote machine as

Example:

{
    "actions": {
        "postrender": [
            {
                "module": "@nexrender/action-upload",
                "input": "result.mp4",
                "provider": "ftp",
                "params": {
                    "host": "ftp.example.com",
                    "port": 21,
                    "user": "root",
                    "password": "pass123123",
                    "output": "/var/mystuff/output.mp4"
                }
            }
        ]
    }
}

FAQs

Last updated on 03 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc