it is possible transfer file from PC Application (WPF) to Netduino SD card reader?
If so, can I use code like this?
System.IO.File.Copy(_sourceFile, _destFile, true);
where _destFile is
_destFile = System.IO.Path.Combine(@"SD:\", "myfile.foo");
I would have thought this was possible but not as simply as you would like. You do not get a direct connection between the PC and the SD card in the Netduino Plus. This leaves you with a coule of immediate options:
- Serial
- Network
As you are using a Netduino Plus then you could take advantage of some of the web servers which are present in the Projects forum. There is at least one web server project there which has implemented a method for uploading files to a web server running on the Netduino Plus. You could modify this code to meet your requirements.
Another method would be to send the file in chunks over a serial connection.
Hope this helps,
Mark