New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ftpcp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftpcp

ftpcp is a command line utility to copy files from one Local/FTP/SFTP server to another Local/FTP/SFTP server

  • 1.6.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ftpcp

ftpcp is a command line utility that allows you to copy files between two locations.

With ftpcp, you can copy a files

  • From your local system to a remote system.

  • From a remote system to your local system.

  • Between two remote systems from your local system.

ftpcp Demo

Installation

Either through cloning with git or by using npm (the recommended way):

npm install -g ftpcp

If you don't want to install this package globally use npx to use this package

npx ftpcp <src>  <dest>

Usage


$ftpcp --help

Usage: ftpcp [options] <Source FTP/SFTP>  <Dest FTP/SFTP>

  

Options:

-V, --version output the version number

-i, --includes <items> the List files which you want to include

-e, --excludes <items> the List files which you want to exclude

-h, --help output usage information

It'll transfter all files from source server to destination server

src/dest >> <ftp/sftp>://<username>:<password>@<Host>:<Port><DirPath>

Examples

Copy files from remote ftp server to your local dir path

ftpcp ftp://user:password@localhost:21/path/to/dir /usr/local/dir/

Copy files from your local dir to remote server dir

ftpcp /usr/local/dir/ ftp://user:password@localhost:21/path/to/dir

Copy files from one FTP remote to another SFTP remote server and viceversa.

ftpcp ftp://user:password@remote1:21/path/to/dir sftp://user:password@remote2:22/path/to/dir

ftpcp sftp://user:password@remote1:22/path/to/dir ftp://user:password@remote1:21/path/to/dir

Include and exclude some files


ftpcp --includes *.csv,*.jpg --excludes *.zip <SRC> <DEST>

Keywords

FAQs

Package last updated on 03 Jun 2019

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