![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using SQL 2005, and need to set up a SSIS ftp task to transfer files from remote ftp server. Everyday, and a file is posted in a folder in that remote ftp server, and the files are cleaned up weekly. The file name is in AMMDD.txt format, in which MMDD is the month and day the file is posted. How I can configure the ftp task? Thanks, |
#3
| |||
| |||
|
|
You could use an Expression on the FileName property of the ftp task (not sure what properties are available because I don't use ftp all that often) to dynamically change the file name based on the current date at run-time. Or use a Script Task to set the contents of a variable as needed, then use that variable as the source file name in the ftp operation. HTH ===== Todd C "qjlee" wrote: I am using SQL 2005, and need to set up a SSIS ftp task to transfer files from remote ftp server. Everyday, and a file is posted in a folder in that remote ftp server, and the files are cleaned up weekly. The file name is in AMMDD.txt format, in which MMDD is the month and day the file is posted. How I can configure the ftp task? Thanks, |
#4
| |||
| |||
|
|
Can you be more specific? Thanks, QJLEE "Todd C" wrote: You could use an Expression on the FileName property of the ftp task (not sure what properties are available because I don't use ftp all that often) to dynamically change the file name based on the current date at run-time. Or use a Script Task to set the contents of a variable as needed, then use that variable as the source file name in the ftp operation. HTH ===== Todd C "qjlee" wrote: I am using SQL 2005, and need to set up a SSIS ftp task to transfer files from remote ftp server. Everyday, and a file is posted in a folder in that remote ftp server, and the files are cleaned up weekly. The file name is in AMMDD.txt format, in which MMDD is the month and day the file is posted. How I can configure the ftp task? Thanks, |
![]() |
| Thread Tools | |
| Display Modes | |
| |