Is there a way to use a "get" command in sftp to get a folder without obtaining "Cannot download non-regular file:..../dir_name" or to get a file and save it with another name?
In the second option I mean:
sftp> ls
hello.txt
sftp> get hello.txt (+ something) byebye.txt
sftp> exit
And in my directory I have byebye.txt
.
no need any params, just
sftp> get hello.txt byebye.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With