March 16, 2010 at 10:13 am
Can I use SSIS to import a csv file directly to a table destination? It seems like the FTP task just allows the destination to be a file, which at this point ends up on my local pc and then import it like any other file.
Even when I tried to do that and add a data flow task, it was prompting me for the file name which was not yet in existence on my PC.
I could use some help here. Thank you.
March 16, 2010 at 11:17 am
You need a copy of that file in the location you are going to use it from. It HAS TO EXIST when you do your design work, also be sure to set DelayValidation to TRUE for the dataflow components because when you run it for real, that file won't exist and when it goes to validate the package it will fail. Also, I'm not sure if it was clear, but the FTP task can't be used directly in a Data-Flow, it is a control-flow only task.
CEWII
March 16, 2010 at 11:34 am
Thank you for your answer. I did not know anything about the DelayValidation.
So, the bottom line is, I must FTP to a folder first, and then import that file to a table?
March 16, 2010 at 11:39 am
Yes. That is the short answer.
CEWII
March 16, 2010 at 11:53 am
... and, to do the design work in the first place, you'll need a valid source-data file in your import folder. Without it, SSIS cannot build the necessary meta data. Once the design is done and DelayValidation is set, you can delete the file.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
March 18, 2010 at 2:52 pm
duanecwilson (3/16/2010)
Can I use SSIS to import a csv file directly to a table destination? It seems like the FTP task just allows the destination to be a file, which at this point ends up on my local pc and then import it like any other file.Even when I tried to do that and add a data flow task, it was prompting me for the file name which was not yet in existence on my PC.
I could use some help here. Thank you.
Why do you want to import directly from FTP to a table? Is there a specific security-related vulnerability requirement?
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply