Check file size before and after scp

Dears does anybody know how to check the file size on server A and server B before and after scp using KSH. Script should be on server A.

I will be using it for the below mentioned scenario:

I have written a code to fetch files from server A, move it onto server B compress it and save it on server C and delete the files from server A and B.

But now my concern is to check the size and filename before deleting from server A and B.. the checks are required between server A and server B before deleting from server A & between server B and server C before deleting from server B. The code is running on server B......

#########

FILELIST=`ssh root@ServerA 'find /dir1/dir2 -type f -print -mtime +12'`
for f in $FILELIST

do
dirname=`basename $f`
mkdir -p /CGW_Backup/egcdr/`echo ${dirname:0:6}`
scp -r usn@serverA:$f ServerB`echo ${dirname:0:6}`
done


#checking file name and sizes betwen server A and B




LOCAL_FILELIST=`find ServerB`
for f in $LOCAL_FILELIST
do
bzip2 -9 $f
done



scp -r ServerB/* usn@ServerC:/mnt/pools/A/A0/Backups/


#checking the file name and sizes for between server B and server C


for f in $FILELIST
do
removing the files from CG and Hstore
`ssh usn@serverA 'rm $f'`
done

rm -r /serverB/*

You can parse the ls -l output with read:

ls -l xxx|( #subshell required in bash
read perms links fuser fgroup fsize fd1 fd2 fd3 fname ; echo $fsize )

Issue is solved using rsync (powerful tool)... it does the required task automatically.