This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Removing files from a server

Other Parts Discussed in Thread: SYSBIOS

Hi Everyone,

I am useing TI concerto board (TMDXCNCDH52C1). I am currently working on a project using TIRTOS with the aim to delete all the files in a folder in the SD card. If there are several files in the folder "random", such as, try.csv, try1.csv. I tried the code below which can sucessfully delete the file.

remove("fat:0:random/try.csv");

However, I would like to delete all the files in that folder together. I tried the code below, but this is not working.

remove("fat:0:random/*.csv");

or even

remove("fat:0:random/*.*")

Can anyone help with this?

Thanks in advance.

Ben