You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					18 lines
				
				518 B
			
		
		
			
		
	
	
					18 lines
				
				518 B
			| 
											3 years ago
										 | /// <reference types="node" />
 | ||
|  | import { Options } from 'ftp'; | ||
|  | import { Readable } from 'stream'; | ||
|  | import { UrlWithStringQuery } from 'url'; | ||
|  | import { GetUriOptions } from '.'; | ||
|  | interface FTPReadable extends Readable { | ||
|  |     lastModified?: Date; | ||
|  | } | ||
|  | interface FTPOptions extends GetUriOptions, Options { | ||
|  |     cache?: FTPReadable; | ||
|  |     debug?: (s: string) => void; | ||
|  | } | ||
|  | /** | ||
|  |  * Returns a Readable stream from an "ftp:" URI. | ||
|  |  */ | ||
|  | export default function get(parsed: UrlWithStringQuery, opts: FTPOptions): Promise<Readable>; | ||
|  | export {}; |