Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Backup and Import to\from an Archive Folder
Message
From
10/10/2003 11:10:20
Michael Gass
Instructional Software, Inc.
Kirkland, Washington, United States
 
 
To
10/10/2003 11:03:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00837360
Message ID:
00837430
Views:
45
Thanks for the help. I appreciate it.

>Hi Mike,
>
>I know there's little documentation but as you have said the functions look obious. Full source is included.
>You can never be sure. Having said that, I use these frequently and the only problems I've had were when I was copying (under XP) to a network mapped drive that had not been accessed with the explorer prior to copying.
>
>If you want to be on the safe side, add ASSERT FALSE before any RETURN FALSE, and use them for a while. I have not heard of any problems
>
>Success,
>
>
>>Gregory -
>>
>>I have quite a few tables and I need something that's going to be quick with very little susceptibility to errors. This looks like it could do the trick. Do you know where I could find more detail on the functions? There was very little documentation. Most seem obvious but I'd like to know for sure rather then making assumptions. Thanks.
>>
>>- Mike
>>
>>>Michael,
>>>
>>>There's a download 'folder related api'
>>>
>>>you can then use
>>>
>>>=FolderCopy(SourceFolder, DestinationFolder)
>>>
>>>
>>>It syncs the DestinationFolder with the SourceFolder including subfolders, deleting files/folders as needed and copying changed/new files/folders
>>>
>>
>>
>>>There may be better ways.
>>>
>>>I use this a lot
>>>
>>>Of course, databases must be closed prior to copying
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform