![NPM](https://img.shields.io/npm/l/savim-ftp)
savim-ftp
A simple library to save file with Savim to a FTP Server. Old Owner: @flexper
Usage
import { Savim } from 'savim';
import { SavimFTPProviderConfig, SavimFTPProvider } from 'savim-ftp';
const savim = new Savim();
await savim.addProvider<SavimFTPProviderConfig>(SavimFTPProvider, {
host: 'localhost',
user: 'test',
password: 'thisisapassword',
});
await savim.uploadFile('test.txt', 'thisisatest');
Tests
To execute jest tests (all errors, type integrity test)
pnpm test
Maintain
This package use TSdx. Please check documentation to update this package.