# fast-ftp

> ftp tool

Latest version **1.0.9** (published 2019-04-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install fast-ftp
pnpm add fast-ftp
yarn add fast-ftp
bun add fast-ftp
```

Provides the commands `ff-post`, `ff-config`.

## 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.0.9 |
| Published | 2019-04-10 |
| First published | 2019-03-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 19.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fanxingzeng |
| Maintainers | fanx |
| Keywords | ftp, sftp, fast |

## Links

- npm: https://www.npmjs.com/package/fast-ftp
- Repository: https://github.com/zfxmnb/fast-ftp
- Homepage: https://github.com/zfxmnb/fast-ftp#readme
- Issues: https://github.com/zfxmnb/fast-ftp/issues
- npm.io page: https://npm.io/package/fast-ftp

## Dependencies (5)

- [ftp](https://npm.io/package/ftp.md) ^0.3.10
- [colors](https://npm.io/package/colors.md) ^1.3.3
- [readline](https://npm.io/package/readline.md) ^1.3.0
- [json-format](https://npm.io/package/json-format.md) ^1.0.1
- [ssh2-sftp-client](https://npm.io/package/ssh2-sftp-client.md) ^2.4.3

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.9 (latest) — 2019-04-10
- 1.0.8 — 2019-04-10
- 1.0.7 — 2019-04-01
- 1.0.6 — 2019-03-14
- 1.0.5 — 2019-03-14
- 1.0.4 — 2019-03-14
- 1.0.3 — 2019-03-14
- 1.0.2 — 2019-03-13
- 1.0.1 — 2019-03-12
- 1.0.0 — 2019-03-12

## README

# fast-ftp 
## config
```js
    npm run ff-config
    //或
    import {config} from 'fast-ftp'
    config();
```
## post
```js
    npm run ff-post [localPath] [remotePath] [-f] //localPath本地相对执行路径的相对路径 remotePath本地执行路径的远程相对路径 -f强制删除覆盖
    //或
    import {post} from 'fast-ftp'
    /**
     * 开始上传
     * @param {*} filePath 绝对路径
     * @param {*} relpath 远程服务器路径
     * @param {*} force 上传时是否强制删除远程
     * @param {*} callback 回调
     */
    post(filePath, relpath, force, callback)
```

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