ftpclient: Lua ftp client driver for nginx-module-lua based on the cosocket API
If you haven't set up RPM repository subscription, sign up. Then you can proceed with the following steps.
CentOS/RHEL 6, 7, 8 or Amazon Linux 2
yum -y install https://extras.getpagespeed.com/release-latest.rpm yum -y install lua-resty-ftpclient
To use this Lua library with NGINX, ensure that nginx-module-lua is installed.
This document describes lua-resty-ftpclient v1.1 released on Aug 07 2018.
lua-resty-ftpclient - Lua ftp client driver for the ngx_lua based on the cosocket API
You may find additional configuration tips and documentation for this module in the GitHub repository for nginx-module-ftpclient.