import { FTPClient } from "https://deno.land/x/ftpc@v2.0.0/mod.ts";
Properties
private
optional
activeListener: Deno.Listenerprivate
optional
conn: Deno.Connprivate
optional
dataConn: Deno.Connprivate
decode: TextDecoderprivate
encode: TextEncoderMethods
private
assertStatus(expected: StatusCodes,
result: { code: number; message: string; },
...resources: (Deno.Closer | undefined)[],
private
command(c: Commands, args?: string)private
commandWithData(c: Commands, args?: string)private
finalizeDataConnection()private
getStatus()private
initializeDataConnection()private
parseMLST(input: string): [string, FTPFileInfo]downloadStream(fileName: string): Promise<Deno.Reader>
Download a file from the server with streaming. Please call FTPClient.finalizeStream() to release the lock after the file is done downloading.
extendedList(dirName?: string)
uploadStream(fileName: string, allocate?: number)
Upload a file to the server, with streaming. Please call FTPClient.finalizeStream() to release the lock after the file is done downloading.**
Static Methods
private
notInit()