# comlog-system-monitor-ftp

> Installation via ```sh $ npm install -s comlog-system-monitor-ftp ```

Latest version **1.1.0** (published 2019-04-09) · COMLOG GmbH license · 0 weekly downloads

## Install

```sh
npm install comlog-system-monitor-ftp
pnpm add comlog-system-monitor-ftp
yarn add comlog-system-monitor-ftp
bun add comlog-system-monitor-ftp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-04-09 |
| First published | 2017-12-05 |
| Weekly downloads | 0 |
| License | COMLOG GmbH |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | COMLOG GmbH |
| Maintainers | comlog.gmbh |

## Links

- npm: https://www.npmjs.com/package/comlog-system-monitor-ftp
- npm.io page: https://npm.io/package/comlog-system-monitor-ftp

## Dependencies (2)

- [ftp](https://npm.io/package/ftp.md) >=0.3.8
- [comlog-event-handler](https://npm.io/package/comlog-event-handler.md) ^1.0.2

## Recent versions

- 1.1.0 (latest) — 2019-04-09
- 1.0.0 — 2017-12-05

## README

# Watch a FTP Server

Installation via
```sh
$ npm install -s comlog-system-monitor-ftp
```

# Usage
```javascript
var Service = require('comlog-system-monitor-ftp');

var csmf = new Service({
	host: 'ftp.mydomain.org', // Required if not localhost
	user: 'myuser', // Required if not localhost
	password: 'mypassword', // Required if not localhost
	port: 21, // Optional
	interval: 60000 // Optional 1 Minute
});

csmf.on('error', function(err) {
    console.error(err);
});

// bind event
csmf.on('down', function() {
    console.info('FTP Server is donw');
});

// bind event
csmf.on('up', function() {
    console.info('FTP Server is up');
});

csmf.start()
```

---
_Source: https://npm.io/package/comlog-system-monitor-ftp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
