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

github.com/cvrapidk/sftp

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cvrapidk/sftp

  • v0.0.0-20210331211158-a0be6a61b16b
  • Source
  • Go
  • Socket score

Version published
Created
Source

sftp

This tool can download and upload files to a remote SFTP server.

Installation

$ make

Usage

ParameterDescription
serverFQDN to the remote server
usernameUsername
passwordPassword
iSet path to SSH private key
FSet path to SSH config
remote-fileFull path to remote file
output-fileFull path to output file (download)
input-fileFull path to input file (upload)
overwrite-fileOverwrite file
portRemote server port

Use user@server

You can also use $ sftp --remote-file remotefile.csv --output-file remotefile.csv user@server

Please be aware that user@server needs to be at the end of the argument list due to drawbacks in the Go flag package.

Download

$ sftp --server example.com --username test --password test --remote-file remotefile.csv --output-file remotefile.csv

Upload

$ sftp --server example.com --username test --password test --remote-file remotefile.csv --input-file remotefile.csv

FAQs

Package last updated on 31 Mar 2021

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