Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Copying multiple files to a Winscp directory via Script

$
0
0

Hi,

   I have a question regarding copying multiple files from one directory to remote directory in SSIS,I'm using WINSCp,below is my script file

option batch on
option confirm off
open username:password@ipaddress -timeout=1000 -hostkey="ssh-rsa 39439:xx:xx:xx:xx:xx"
option transfer binary

put c:\temp\*.xlsx
close
exit

          It copies the first file successfully i have couple more to be copied .Is this the correct way to copy multiple files?Please guide me.

Thanks in Advance


Anita


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>