lmeniconi / adonis-drive-sftp

SFTP storage driver for AdonisJS drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration

Run the following command to configure the package

node ace configure @lmeniconi/adonis-drive-sftp

Usage

Example of use in a controller

  const fileName = 'example.txt'

  const sftp = Drive.use('sftp')
  await sftp.put(fileName, "hello world")

About

SFTP storage driver for AdonisJS drive


Languages

Language:TypeScript 98.7%Language:Shell 0.7%Language:JavaScript 0.6%