It is the latest lib. The issue is not the SD library. The data is getting stored properly.
It is the FTP part that has issues. Just rechecked with change to particle.process. Same result.
Only 204,672 bytes got transferred and missing characters again in the FTPed file on server
Here is the link to SDFat library.
Here is a topic related to SD library.