How this error can be solved: Access failed: 553 Could not create file.

This error was returned when attempting to write file to a remote FTP server of mine. FTP server vsftpd on CentOS Linux.

It is suggested to check directory permissions and ownership. stat /home/user/ftp/directory

Some suggest changing permissions to 775 (chmod 775 /home/user/ftp/directory) and changign ownership (chown -R ftpusername:ftpusername /home/user/ftp/directory).

But that not helped. What helped was to enable SELinux boolean by command "setsebool ftpd_full_access on".

By the way related booleans can be listed like this: getsebool -a | grep ftp
and SELinux status discovered by command "sestatus".