Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy File
Message
De
18/12/2001 06:05:11
 
 
À
17/12/2001 23:11:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00595460
Message ID:
00595510
Vues:
31
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform