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

Method getFile

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

* Gets file from the 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

56 * @param onFail
57 */
58 getFile(filename: String, localFilename: String, onSuccess: (url: String) => void, onFail: (err: any) => void): void;
59
60 /**
61 * Uploaded the file to server

Callers 15

openReferencesTabFunction · 0.65
onContentClickFunction · 0.65
FileBrowserIncludeFunction · 0.65
renameFileFunction · 0.65
removeFileFunction · 0.65
checkFileFunction · 0.65
sendByExtFunction · 0.65
editorFile.jsFile · 0.65
saveFileFunction · 0.65
openFile.jsFile · 0.65
EditorManagerFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected