backup - scp not working saying its a directory error -


i trying copy file remote server in folder.

its adrive backup plan. comes scp. can copy file if don't select directory. if put directory doesn't exist says directory.

root@host1 [/usr/src]# scp ftpdelete.sh user@host@scp.adrive.com:/mysql-only/ scp: /mysql-only/: directory 

scp doesn't automatically create new directory if want scp file (it creates directory if recursive copy). there wrong error message. error should no such file or directory or similar.

it known problem , there upstream bugzilla [1].

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=1768


Comments