[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] httpserver(-raw) and large files
From: |
Philipp Tölke |
Subject: |
Re: [lwip-users] httpserver(-raw) and large files |
Date: |
Fri, 22 Feb 2013 08:10:05 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
Am 21.02.2013 17:41, schrieb Louis Wells:
> Are you attempting to read the html files directly without converting
> them to hex arrays like in fsdata.c ? I Am not completely sure, but I
> doubt it will work in that scenario.
>
> You need to either use the makefsdata.c or the makefsdata.pl
> <http://makefsdata.pl> tool(these are in the contrib file) in order to
> convert your html files into a form that can be used by the flat file
> system. Look at the fsdata.c that is included for a reference on what
> you want the output to look like.
With makefsdata.c I can use my own html-files. But I want to use
html-files and other files from flash-memory. The documentation on
LWIP_HTTPD_CUSTOM_FILES and LWIP_HTTPD_DYNAMIC_FILE_READ read like those
options are meant for my scenario.
Regards,
--
Philipp Tölke, M.Sc. - Software-Developer - fos4X GmbH - www.fos4x.de
Thalkirchner Str. 210, Geb. 6 - D-81371 München; AG München HRB 189 218
T +49 89 999 542 58 - F +49 89 999 542 01
Managing Directors: Dr. Lars Hoffmann, Dr. Mathias Müller