# Https Big file download issue

**URL:** <https://forum.sierrawireless.com/t/https-big-file-download-issue/7266>\
**Category:** Legacy HL Series\
**Created:** [June 24, 2014, 9:00am UTC](https://forum.sierrawireless.com/t/https-big-file-download-issue/7266 "2014-06-24T09:00:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinu1209](https://avatars.discourse-cdn.com/v4/letter/v/7ba0ec/32.png) [@vinu1209](https://forum.sierrawireless.com/u/vinu1209)\
**Post date:** [June 24, 2014, 9:00am UTC](https://forum.sierrawireless.com/t/https-big-file-download-issue/7266/1 "2014-06-24T09:00:14Z")

</div>

Hi,

I am using HILO NCV2 GSM modem.  
Whenever i try to send very big file about 2.3 MB through UART to a https server,modem is not able to send this huge data.  
How to resolve this issue ? What could be the problem ?  
How much data modem can buffer at a time ?  
More over how to use CTS and RTS lines for data tranmission ?

Thanks & Regards  
vineet

---

<div class="post-metadata">

**Author:** ![vinu1209](https://avatars.discourse-cdn.com/v4/letter/v/7ba0ec/32.png) [@vinu1209](https://forum.sierrawireless.com/u/vinu1209)\
**Post date:** [June 24, 2014, 9:09am UTC](https://forum.sierrawireless.com/t/https-big-file-download-issue/7266/2 "2014-06-24T09:09:35Z")

</div>

Moreover if i send very small data like 4K bytes to the https server ,after the successful deliver of data and reponse why --EOF–Pattern-- takes time to come from the modem side

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [June 26, 2014, 9:23am UTC](https://forum.sierrawireless.com/t/https-big-file-download-issue/7266/3 "2014-06-26T09:23:26Z")

</div>

Hello,

Flow control is needed to handle big files.  
CTS/RTS can be used for hardware flow control.  
Please refer to the AT&K command for more details.

For your second question :  
Usually the server will send a response to the module and then the module will send “OK” to the user application.  
Please share the AT commands log?

Thanks

---

<div class="post-metadata">

**Author:** ![vinu1209](https://avatars.discourse-cdn.com/v4/letter/v/7ba0ec/32.png) [@vinu1209](https://forum.sierrawireless.com/u/vinu1209)\
**Post date:** [July 2, 2014, 8:20am UTC](https://forum.sierrawireless.com/t/https-big-file-download-issue/7266/4 "2014-07-02T08:20:55Z")

</div>

Thanks for the reply  
Don’t know why --EOF–Pattern-- comes with long detail even though server has send the response.  
Please find the AT logs below :

AT

OK  
AT&K3

OK  
AT+KCNXCFG=0,“GPRS”,“[airtelgprs.com](http://airtelgprs.com)”,"",""

OK  
AT+KCNXPROFILE=0

OK  
AT+CGATT=1

OK  
AT+KHTTPSCFG=0,“some ip”,“some port”,0,0, 1

+KHTTPSCFG: 0

OK  
AT+KHTTPSHEADER=0

CONNECT

OK  
AT+KHTTPSPOST=0, “some url”

CONNECT  
Data through serial port…

Some response from server that data received.  
After this --EOF–Pattern-- takes long time to come (almost more than 40 sec)

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [July 8, 2014, 6:49am UTC](https://forum.sierrawireless.com/t/https-big-file-download-issue/7266/5 "2014-07-08T06:49:03Z")

</div>

Hi,

It depends on the website.  
The module has to wait for the END response from the website, and then send the “–EOF–Pattern–” indication.

Thanks
