Wakanda FTP Module.
Old Wakanda.
The module includes lftp 4.6.0 executable for Mac, Windows x64, and Linux x64.
The executables for Mac are built with @loader_path and for Linux with $ORIGIN, so no need to install lftp, libiconv, libintl, libidn, libreadline, zlib, libgmp, libnettle, libhogweed or libgnutls.
- Note: The binaries for Mac and Linux were built from the standard GNU source code and uses gnutls. The binary for Windows were obtained from here and uses OpenSSL.
Please read install.
var modulesFolder = FileSystemSync('Modules');
var ftp = require(modulesFolder.path + 'ftp');
var code = '';
code += 'open ftp://ftp.4d.com\n';
code += 'lcd ~/Downloads/\n';
code += 'get Favicon.ico\n';
code += 'bye\n';
ftp.ftp(code);