Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to read new copied .xls file from SFTP origin & Avoid Exception:EmptyFileException

We are trying to read .xls or .xlsx file from SFTP origin, when new file coming on our server(source folder) we are getting EXCEPTION :
Pipeline Status: RUNNING_ERROR: org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long)

If same file available on source path, and if after that we are running pipeline then working correctly.