Cannot add files on the server

  • Posted on February 15, 2013
  • gnesiaAsked by gnesia

Hi, i just delete my droplet and rebuilt a new one.

I can connect to the server with FileZilla using SFTP and i have access to the folder /var/www and i can see the index.html and the info.php files.

The problem is i cannot add any files in /var/www when i drag files Filezilla tell me “Impossible to start the transfert” ??? Strange cause i access the server.

But i also see that when y try to access the FTP by the browser (ftp://myIP) i have an error 101 and if i try by Putty with FTP myIP it say connection refused. ???

So how it is possible that i can connect to the server but i cannot add files and cannot connet directly by browser or Putty


Any help will be appreciate.


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Try this: <br> <br># sudo chown -R root:root /var/www <br> <br># sudo chmod -R 755 /var/www <br> <br># sudo /etc/init.d/apache2 restart <br> <br>Then let us know how it goes

@fere_tzau You shouldn’t connect to SFTP as root - it’s a bad habit security-wise. Create a user ( and login via SFTP as that user.

I also have an issue here. I can access the sftp with root user. But if I add a test index.html in the www/html folder in browser it does not work. noobhere, any help is welcome. Thank you.