pbuenger
Newbie level 1
Hi folks,
I am using a Sim900 and currently I'm trying to transfer JPEG-Pictures with the on-board FTP-client. Everything works fine, but when I transfer the data in 512byte blocks with the command "AT+FTPPUT=2,512", the Sim900 modifys my binary data. Everytime there is a 0x0A (Linefeed) in the data stream, it adds a 0x0D (Carriage Return) before. So when I transfer 512 Bytes, the File on my FTP-server is bigger because of the additional CR's. The Sim900 ist set to Binary Mode with "AT+FTPTYPE="I"".
I don't have any idea to solve that.
Regards,
Peter
I am using a Sim900 and currently I'm trying to transfer JPEG-Pictures with the on-board FTP-client. Everything works fine, but when I transfer the data in 512byte blocks with the command "AT+FTPPUT=2,512", the Sim900 modifys my binary data. Everytime there is a 0x0A (Linefeed) in the data stream, it adds a 0x0D (Carriage Return) before. So when I transfer 512 Bytes, the File on my FTP-server is bigger because of the additional CR's. The Sim900 ist set to Binary Mode with "AT+FTPTYPE="I"".
I don't have any idea to solve that.
Regards,
Peter