Hi,
I have a script task that connect to an FTP site and downloads all files on the site. At present it checks to see if the file physically exists on the server and if so it does nothing ..
If File.Exists(ImportedLocation & currentFile) Then '' ALready Exists Else theWebClient.Credentials = theCredential theWebClient.DownloadFile("ftp://ftp.doubleclick.net/14069" & "/" & currentFile, ToImportLocation & currentFile) End If
I need to change this so that rather than check if the file exists on the server, it checks an Variable (of Type Object) which has a list of file names within it. This is because I don't have the space to keep the files after download, but I log into
a table that its been downloaded.
How can I check if the currentFile is within the object variable?
Thanks!
Chris