Skip to main content
Dmytro Medvid
Associate II
November 30, 2017
Question

SPFW04 File creation

  • November 30, 2017
  • 1 reply
  • 992 views
Posted on November 30, 2017 at 09:37

Hello everybody!

Is there a possibility in SPFW04 to POST and GET via HTTP not only from RAM, but from external SD card? 

Another question is whe i can`t create file bigger than 15360 bytes on external SD card? 

    This topic has been closed for replies.

    1 reply

    Gerardo GALLUCCI
    ST Employee
    November 30, 2017
    Posted on November 30, 2017 at 10:26

    Webserver (HTTP server) receive a request, then loops to find the file among all volumes. Example: 'GET index.html ' will result into searching for index.html into as 0:index.html, then 1:index.html, then 2:index.html, and 3:index.html. So, volume #0 (SD-Card/SPI Flash) has an higher priority than volume #3 (APP_Disk).

    AT-Commands (HTTP client) accept the full path, including ':' to specify the volume number.

    15KB is the size associated to RAM_Disk only (FW1.0.0); since FW1.1.0 you can decide this size too.

    Dmytro Medvid
    Associate II
    November 30, 2017
    Posted on November 30, 2017 at 10:57

    So, in FW1.0.0 i can`t create file bigger than 15Kb on SD card?

    Gerardo GALLUCCI
    ST Employee
    November 30, 2017
    Posted on November 30, 2017 at 13:45

    On SD-Card you can do what you want. No limits in size.