martin wrote:
Well, we do not know their structure. So unless you provide us more details and explain us, what is confusing, we can hardly help you.
Thanks Martin Sir, For Being helpfull.
Let me give you a little idea about the Stucture.
We Have a GMG Server
In this server there are 4 Output directories.
Now we have to copy all the files from these 4 directories to one place for furter processing.
In this I want one more customization Like Moving the copied file in sub folder Of remote directory..
I had connected to this Server Using Winscp And Made a Script Given Below.
This Copies the Files But can't move the copied file of Remote directory to Subfolder. Also How to loop this script??
open engr:engrngp@192.168.1.183
lcd d:\sftp
cd m1\done
get *.*pdf
close
open engr:engrngp@192.168.1.183
lcd d:\sftp
cd m2\done
get *.*pdf
close
open engr:engrngp@192.168.1.183
lcd d:\sftp
cd m3\done
get *.*pdf
close
open engr:engrngp@192.168.1.183
lcd d:\sftp
cd m4\done
get *.*pdf
close
Exit
this is script up to My Knowledge of Working..
Please Explore more.
Hope this will be helpfull to you.