Argument Command in Exec Process Task NOT copying the file

Advertisement

dsu
Joined:
Posts:
2
Location:
NYC

Argument Command in Exec Process Task NOT copying the file

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

martin
Site Admin
martin avatar
Joined:
Posts:
27,209
Location:
Prague, Czechia

Re: Argument Command in Exec Process Task NOT copying the file

/command "open abc@sftp.net" "get /home/abc/customer_20100520.zip c:\temp\" "exit"
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum