You can use CopyFile (winapi), which is what I have been using. But
it is a pig - while copying the file, your app does not respond to
anything for seconds. There is also MoveFile and DeleteFile. From
memory there is a suite of routines in lzw unit which can uncompress
the file as they copy.
On 11 Jun 99 at 11:05, richard.r.huegill@centrelink. wrote:
> Whats the easiest way to copy files from delphi,
>
> execute s shell program ?
> write a copy FileObject that uses blockread/write ?
>
> I Have to do a whole stack of files and directories ??
>
> Richard
>
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz