A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.
This commit is contained in:
8
Scripts/node_modules/basic-ftp/README.md
generated
vendored
8
Scripts/node_modules/basic-ftp/README.md
generated
vendored
@ -4,7 +4,7 @@
|
||||
[](https://www.npmjs.com/package/basic-ftp)
|
||||
[](https://github.com/patrickjuchli/basic-ftp/actions/workflows/nodejs.yml)
|
||||
|
||||
This is an FTP client library for Node.js. It supports FTPS over TLS, Passive Mode over IPv6, has a Promise-based API, and offers methods to operate on whole directories.
|
||||
This is an FTP client library for Node.js. It supports FTPS over TLS, Passive Mode over IPv6, has a Promise-based API, and offers methods to operate on whole directories. Active Mode is not supported.
|
||||
|
||||
## Advisory
|
||||
|
||||
@ -23,13 +23,13 @@ Node 10.0 or later is the only dependency.
|
||||
The first example will connect to an FTP server using TLS (FTPS), get a directory listing, upload a file and download it as a copy. Note that the FTP protocol doesn't allow multiple requests running in parallel.
|
||||
|
||||
```js
|
||||
const ftp = require("basic-ftp")
|
||||
// ESM: import * as ftp from "basic-ftp"
|
||||
const { Client } = require("basic-ftp")
|
||||
// ESM: import { Client } from "basic-ftp"
|
||||
|
||||
example()
|
||||
|
||||
async function example() {
|
||||
const client = new ftp.Client()
|
||||
const client = new Client()
|
||||
client.ftp.verbose = true
|
||||
try {
|
||||
await client.access({
|
||||
|
||||
Reference in New Issue
Block a user