Page 1 of 1

Problem with unlink()

Posted: Tue Dec 30, 2008 12:42 pm
by fluidbyte
I am trying to delete a file. Not a difficult task, but no matter what I do I get the error message that the file does not exist. I can access the path /sandbox/cmscore/assets/file/large icons.jpg and it works fine, but when I plug it into unlink it just throws the damn error message. Any ideas?

Re: Problem with unlink()

Posted: Tue Dec 30, 2008 12:44 pm
by califdon
So your filename has a space in it?

Re: Problem with unlink()

Posted: Tue Dec 30, 2008 12:52 pm
by fluidbyte
yeah, probably the problem?

Re: Problem with unlink()

Posted: Tue Dec 30, 2008 12:53 pm
by fluidbyte
nope, just tried one without a space, same issue...