Sychronize JPEG camera and SD card

It happens that the SD card only takes text files

That's a very strange statement.

You post is missing a great deal of useful information.