This is part of a SFTP file transfer.
Here are the steps:
- Check files with
.csvextension and get them to the local directory.
- After that, move them to the another folder in the remote connection.
Tried using the
rename command but it throws an error "Failure"
-b batch-file option with sftp but looks like
rename command needs a specific file-name instead of a set of files.
So how do I achieve this ?