CodePudding user response:
The HTML code is as follows, a great god:Blob lb_czfp emptyblob, temp
The integer li_fileno li_loops, li_i
Long ll_length
JJZH=message. Stringparm
SelectBLOB TPWJ into: lb_czfp from WXJJ_FPCZ_DA where JJZH=: JJZH;
If lb_czfp=emptyblob then
Messagebox (' prompt ', 'no image data! ')
Return
Close (this)
End the if
P_1. SetPicture (lb_czfp)
Ll_width=UnitsToPixels (p_1. Width, XUnitsToPixels!)
Ll_length=len (lb_czfp)
Li_fileno=FileOpen (" D: \ FP_TP JPG ", streamMode! The Write! , Shared! The replace!
If ll_length & gt; Then 32765
If the Mod (ll_length, 32765)=0 Then
Li_loops=ll_length/32765
The Else
Li_loops=ll_length/32765 + 1
End the If
The Else
Li_loops=1
End the If
Temp=lb_czfp
For li_i=1 To li_loops
FileWrite (li_fileno, temp)
Temp=blobmid (lb_czfp, li_i * 32765327, 65)
Next
FileClose (li_fileno)
CodePudding user response:
Where is the great god, using c # to do a tool to download images do not have what problem, also didn't driveCodePudding user response:
Test a picture of a little bit small, such as a few hundred K, have a try to download the complete?CodePudding user response: