Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Transfer files with scp - getting older files
I am able to do scp from local to a specific directory.
I just tried copying down an sql dump from my local.
scp -r root@X.X.X.X:/home/userme ./
With this, it does download files, but I got a really old sql that I have since deleted. When I try to do specific newer files, it says:
‘No such file or directory’
I have not succeeded in the direction of doing it from the droplet terminal down to my local. I get permission denied when I tried that.
I had a lot of success of doing images (wp-content) from local up and down to the droplet. Looks like I had success with an sql file as well (this was two weeks ago). But today it is giving me old files.
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.×