• If the file is alone in the directory, you could use a ForEach loop and loop through the files (of which there will be one).

    I am not sure why you would have had to use an external process to rename the file to the current month / current year. If you were doing this with an expression variable and a file system task, your variable could be used in the ftp task.

    The expression for the variable would be:

    [font="Courier New"](MONTH(GETDATE()) == 1 ? "January" : MONTH(GETDATE()) == 2 ? "February" : MONTH(GETDATE()) == 3 ? "March" :

    MONTH(GETDATE()) == 4 ? "April" : MONTH(GETDATE()) == 5 ? "May" : MONTH(GETDATE()) == 6 ? "June" :

    MONTH(GETDATE()) == 7 ? "July" : MONTH(GETDATE()) == 8 ? "August" : MONTH(GETDATE()) == 9 ? "September" :

    MONTH(GETDATE()) == 10 ? "October" : MONTH(GETDATE()) == 11 ? "November" :

    MONTH(GETDATE()) == 12 ? "December" : "InvalidMonth")

    + (DT_WSTR, 4) DATEPART("YYYY",GETDATE())

    + "_report.txt"[/font]