# File store AT commands Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html) Table : File store AT commands | Command | Description | | --- | --- | | [AT+WRITEFILE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html#at_writefile) | Write a file to the device flash storage using a two-step hex-encoded protocol | | [AT+READFILE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html#at_writefile) | Read a file from the device flash storage and output its contents | | [AT+DELFILE](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html#at_writefile) | Delete a file from the device flash storage | ## AT+WRITEFILE Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html) This command writes a file to the device flash storage using a two-step hex-encoded protocol: 1. Create or truncate the file with the C (create) command. 2. Append data in hex-encoded chunks using the A (append) command. The file closes automatically when the total number of bytes received reaches the value specified in ``. ### Operation type Set/Execution ### Syntax | Command | Response | | --- | --- | | AT+WRITEFILE | AT+WRITEFILE=<path>,C,<size> or AT+WRITEFILE=<path>,A,<hex>



OK | | AT+WRITEFILE=<path>,C,<size> | OK | | AT+WRITEFILE=<path>,A,<size> | OK (intermediate chunk) or



+WRITEFILE: <n> bytes written



OK (final chunk, file closed) | ### Defined values - ``: File path. Automatically prefixed with `/lfs` if not provided. Maximum 127 characters. - ``: Transfer mode. - `C`: Create (or truncate) the file and prepare to receive data. - `A`: Append a hex-encoded data chunk to the open file. - ``: Total expected file size in bytes. When the cumulative bytes written reaches this value, the file is closed automatically and `+WRITEFILE: bytes written` is returned. - ``: Hex-encoded data to append. Each byte is two hex characters (for example, byte `0xFF` > `FF`). Maximum 256 hex characters (128 bytes) per chunk. Both uppercase and lowercase hex digits are accepted. ## AT+READFILE Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html) This command reads a file from the device flash storage and outputs its contents. ### Operation type Set/Execution ### Syntax | Command | Response | | --- | --- | | AT+READFILE | AT+READFILE=<path>



OK | | AT+READFILE=<path> | +READFILE: <path>, <size> bytes



<file contents>



OK | ### Defined values - ``: File path. Automatically prefixed with `/lfs` if not provided. Maximum 127 characters. ## AT+DELFILE Source: [https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-10/topic/file_store_at_commands.html) This command deletes a file from the device flash storage. ### Operation type Set/Execution ### Syntax | Command | Response | | --- | --- | | AT+DELFILE | AT+DELFILE=<path>



OK | | AT+DELFILE=<path> | OK | ### Defined values - ``: File path. Automatically prefixed with `/lfs` if not provided. Maximum 127 characters. Last Published: Jun 03, 2026 [Previous Topic OTA AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-10/topics/ota_at_commands.md) [Next Topic Power save AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-10/topics/power_save_at_commands.md)