winSCP command in SSIS Exec Proc Task DOESNT Copy Files

Advertisement

dsu
Joined:
Posts:
2
Location:
NYC

winSCP command in SSIS Exec Proc Task DOESNT Copy Files

i have issue when i am running using winscp command through execute process task in SSIS.
when i run this i follow this
in the executable file i use c:winscp.com
in the Argument i pass this command :
"abc@sftp.net" "get /home/abc/customer_20100520.zip c:\temp\" "exit"

What this does it opens the command line prompt and it just stops at place where it should start execue the command
get /home/abc/customer_20100520.zip c:\temp\

BUT When i do use command line and pass these all it again stops there and it requires me to write the
get /home/abc/customer_20100520.zip c:\temp\ then it copies all the file to desired ( c:\temp\)

can any one please advise me what should be the format or code to pass input so it can do automatically.
Please advise me this is very urgent
Many thanks in advance :?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,809
Location:
Prague, Czechia

Re: winSCP command in SSIS Exec Proc Task DOESNT Copy Files

Crosspost
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum