How can I import data into SQL server via http server ?
ThanksHi,
Is this any use to you: http://www.sqljunkies.com/WebLog/ashvinis/archive/2005/05/25/15653.aspx
|||Yes i saw it, but i'm novice, i don't know how tu use it ...
If someone can help me|||The code is VB.Net which can be used within a Script Task in your package.
To start, add two variables. Hope fully the names are self-explanatory-
RemoteUri
LocalFileName
Ensure they are type String, and set some suitable values. Add a Script Task, and replace Sub main with Ash's code.
|||thanks a lot, i'll try it !|||
How can i do to specifiy the path of local file with something like
PhysicalApplicationPath in a DTS script task ?
|||The script references a variable to get the file - Dts.Variables("LocalFileName").Value
Or
Is PhysicalApplicationPath a special path that you expect to be derived? If so what exactly would you expect it to be?
|||I need to specify where my file will be downloaded. My problem is i execute this on shared sql server...Thanks|||So use the variable and supply the folder you need to that variable. You cannot get th path of the package, as the package may not even have a path, and is being hosted at execution time, so the package path is meaningless. You seem to have started another thread so followup there.
No comments:
Post a Comment