If the user www-data is the owner of the folder, you do not have access to that folder via FTP.
You can considder to change the permissions as described here:
http://www.howtoforge.com/forums/sho...ghlight=joomla
I have good experience with these permission settings.
You also can work with suphp. Information about that can be found in the forums.