Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy File
Message
From
18/12/2001 06:05:11
 
 
To
17/12/2001 23:11:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00595460
Message ID:
00595510
Views:
30
>I have an application that moves files from an LAN to the local drive of a client PC. I use COPY FILE to do the actual copying. I'm moving a lot of files in each session.
>
>This app works great on a Win95 client, but I'm having trouble on a W2K client. Really small files transfer fine. File in the range of 1-2MB move so slowly the process almost seems to hang. It might take 3-4 minutes to move a 1-2MB file. The same files copy in seconds on the Win95 client.
>

If there are a number of files involved, you might consider using SHFileOperation() to do this rather than the native COPY FILE command - see the Win32 API section for details.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform