schedule operation

Mar 11 2010 11:04 AM
Hi all,
I have create a similar client ftp , for the basic operation no problem , but after i have implemet a function for delete image on the ftp server , i have a trouble.
I have create a function for   check the date , if the date is old 7 days , delete the file and directory  , but i want give day, directory and file tipe like parameter ,because i  have some activity .
I tinhk to create a profile and save the data in xml file ( for example directory name , file age , filetype).
I want add operation like "windows scheduler task " for add the the time and date in xml file.
After i need a task witch read a xml and pass the parameter for delete file.

thx