gettingstarted
[Top] [All Lists]

Re: Working out progress of file copy

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Working out progress of file copy
From: "Joseph J. Strout" <joe at strout dot net>
Date: Wed, 29 Mar 2006 08:30:22 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <20544 dot 217 dot 40 dot 203 dot 22 dot 1143641436 dot squirrel at webmail dot scaredofsunlight dot net>
At 3:10 PM +0100 3/29/06, Mark Cooke wrote:

I've created a Thread and put the copy code into here (It just uses the
CopyFileTo method), is there any way to update a progress bar to inform
the user of the progress of the copy operation?

No, not using f.CopyFileTo. I think your basic options are (a) tell the Finder (or other-platform equivalent) to do the copy for you; it should display its own progress bar, or (b) write your own copy routine, using a couple of BinaryStreams (and something else to deal with the resource fork and metadata, if needed), so you can track progress.

Best,
- Joe

--

Joseph J. Strout
joe at strout dot net
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>