Methods
Abstract connect
-
Parameters
Returns Promise<boolean>
Abstract cwd
- cwd(dir: string): Promise<string>
-
Parameters
Returns Promise<string>
Abstract execute
- execute(cmd: string): Promise<any>
-
Parameters
Returns Promise<any>
executeCommands
-
Parameters
Returns Promise<any>
Abstract get
- get(file: string): Promise<Buffer>
-
Parameters
Returns Promise<Buffer>
Abstract getFileInfo
- getFileInfo(file: string): Promise<FileInfo>
Abstract mkdir
- mkdir(dir: string): Promise<string>
-
Parameters
Returns Promise<string>
Abstract put
- put(file: string, data: Buffer): Promise<Buffer>
-
Parameters
-
file: string
-
data: Buffer
Returns Promise<Buffer>