fopen takes only 8 character name, how to make file with larger name?
-
- Posts: 1
- Joined: Fri Oct 06, 2017 11:54 am
fopen takes only 8 character name, how to make file with larger name?
I am writing code for ESP32 using esp-idf. I am using SD card attached to it for storing some data. when I make file with fopen, it can only make file with name equal or less than 8 character. I want to make file with longer names.
Re: fopen takes only 8 character name, how to make file with larger name?
Hi anitech_pro,
I have the same issue right now. But differently, I believe I got "/sdcard/test2.xml" (9 charactors from "test2.xml") works firstly. but if I did try to read "abc_config.xml", then I get the same issues (fopen return "NULL").
So, what should we do?
I have the same issue right now. But differently, I believe I got "/sdcard/test2.xml" (9 charactors from "test2.xml") works firstly. but if I did try to read "abc_config.xml", then I get the same issues (fopen return "NULL").
So, what should we do?
Re: fopen takes only 8 character name, how to make file with larger name?
Hi WiFive,
Thanks a lot for you answering! Yeh, its pretty a shame firstly don't know much about the legacy 8 character name (SFN), and secondly don't have the ability to search out the get answered similar questions.
Thanks a lot for you answering! Yeh, its pretty a shame firstly don't know much about the legacy 8 character name (SFN), and secondly don't have the ability to search out the get answered similar questions.
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 90 guests