ftp.d.ts 410 B

1234567891011121314
  1. /// <reference types="node" />
  2. import { AccessOptions } from 'basic-ftp';
  3. import { Readable } from 'stream';
  4. import { GetUriProtocol } from '.';
  5. export interface FTPReadable extends Readable {
  6. lastModified?: Date;
  7. }
  8. export interface FTPOptions extends AccessOptions {
  9. cache?: FTPReadable;
  10. }
  11. /**
  12. * Returns a Readable stream from an "ftp:" URI.
  13. */
  14. export declare const ftp: GetUriProtocol<FTPOptions>;