Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:31:00+00:00 2026-06-18T12:31:00+00:00

I am using SSIS 2005 to do some SFTPtasks using WinSCP . I googled

  • 0

I am using SSIS 2005 to do some SFTPtasks using WinSCP. I googled about the error but couldn’t make it work. I got this error:

[Execute Process Task] Error: In Executing “C:\Program Files\WinSCP\WinSCP.exe” “-script=C:\Documents and Settings\nian_z\Desktop\temp\SSISMovingSOA\removeSOA8.txt” at “C:\Program Files\WinSCP”, The process exit code was “1” while the expected was “0”.

Here is my WinSCP script that I use:

option batch abort
option confirm off
#open sftp://user:password@server:22
#cd /m/vo/Cont/fileftp
get OrderOutbound*
close
exit

For above script, I even tried leaving only one statement at a time, but still got error.

Here is the setup of the execute process task.

Execute Process Task

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:31:02+00:00Added an answer on June 18, 2026 at 12:31 pm

    This is not an answer but an attempt to help you find a solution to your problem.

    Try this:

    Try the following steps to find out if your script is actually working outside of SSIS or not.

    • Click Windows Start and click Run...
    • Type cmd to open Command Prompt.
    • On the command prompt window, type the following command at the prompt to switch to the WinSCP installation directory. I have the WinSCP installed in the following directory. Change the path according to your environment settings.

    cd "C:\Program Files (x86)\WinSCP"

    • If your WinSCP script file removeSOA8.txt is located in the path C:\Documents and Settings\userid\Desktop\temp\SSISMovingSOA\ with spaces, then type the following command by enclosing the script path in double quotes to run the script and also use the /log option to capture all the status messages.

    WinSCP.exe "/script=C:\Documents and Settings\userid\Desktop\temp\SSISMovingSOA\removeSOA8.txt" /log=C:\temp\WinSCP_log.txt

    After the script executes, your will find that a log file named WinSCP_log.txt will be created in the path C:\temp. Read through the file to identify if there are any error messages.

    Attempt to run FTP in SSIS:

    I tried downloading a file from FTP using WinSCP with the following script:

    option batch abort
    option confirm off
    open ftp://myuserid:mypassword@ftp.myftpsite.com:21 -passive=on
    cd /root/somefolder/
    option transfer binary
    get SomeFileOnFTP.txt c:\temp\
    close
    exit
    

    Here are the settings how I have configured the Execute Process Task within the SSIS package.

    Execute Process Task

    The process ran successfully in BIDS.

    Execution

    Hope that gives you an idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're about to make data transformation from one system to another using SSIS. We
I am using a script task in ssis 2005 which takes some time and
I've got this to work using a very basic example(outlined below) and I want
I'm using SSIS on SQL Server 2005 and have run across an error. As
I'm using SSIS to import data from Excel sheets into SQL Server 2005, the
I've only been using SSIS briefly, but I find that my complaints are numerous.
I am using SSIS to connect to a legecy mainframe database and this allows
I'm attempting to execute an SSIS package on SQL 2005 using the following: dtexec
I'm using 2005 Windows Forms in C#. I've only been working at this for
I am using SSIS on SQL Server 2005, VS 2005 SP2. I have created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.