Topic: zrObject.ExtractFileToDisk - Unhandled Exception
Function Extract_Zip()
Local zrObject:ZipReader = New ZipReader
Local Extracted_file:String
Local Scr_file:String
SetGadgetText(Curr_Msg_Lab,"Extracting File: ")
If ( zrObject.OpenZip(ServerZIPFile) ) Then
For Local i:Int=1 To zrObject.getFileCount()-1
Scr_file:String=zrObject.getFileInfo(i).zipFileName
Extracted_file=Replace(Scr_file,"Pocket Radio Player/","")
If Extracted_file.find(".")>0 Then zrObject.ExtractFileToDisk(Scr_file, Extracted_file, True) <- This one!!
Next
zrObject.CloseZip()
End If
End Function