Welcome to JavaRanch.
In the future, please
UseCodeTags when posting code of any length. It's unnecessarily hard to read the code as it is, making it less likely that people will bother to do so. I've done this for you here.
For starters, you're ignoring the return value of "storeFile". That will tell you whether the file upload was successful or not. I'm not sure why you think that "client.changeToParentDirectory()" would tell you whether the upload was successful - it tells you whether changing the directory was successful, which is something entirely different.
Also note that you're using the complete client-side path as filename for the server - including the directories.
You should truncate that to just the filename.
I'll move the post to the "Other Open Source Projects" forum, where the Apache libraries are discussed.