This project has moved. For the latest updates, please go here.

API - Methods - Disk

Purpose:
  • Import files from disk or network share and extracts plain text by using the Windows Search API.

Syntax:
  • $lsa->Disk(indir, inext, docopy);

Where:
  • indir is the directory to import.
  • inext is the (list of) extension(s) of files to import (for example '.txt' or '.pdf;.doc;.ppt').
  • docopy is a boolean that instructs the import to make a copy to the windows %temp% dir or to work directly on the original files.

Returns:
  • the Base Directory where processing takes place.

Notes:
  • Sets the $lsa->basedir property.

Last edited Jan 14, 2010 at 1:54 PM by wvd_vegt, version 9

Comments

No comments yet.