In Linux can not upload files or folders The most problem is the permissions problem, but sometimes it is not necessarily a permission problem, like I am not enough space, below I summarize some ftp can not upload file/directory solution
In the exclusion of user groups and permissions and other issues, the most likely cause the FTP file can not be uploaded and often ignored the factor is that the hard disk space is full, and the hard disk space is full of the problem is mostly log files occupy, such as MySQL log will unknowingly become very large, until the full amount of the remaining hard disk space.
Workaround:
1, regular manual cleanup or use a script to clean up the MySQL log or other related log files.
2. Turn off MySQL log (not recommended)
There is a problem with the space above, if the above solution can not be a permission problem
Execute the Vi/etc/selinux/config in the terminal and change the enforcing of the selinux=enforcing to disable. Then save Exit VI, perform SETENFORCE 0 or restart. You can upload it.
If, you are not the above workaround, it is possible that you did not go to the FTP server under the Incoming folder, or you do not have to change the permissions of the incoming folder to 777.
or This solution
Direct SSH connection is performed later:
Chown Www:www-r Your FTP directory
chmod 777-r Your FTP directory
This gives permission to solve the FTP can not upload, new problems, if you cannot overwrite the file, open the pure-ftpd.conf configuration file at the end of the append:
AllowOverwrite on
Allowstorerestart on
Finally Wq save, restart PUREFTPD service can.
Configuration file for pureftpd in WDCP:/www/wdlinux/etc/pure-ftpd.conf
Configuration file for pureftpd in LNMP:/usr/local/pureftpd/pure-ftpd.conf