Linux centos sftp upload local folder to server 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