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

sftp-cg-lib

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sftp-cg-lib

SFTP component for stablish connections with a sftp server and make this actions: View list of files inside a directory, get one file in base64, write a new file, delete a file, rename a file, create directories, delete direcgories.

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Library for SFTP connections in OIH

This library has different methods depending of the flag received in the request

GETLISTFILES

  • Get the list of all directories and files inside the specified path.

GETFILE

  • Get the specified file in a base64 format.

SAVEFILE

  • Save a string in base64 as a new file with the asigned name in teh request.

RENAMEFILE

  • Rename the file specified with an old name an assign a new name.

DELETEFILE

  • Delete the specified file.

CREATEDIRECTORY

  • Create a new directory, it can be a directory and subdirectories.

DELETEDIRECTORY

  • Delete a directory, if it contains subdirectories and file inside it, all of them will be also deleted.

Keywords

FAQs

Package last updated on 16 Aug 2022

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