Replies: 1 comment
-
Moving this as a discussion as we keep issues for issues :-) Now, for deploying at build time, you have the Visual Studio extension allowing you to mark files as "Content" and anything else than "Never" will deploy those files in the internal storage. |
Beta Was this translation helpful? Give feedback.
-
Description
How to solve the problem
An implementation of a basic FTP server usable in nanoFramework projects could provide a fairly straightforward way to move files to and from an MCU device running nanoFramework.
Describe alternatives you've considered
So far, this is how I have been moving files to my microcontroller to use for a web interface. It is a somewhat cumbersome solution because it requires deploying a separate project to the MCU before deploying the main application, and that secondary project has to be updated anytime there are changes to the file structure that's meant to be moved over.
There are many implementations of things like this for Arduino that could be used as a guide, but I would rather avoid developing a client-side app for this, and Filezilla can already serve as that with FTP.
Aditional context
There is a free guide on implementing FTP server in C# with source code using the MIT license. Using this as a foundation, implementing a barebones FTP server could be relatively simple.
https://www.codeproject.com/articles/380769/creating-an-ftp-server-in-csharp-with-ipv6-support
Given my limitations, I want to avoid committing to handling everything to do with this in its entirety on my own, but I could at least get some basic functionality working and submit it.
I have started on this recently and yesterday I got a file to move over to my ESP32 and back to my PC.
I was thinking also there could be a SPIFFS representation of folders using special characters in the filenames (configurable from the code instantiating the server), so that directories could be moved back and forth without an issue.
Beta Was this translation helpful? Give feedback.
All reactions