Hi Krushna,
Your code is perfect, except for this if condition:
if (Spath2.Length== 0)
You are checking the length of Spath2 string here. It is 27 characters in length.
Again I repeat. 27 is not the file size, it is the number of alphabets/characters in the string Spath2.
To check for the file size, you have to do something like this.
string Spath2=Spath +@"\"+fj;
FileInfo objFileInfo=new FileInfo(Spath2);
if (objFileInfo.Size == 0)
Check and let me know.