thanks tore - perfect solution.
k
>>i have a text file that is downloaded into a directory - call it samp.txt.
>>Is there a way to test the date that the file was downloaded to verify it has today's date before processing it.
>>
>>thank you for any suggestions?
>>
>>k
>
>
if fdate('sample,txt')=date()
> Do something
>endif