SOCKS FTP Client for nodejs

node-socksftp is an FTP client for nodejs supporting SOCKS proxy.

Note: This is a fork of the node-ftp project with added support for connecting to a SOCKS proxy.


  1. Copy the socksftp package to your program’s working directory.
  2. Make a new FTP connection through a SOCKS proxy.


var server = {
	'host': '',
	'port': 21,
	'user': 'ftpusername',
	'password': 'ftppassword',
	'socksproxy': ''

var Client = require('socksftp');

var c = new Client();
c.on('ready', function() {
	//run ftp command here...
c.on('error', function(err){
	console.error('socksftp error: ' + err);



You can report any issue via

Download now:


2 thoughts on “SOCKS FTP Client for nodejs”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

A personal dev blog by C.J. Ng