I need to copy a file (srcFile) to a new ubication (destFile). Then I calculate the size of the copy file using stat. The problem is that I always get a cero size value although the file has not cero size in the hard disk.
The source code that does this is :
PROGRAM 1:
char srcFile[MAX_FILE_SIZE];
char destFile[MAX_FILE_SIZE];
int fileDest = 0;