Skip to content

AmpyWrapper.Ampy.DownloadFile(string,string)

Finnomator edited this page Aug 3, 2023 · 2 revisions

Ampy.DownloadFile(string, string) Method

Download a file from the board.

public System.Threading.Tasks.Task DownloadFile(string remoteFile, string localFile);

Parameters

remoteFile System.String

Path to the file on the board.

localFile System.String

Local path to save the file to.

Returns

System.Threading.Tasks.Task
AmpyOutput that contains the file content.

Example

await GetFileContent("main.py", "C:\main.py");  

Clone this wiki locally