| To: | gettingstarted at lists dot realsoftware dot com |
|---|---|
| Subject: | Re: CopyFileTo |
| From: | Andrew Keller <andrew at kellerfarm dot com> |
| Date: | Sun, 30 May 2004 13:40:00 -0400 |
| Delivered-to: | gettingstarted at lists dot realsoftware dot com |
| List-help: | <mailto:gettingstarted-request@lists.realsoftware.com?subject=help> |
| List-id: | Getting Started <gettingstarted.lists.realsoftware.com> |
| List-post: | <mailto:gettingstarted@lists.realsoftware.com> |
| References: | <20040530170007 dot A4ED31FABEC at lists dot realsoftware dot com> |
How would I do error checking? I don't see any "LastErrorCode" properties like there is for the folderitem after using CopyFileTo. Does copying using a BinaryStream employ silent errors?You can create your own Copy method that runs in a thread. Just use a BinaryStream to copy the file over. Something like this:Note that there's no error checking -- you'll want to add that. But thiswill copy the files over in the background if you put it in a thread. _______________________________________________ Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Documentation Errors/The RB "Neverending Story", Emile Schwarz |
|---|---|
| Next by Date: | Re: CopyFileTo, Aaron Ballman |
| Previous by Thread: | Re: CopyFileTo, Aaron Ballman |
| Next by Thread: | Re: CopyFileTo, Aaron Ballman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |