I'm testing Unlink in php to delete some files. The files are indeed removed, I can't see them anymore, but what's surprising is that my hard drive space never goes down.
I want to delete completely a file.
If the file size is negligible, you might not see any size changes. Rest assured, if a file is no longer visible (and is not hidden) it has been marked for deletion and any file created or modified after it could occupy its old space, therefore overwriting what was left of the file.