Jorge Ramirez - 2009-01-27 00:00:59
chdir works with constant strings with spaces e.g.
$myftp->chdir("some/directory"/with spaces no problem"); // This works
But if I read a string from a text file and use that string as a $var to chdir it fails e.g:
$myftp->chdir($dirnameobtainedfromatextfile); // this failes
Do I have to scape spaces? is it related to the Server