There are some files inside a directory on an Informatica Server. I need to transfer these files onto another server based on their file names into different directories.
Say there are 2 files, a.dat_1
and b.dat_2
inside a directory called low
on the Informatica server.
I need to transfer this low
directory onto another server where the file a.dat_1
goes to a directory say, local
and b.dat_2
goes to another directory called local2
. This needs to be done in Python.
I have used Paramiko to do simple transfers but not directories. And not in separate directories like local and local2.