I am receiving some folders through FTP in my severs's 'MYFolder' everyday.I need to distribute the
received folders to 14 users,which has read access 14 different folders(their resepctive ids) in my
system.Also there is one Backup folder in my system which will be used for 10 days data retention.
My requirement is
1>. Move all the folders from 'MYFOLDER' to 'BACKUP' folder and empty 'MYFOLDER'.
2>. Distribute Folders from BACKUP to 14 individual folders evenly,in a way that if we have suppose
21 folders first 14 folders are distributed one each to 14 folders and rest 7 goes to first 7 folders.
3>. Check for retention period of 10 days in backup folder and then blow off folders 11 days old.
I am looking for full programming code.