My goal is to see the content (at first if this is easier than downloading and create bin file inside BG96 memory) of my file from this site: https://filebin.net/
This is free file binary hosting site.
Now I m trying to see the content of this file but have still errors:
RDY
AT+QHTTPCFG="responseheader",1
OK
AT+QHTTPCFG="contenttype",1
OK
AT+QIACT?
OK
AT+QICSGP=1,1,"iot1","","",1
OK
AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,"172.29.10.167"
OK
AT+QHTTPCFG="sslctxid",1
OK
AT+QSSLCFG="sslversion",1,1
OK
AT+QSSLCFG="ciphersuite",1,0x0005
OK
AT+QSSLCFG="seclevel",1,0
OK
AT+QHTTPURL=36,60
CONNECT
OK
AT+QHTTPURL=36,60
CONNECT
-> "https://filebin.net/hngzfyaze95l5ojx"
OK
AT+QHTTPGET=80
OK
+QHTTPGET: 701
AT+QHTTPREAD=80
+CME ERROR: 705
The site and the file are public so I don’t think you require the SSL configuration. I recently downloaded a file from AWS S3 bucket to my modem using this same sequence.
[ QHTTPREAD command displays the fetched content , omit this command and move to the next one if you need to store the content as a file] AT+QHTTPREAD=80
[ Stores the file onto the storage ] AT+QHTTPREADFILE="ufs:file.txt",80