While sending .xls file to ftp server, when opening excel file, giving error file and the extension of document name (test.xls) doesn't match. The file could be corrupt or unsafe. Unless you trust its source, don't open it. Do you want to open any way.
While clicking on yes its getting display, but here in my case it should prompt for any message it should simply open the excel sheet without any prompting.