Login   Register  
PHP Classes
elePHPant
Icontem

can't read files with spaces in the filename

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP SVN Client  >  All threads  >  can't read files with spaces in the filename  >  (Un) Subscribe thread alerts  
Subject:can't read files with spaces in the filename
Summary:if there is a file like "use cases.txt", returns nathing.
Messages:1
Author:jose sanchez
Date:2009-05-28 16:05:33
 

  1. can't read files with spaces in the filename   Reply   Report abuse  
Picture of jose sanchez
jose sanchez
2009-05-28 16:05:33
I'm trying to do a autoUpdate application, like some CMS and I found this problem

<code>
$svn->setRepository("http://myRepository");

$svn->setAuth('me','*****');



$files_now = $svn->getFile("/trunk/use cases.doc");
print_r($files_now);
$files_now = $svn->getDirectoryFiles("/trunk/use cases.doc");
print_r($files_now);

</code>
this returns nathing

if I replace te print_r() for a var_dump()

it returns "bool(false)"

now I'm starting to review your getFile() implementation, if you find something first, pleace let me know.