hfile toma valor, y aunque se cierre con FClose() ese valor permanece. No hay ningun tipo de ligazón entre hFile y el fichero al que representa más que con el uso de las funciones file
... if ($Report == false) { echo ("Error in opening new Report"); exit(); } fwrite($Report, "Print Report: Verkauf "); fclose($Report); The FIVEWIN program prepares all the data for the report and stores the data in a CSV file. PHP program is waiting: while ($x <= ...
... That was included for the upload as variable cUpFile. Switching to that, the deletion occured. Thanks for the ideas. I have left the SysWait and FCLOSE functions in place to make the process more stable.
... y luego para recuperarlo, lo descomprimo: nHandle:=FCreate(cTempZip) FWrite(nHandle,bFOTOS:fotografia,Len(bFOTOS:fotografia)) FClose(nHandle) aFiles:=hb_GetFilesInZip(cTempZip,.t.) Hb_UnZipFile(cTempZip,,.T.,,cTemp,aFiles[1],NIL) cFoto:=cTemp+aFiles[1,1] Espero te sirva... ...