Currently I'm reading the file from FTP . The read file is first stored in the RAM. The file in the RAM memory is then written into the nand flash memory. But currently I have to get a bigger file and the RAM size is not sufficient. So can you please suggest some options to write directly to flash without copying it to RAM.