Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for file transfer completion
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00353899
Message ID:
00353902
Vues:
22
>Is there any way in VFP6.0 that you can check if a file has finished writing to a directory? We have a program that checks a directory to see if a file has been FTPed in.
>
>I am looking for a way to determine that the file has completed it’s transfer and it is now safe to move or use.

Some thoughts off the top of my head:
- try to move or rename it. If VFP throws an error it is still downloading
- get sending program to do something to indicate that the transfer is done. Something like transfer a 2nd file with the same name but with a .DNE extension so that you know the original is done.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform