We figured out what we were doing wrong Ivan, but now are coming up with the problem. The variable of the remote file that we are feeding in to the task is an variable of object type. We are calling it "RemoteFile" (object) just like in the SampleSftpIteration.dtsx
When I run the package it get's the RemoteFilesList and passes it to the ForEachLoop mapped to RemoteFile whcih passes to the ScriptTaskPlus and then fails with this error.
[File Info List] Error: Unable to cast object of type 'FileInfo' to type 'System.Object[]'.