sftp upload all files in directory code example
Example 1: upload folders in sftp
sftp> put -pr Tecmint.com-articles
Example 2: upload folders in sftp
sftp> put -r Tecmint.com-articles
sftp> mkdir Tecmint.com-articles
sftp> put -r Tecmint.com-articles