Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 ftp task help
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

808 Posts

Posted - 05/01/2014 :  14:16:09  Show Profile  Reply with Quote

Could someone point me to an example of how to setup a local file path?

It needs to be dynamic. it is going to be C:\something.txt in dev environment, and D:\dir\something.txt in deployed production.

The file name and location are both known, and it is only one file.

However, the locations under development and production are different.

I tried parameterize..., and FTP Task Editor, File Transfer LocalPath parameter, both none of them worked.

I am in vs2012 (SSDT?). It seems have a lot of changes from 2008R2.


Edited by - Hommer on 05/01/2014 14:20:49

Aged Yak Warrior

808 Posts

Posted - 05/02/2014 :  11:19:49  Show Profile  Reply with Quote
I got it to work by adding a step to copy the file first, so the location at the server of the source file is the same as my development.

It seems in the new 2012 world, there are more ways to customize things, but that came with the complexity and the difficulty to make it work.

Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 05/09/2014 :  05:55:36  Show Profile  Reply with Quote
You could simply parameterise the file path property and pass values to it by creating environment variables for Dev, production etc in SSIS catalog.

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000