<div dir="ltr"><div><div>Hi All,<br></div><div>currently i am using openssl for client and server communication for file transfer. i am facing some issue regarding the writing the content of file.my requirement is i have to send the whole content of some specified file to server for that i am using SSL_write(). i can achieve this using SSL_write() in a while loop but my requirement is i have to use single SSL_write() for sending whole content of file and single SSL_read  at the server to receive the whole content of the file.because in that message itself we  have to specify some id so that it can be identified at the server to indicate that it is file reading. so i need to send single message with full content of file in a buffer. because of the maximum limitation of SSL_write() we are not able to send more than 16384 bytes.<br></div>Could somebody suggest s how can i use SSL_write() for the writing the whole content of text file in a single message without using any while loop.<br><br></div>Thanks in Advance.<br clear="all"><div><div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><br>Thanks & Regards,<div>Roushan Ara</div></div></div></div></div></div>
</div></div></div></div>

<br>
<img src="http://skanray.com/sites/default/files/email_banner/AH%202018%20email%20sign.jpg"><br>
<br>
<b><font color="green" size="2">Please consider the Environment before printing this e-mail.</font></b><br><br><font color="gray" size="1">


        
        
        
        The information contained in this message 
(including any attachments) is confidential and may be privileged or 
otherwise protected from disclosure.  If you are not the intended 
recipient, you must not copy this message or attachment or disclose the 
contents to any other person.  If you have received this transmission in
 error, please notify the sender immediately by return e-mail and 
permanently delete this message and any attachments from your system.  
Any dissemination, use, review, distribution, printing or copying of 
this message in whole or in part is strictly prohibited.  Please note 
that e-mails are susceptible to change. <br> <br><a href="http://www.skanray.com" target="_blank"><b>SKANRAY</b></a><i>(including
 its group of companies) shall not be liable for any omission or error 
in the message, improper or incomplete transmission of the information 
contained in this communication or for any delay in its receipt or 
damage to your system. </i> <a href="http://www.skanray.com" target="_blank"><b>SKANRAY</b></a><i>(or
 its group of companies) does not guarantee that the integrity of this 
communication has been maintained or that this communication is free of 
viruses, interceptions or interference.</i></font>