SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

Hommer
Aged Yak Warrior

784 Posts

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

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.

Thanks!

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

Hommer
Aged Yak Warrior

784 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

visakh16
Very Important crosS Applying yaK Herder

India
52309 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
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.03 seconds. Powered By: Snitz Forums 2000