Loggin to the source server and getting some files
This is my basic scenario
but i have a requirement that my filename and directory paths are not Static , so i need to define the directory to login to the source server and need to define the filenames and also need to define where i need to place the file (get) to the target server
I'll let you work on the format of your 'listOfFiles' file and the corresponding changes to the script, but the above should give you enough of the 'hint' of the general idea.
Good luck!
Thanks for your help , when i use the logic , script is in Hung Mode and when also it is not loggin in to that directory , please correct me if i am wrong