1.45.6 • Published 2 years ago
@nexrender/provider-ftp v1.45.6
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: 21user
- 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"
}
}
]
}
}
1.45.6
2 years ago
1.38.0
3 years ago
1.36.0
3 years ago
1.37.3
3 years ago
1.37.4
3 years ago
1.26.1
4 years ago
1.24.2
5 years ago
1.17.2
5 years ago
1.10.0
5 years ago
1.8.16
6 years ago
1.8.9
6 years ago
1.8.7
6 years ago
1.8.6
6 years ago
1.8.5
6 years ago
1.8.3
6 years ago
1.5.7
6 years ago
1.5.0
6 years ago
1.5.0-alpha.1
6 years ago
1.4.1
6 years ago
1.4.0
6 years ago