Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(2000) problem
Message
De
03/09/2001 03:15:09
 
 
À
31/08/2001 12:21:33
Steve Jones
Business Systems Services Uk Ltd
Swansea, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00551497
Message ID:
00551703
Vues:
14
>Hi,
>
>We have a problem with the Sys(2000) command. Every 10 mins a procedure automatically ftps files with the same name but different extension to a directory, and then uses the sys(2000) command to identify the first file. The file is then encrypted, emailed and deleted, then the next file would be found using the sys(2000) command. This worked fine until the customer had a virus problem. This was sorted and all exe's and dll's were replaced. However, the procedure now only picks up the first file, which it emails, deletes etc, but doesn't find the next file.
>
>As no code has been amended, we have logged the sys(2000) command, and it is returning a blank string, even though a file exists. This used to work fine and works ok on our and other systems.
>
>Any ideas gratefully appreciated.
>
>Thanx

Steve,

I would check out the directory, make sure there aren't any wierd files in there.. maybe with no fielname or no extension or a Zero length etc.

If you can't get the sys2000 working then you could try doing the same thing with aDir()

HTH
Will Jones
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform