I can’t seem to upload to my Droplet via SFTP. I can log in but if I try to upload files I get this error.
Could not change directory to “/var/www/domain.com”. Invalid response serial number.
Any ideas? I tried to just reset the root password but that didn’t help.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello, @Coopgrafik
Would you mind checking the current disk space usage on your droplet? You can do that using the following command via ssh:
df -h
I assume you’re experiencing this error in your SFTP client (FileZilla or another). What you can also do is to check that the permissions of the folder are not
000
and are readable, writable -755
or750
should work for you.You can also try to connect using the
sftp
client in your terminal/command line:sftp -oPort=custom_port sammy@your_server_ip_or_remote_hostname
in order to get in another directory you can issue this command:
cd testDirectory
If everything is working then this might be an issue with the SFTP client. You can also check this tutorials:
https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server
https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps
Let me know how it goes.
Regards, Alex