How to rename a file with sftp get command
Is there a way to use the "get" command in sftp to get the folder without getting "Unable to load irregular file: .... / dir_name" or get the file and save it with a different 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
.
+3
source to share
1 answer