import { FTPClient } from "https://deno.land/x/ftpc@v3.0.0/mod.ts";
Properties
private
optional
activeListener: Deno.Listenerprivate
optional
conn: Deno.Connprivate
optional
connLineReader: ReadableStream<string>private
optional
dataConn: Deno.Connprivate
encode: TextEncoderMethods
private
assertStatus()private
command(c: Commands, args?: string)private
commandWithData(c: Commands, args?: string)private
epasvStart(res: FTPReply)private
finalizeDataConnection()private
getStatus(): Promise<FTPReply>private
initializeDataConnection()private
parseMLST(input: string): [string, FTPFileInfo]private
pasvStart(res: FTPReply)downloadReadable(fileName: string): Promise<ReadableStream>
Download a file from the server using a ReadableStream interface. Please call FTPClient.finalizeStream to release the lock after the file is downloaded.
deprecated
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)
deprecated
uploadStream(fileName: string, allocate?: number): Promise<Deno.Writer>Upload a file to the server, with streaming. Please call FTPClient.finalizeStream() to release the lock after the file is done downloading.**
uploadWritable(fileName: string, allocate?: number): Promise<WritableStream>
Upload a file using a WritableStream interface. Please call FTPClient.finalizeStream() to release the lock after the file is uploaded.
Static Methods
private
notInit()