You can also explore this package -> https://github.com/paramiko/paramiko in order to be able to download or upload the files.
Thank You, Irving Duran On Mon, May 7, 2018 at 3:34 PM MRAB <pyt...@mrabarnett.plus.com> wrote: > On 2018-05-07 13:29, ruiyan wrote: > > Hello everyone, > > > > > > I need to conduct massive simulation computations using a software > called 'lammps' on a remote supercomputer whose operating system is Linux > every day. It's extremely annoying to log to the remote supercomputer, > upload files to and download files from the supercomputer using WinSCP and > Putty on my windows desktop computer. I want to know whether it is possible > to write some scripts and let python do these things for me, i.e., I want > to log to the remote supercomputer automatically, upload and download files > with a simple hit in python (of course with the files specified). Is this > possible? If it is possible, which packages do I need? > > > > > > Thanks and best wishes, > > > There are some examples about scripting in WinSCP here: > > https://winscp.net/eng/docs/scripting > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list