how to move file to folder in sftp server code example
Example: move file from one directory to another sftp
Use the sftp command "rename". It works like CUT and PASTE in normal shell.
sftp> rename <old-path> <new-path>
Use the sftp command "rename". It works like CUT and PASTE in normal shell.
sftp> rename <old-path> <new-path>