Hey Adam,
This only works on the current directory. What i wanted to achieve was that i have my program on a directory called A and I have a client who has a directory on my server called B. What i would like to do is when this client logs in and uploads images it should save it to the clients directory and not in the programs directory.
I have tried the above example that you have provided and cannot seem to be able to go to Directory B. I have checked all the security settings for that folder.