upload folder using sftp 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
sftp> put -pr Tecmint.com-articles
sftp> put -r Tecmint.com-articles
sftp> mkdir Tecmint.com-articles
sftp> put -r Tecmint.com-articles