Not using FTP functions but when in my actual FTP program i to get something similar.
When i try downloading a File(FROM the FTP Program) it gives an error permission denied. Im thinking its cos i used move_uploaded_file
But ive asked this a while ago on another board and no one could help me.
Its strange that it actually even happened