lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] (no subject)


From: Jerry Zhang
Subject: Re: [lwip-users] (no subject)
Date: Mon, 4 Jul 2022 11:21:46 +0800

Sorry, i forgot to add the title, please simply ignore this email, since i already post a new email on this issue

Jerry Zhang <jerry.scofield@gmail.com> 于2022年7月4日周一 11:15写道:

I am using LWIP in embedded device with httpd runs, trying to find a solution of dumping large binary files by web. my http response(data dump) will be like this

200 OK
Content-Type: application/octet-stream; name=xxx_data.bin
Content-Disposition: attachment; filename=xxx_data.bin
Content-Length: xxxxx

"my raw binary data, not string..."

I read the CGI/SSI code, the elegant solution is not clear to me yet. Can i use the CGI/SSI to implement it? Can i write a non-shtml file like the following and then use makefsdata.exe to produce the fsdata, does ssi tag work in this file or it will only work in html body?

200 OK
Content-Type: application/octet-stream; name=xxx_data.bin
Content-Disposition: attachment; filename=xxx_data.bin
Content-Length: xxxxx

<!--#tag_data-->

In another way, my requirement is do dump a virtual binary file(*.bin) as an attachment, should i use the makefsdata.exe to create this virtual file which is actually run-time generated

Any other recommendation about an elegant solution will be appreciated.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]