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 |
jr2010
Starting Member
2 Posts |
Posted - 2006-01-20 : 11:41:07
|
Does anyone know how to use the Dynamic Properties Task to change the file name automatically each day.I am trying to create a DTS package that will transfer a different file each day.Thanks |
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2006-01-20 : 11:42:21
|
Probably easier in a stored proc - have a look athttp://www.nigelrivett.net/FTP/s_ftp_PutFile.html==========================================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. |
 |
|
jr2010
Starting Member
2 Posts |
Posted - 2006-01-20 : 12:30:35
|
Thanks for your help.I used your stored procedure but it is not working for me.I checked the ftpcmd.txt and it reads:open myftpsitemyusernamemypasswordput c:\Vendor_Files\test2222.txt Omniture_Files/test2222.txt quit These are the variables I set.@FTPPath = 'Omniture_Files/' @FTPFileName = 'test2222.txt' @SourcePath = 'c:\Vendor_Files\'@SourceFile = 'test2222.txt'@workdir = 'c:\temp\'I appreciate your help.c:\Test\test2222.txt is the |
 |
|
|
|
|