This is part of a SFTP file transfer.
Here are the steps:
- Check files with
.csv
extension 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"
Tried using -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 ?
Best Answer
Works for me, so you will need to provide more information about the problem: