I am fairly new to python, so this might be a trivial problem.
I am using paramiko module to log in to ssh server running CentOS. I would like my program to upload some files from that ssh server to a remote ftp server. The problem is, that whenver I use exec_command to run ftp client, it closes immediately. Is there any other way of doing that? I don't really need to use the paramiko module, I can use anything, as long as it gets the job done.
Thank you in advance for any help!
I am using paramiko module to log in to ssh server running CentOS. I would like my program to upload some files from that ssh server to a remote ftp server. The problem is, that whenver I use exec_command to run ftp client, it closes immediately. Is there any other way of doing that? I don't really need to use the paramiko module, I can use anything, as long as it gets the job done.
Thank you in advance for any help!
Comment