Transfer files from sftp site to server (Folder to Folder match)
Dear Forum members,
Kindly help me. I am looking for a batch command script file to connect to sftp site from the server. Upon connecting to the sftp site under the main folder, i will be having different sub-folders. Each sub-folder has files. These files need to be moved to server C:\main-folder\sub-folder. The sub-folder in the sftp site is same as sub-folder in the server side. Hence i need to match the sub-folder name from sftp site to server sub-folder site and then transfer the files. Upon copying the files from sub-folder of sftp site, i need to delete these files from sftp site. Appreciate your kind help my friends.
Regards
Syed Jalal
Kindly help me. I am looking for a batch command script file to connect to sftp site from the server. Upon connecting to the sftp site under the main folder, i will be having different sub-folders. Each sub-folder has files. These files need to be moved to server C:\main-folder\sub-folder. The sub-folder in the sftp site is same as sub-folder in the server side. Hence i need to match the sub-folder name from sftp site to server sub-folder site and then transfer the files. Upon copying the files from sub-folder of sftp site, i need to delete these files from sftp site. Appreciate your kind help my friends.
Regards
Syed Jalal