Presently I am working on python and I a need to get some files from other network using the psftp
command as below:
import os
psftpCmd='psftp sftp.example.com -l user -pw pass'
os.system(psftpCmd)
But when run the above code I get the following error:
sh: psftp: command not found
Can I know whats wrong with the command and how to execute a psftp
command as shown above?