Creating batch file for sftp - do not want to send empty files
I am creating a batch file to sftp files to another server. Sometimes the application that creates the files will create empty files. I do not want to send these, but have not found a way to exclude them.
Any guidance would be great.