Socket
Socket
Sign inDemoInstall

@fye/sftp-utils

Package Overview
Dependencies
38
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

lib/sftp-delete-files.js

5

lib/sftp-download-files.js

@@ -1,3 +0,2 @@

/* eslint-disable no-console */
const debug = require('debug');
const debug = require('debug')('sftp-download-files');
const fs = require('fs');

@@ -17,3 +16,3 @@ const { dirname } = require('path');

await forEach(filesToDownload, async file => {
if (!(await exists(dirname(dirname(file.dest))))) {
if (!(await exists(dirname(file.dest)))) {
await mkdir(dirname(file.dest));

@@ -20,0 +19,0 @@ }

4

package.json
{
"name": "@fye/sftp-utils",
"version": "1.0.0",
"version": "1.0.1",
"description": "sftp utility library",

@@ -35,3 +35,3 @@ "main": "lib/index.js",

"dependencies": {
"@fye/sftp-client": "^1.0.0",
"@fye/sftp-client": "^1.0.1",
"apr-for-each": "^3.0.3",

@@ -38,0 +38,0 @@ "debug": "^4.1.1"

@@ -1,5 +0,6 @@

# `@fye/sftp-client`
# `@fye/sftp-utils`
Functions
- downloadFiles
- more to come...
- uploadFiles
- deleteFiles
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc