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

Method putFile

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

* Uploaded the file to server * @param filename * @param localFilename copy/shadow of remote file. * @param onSuccess * @param onFail

(filename: String, localFilename: String, onSuccess: (url: String) => void, onFail: (err: any) => void)

Source from the content-addressed store, hash-verified

65 * @param onFail
66 */
67 putFile(filename: String, localFilename: String, onSuccess: (url: String) => void, onFail: (err: any) => void): void;
68
69 /**
70 * Closes the connection

Callers 2

writeFileMethod · 0.65
#copyFileMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected