MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / connectUsingPassoword

Method connectUsingPassoword

src/plugins/sftp/index.d.ts:37–37  ·  view source on GitHub ↗

* Connects to SFTP server * @param host Hostname of the server * @param port port numer * @param username Username * @param password Password or private key file to authenticate the server * @param onSuccess Callback function on success returns url of copied file/dir * @para

(host: String, port: Number, username: String, password: String, onSuccess: () => void, onFail: (err: any) => void)

Source from the content-addressed store, hash-verified

35 * @param onFail Callback function on error returns error object
36 */
37 connectUsingPassoword(host: String, port: Number, username: String, password: String, onSuccess: () => void, onFail: (err: any) => void): void;
38
39 /**
40 * Connects to SFTP server

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected