Home > database >  Pb how to turn the zip file into file stream (binary stream)
Pb how to turn the zip file into file stream (binary stream)

Time:09-26

I need to generate local zip file by file stream (binary stream) form to the other side of the HTTP servers, excuse me what method the zip file into the binary stream?

CodePudding user response:

It is with the help of PB in copy,

 integer li_fnum, li_bytes 

Blob Emp_Id_Pic

Li_fnum=FileOpen (" C: \ HR \ EMP_PIC1.zip ", & amp;

StreamMode!)

Li_bytes=FileRead (li_fnum Emp_Id_Pic)


  • Related