Shell script to FTP if file size is 0KB

Hi all,
I was a UNIX shell script that will check for the file size of each file and it should be re directed to a text file say filesize.txt
And if there are more than 10 0KB files then FTP should not happend and whenever there are less than 10 0KB files it should FTP the files.
Kindly help me in same..
Thanks in advance!!!

go through the man page of find command you will get some idea