Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-05-01 : 07:12:11
|
| ashwin writes "how do i go to a folder on a FTP site with a DTSFTP task object. Where do i need to specify the folder path programitically as i am putting in a conditional logic to download a file and then read it.thanks in advance" |
|
|
ValterBorges
Master Smack Fu Yak Hacker
1429 Posts |
Posted - 2003-05-01 : 10:58:13
|
| Take a look at looping, skipping a task, and obtaining variables from global parameters.http://www.sqldts.com/default.aspx?220,271,271,1,1http://www.sqlteam.com/item.asp?ItemID=12408Also script out your dts package by saving as vbs file and examine it so you understand the code behind the dts package.I had a good example somewhere I will try to find it.Here it is.http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=23576Edited by - ValterBorges on 05/01/2003 10:59:06Edited by - ValterBorges on 05/01/2003 11:02:56 |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2003-05-01 : 14:22:52
|
| you can also ftp from an SP using the command line.seewww.nigelrivett.comFTP==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2003-05-01 : 14:31:51
|
| I recommend nr's method instead of the DTS way. The FTP task in DTS is not flexible enough for a lot of situations. You can still use FTP in a DTS package, but it is done through a "Execute SQL Task" task instead of a "File Transfer Protocol task" task.Tara |
 |
|
|
X002548
Not Just a Number
15586 Posts |
Posted - 2003-05-01 : 15:01:33
|
| Why use DTS again?Brett8-) |
 |
|
|
|
|
|