Sftp Download Bash !free! -

For a quick, one-off download in a script without entering an interactive shell, use the get command within a ( < ):

sshpass -p 'your_password' sftp user@host < Use code with caution. 4. Downloading Multiple Files sftp download bash

To download multiple files matching a pattern, use the mget (multiple get) command. For a quick, one-off download in a script