Question

ftp 553 error cannot create file.

  • Posted August 5, 2014

Hi I followed this document to set up the vsftpd on ubuntu

https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-on-ubuntu-12-04

I can connect through ftp but cannot upload any file to the server.

I am logged in as a user with sudo permissions.

Subscribe
Share

Did you tried something like:

~> chown admin:admin public_html/ -R

Helped in my case.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi Andrew,

I do not have ssh access to my droplet. I am using Filezilla and trying to write into the home folder for my user.

I ran sudo chown root:root /home/cnaptic

cnaptic is the user I am using.

I’d strongly encourage you to use SFTP rather than FTP. Check out this article for the details. If you’re able to connect to your droplet with SSH, than you should be all set to go with SFTP.

As for your specific question, how are you trying to upload the files? Are you using a client like Filezilla? What folder are you trying to put them? Does your user have write access there?