Support I don't understand your reply
The task will download what ever the website shows if it shows a csv file it will download that if it shows a http error message it will download that.
The next task will try and insert the downloaded file in to the database so I need to check that I do in fact have a valid CSV file
I used this powershell script to grab the header line of the downloaded file
Get-Content "C:\Downloads\CSV\{DATENOWADD(Days|-1|yyyy-MM-dd)}" -totalcount 1
This then puts the first line in to the output of that task could I then check the output is create and has the 4 headers that I am expecting ?