I have to read the directory and subdirectories in the directory. I have to read all file in the directory and compare with the other directory with the same structure, if it finds any file leaves it other wise it has to move files to the new directory with the same structure.
MAILBOX ---- SUBDIR1
---- SUBDIR2
---- SUBDIR3
SENTBOX ---- SUBDIR1
---- SUBDIR2
---- SUBDIR3
OUTBOX ----SUBDIR1
----SUBDIR2
----SUBDIR3
here the logic is, it has to check the mailbox with the sent box items. If any files are not sent then we have to send them to OUTBOX with the same directory stracture..
anyone can pelase help me the logic...
i have to write code in SDK.. like findfirstfile() functions.. I have get the whole path of the file...
thanks in advance..
venkat
MAILBOX ---- SUBDIR1
---- SUBDIR2
---- SUBDIR3
SENTBOX ---- SUBDIR1
---- SUBDIR2
---- SUBDIR3
OUTBOX ----SUBDIR1
----SUBDIR2
----SUBDIR3
here the logic is, it has to check the mailbox with the sent box items. If any files are not sent then we have to send them to OUTBOX with the same directory stracture..
anyone can pelase help me the logic...
i have to write code in SDK.. like findfirstfile() functions.. I have get the whole path of the file...
thanks in advance..
venkat