I have a file named "my file.pdf" and I can't delete this file with this code:
if (remove("/var/tmp/\"my file.pdf\"") != 0)
printf( "Error deleting file\n");
Any suggestion different than do some regex to replace '{whitespace}' for '\{whitespace}'?