Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ftp-node

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftp-node

A wrapper for ftp function because ftp is super complicated and I just want to upload

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ftp

A semi-nonsense ftp client module for nodejs

Why?

Because i already made sftp-node and I'm too lazy typing code and ftp by mscdex(brian white) is amazing!

functions

upload(credentials,remoteFilePath,localFilePath)

Uploads the file

var ftp = require('ftp-node');


var options = {
  host: 192.168.0.0,
  port: 22,
  username: user,
  password: pass
};

ftp.upload(options, 'path/to/remote/file', 'path/to/local/file');

That's it! 3 lines of code then it uploads your file!

No defaults! defaults sucks and makes it hard to debug

Now go and tell your boss that you are awesome!

##TODO add other functions add async?

Keywords

FAQs

Package last updated on 14 Jan 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc