Do you have any example of how it should be done?
De: Gregory Nutt
Enviado: sábado, 9 de setembro de 2023 13:51
Para: dev@nuttx.apache.org
Assunto: Re: File transfer
On 9/9/2023 9:43 AM, Gustavo Soares wrote:
> So I have to create and mount a directory to my HTML
On 9/9/2023 9:43 AM, Gustavo Soares wrote:
So I have to create and mount a directory to my HTML file and tranfer it to
this directory? Even if I have the HTML file embedded on compile?
No transfer is necessary. The ROMFS file system can be built into the code.
So I have to create and mount a directory to my HTML file and tranfer it to
this directory? Even if I have the HTML file embedded on compile?
De: Gregory Nutt
Enviado: sábado, 9 de setembro de 2023 12:33
Para: dev@nuttx.apache.org
Assunto: Re: File transfer
On 9
On 9/9/2023 9:21 AM, Gustavo Soares wrote:
Maybe I don't have to transfer the file to the tmp folder. I think the folder
the app is reading is not the app folder but the root, so it won't find the
file. Is it possible to access the built-in apps folder on NuttX? So I can
make the app to read
Maybe I don't have to transfer the file to the tmp folder. I think the folder
the app is reading is not the app folder but the root, so it won't find the
file. Is it possible to access the built-in apps folder on NuttX? So I can
make the app to read its folder.
*And about rz, do use the same console of shell ? Zmodem*
Yes.
That might be a problem with tat? In the past, NSH used special logic
that to handle the requirements of a COOKED mode terminal: character
echo, CR-LF expansion, etc. These changes were implemented (mostly) in
NSH so that NS
why do need transfer during execution and not embbed on compile ?
I don't need to transfer during execution, I need to transfer the file to the
tmp folder once to read it every time a request is made. Also, I actually have
the HTML file in the same folder as the main application file, but the s