Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cute FTP & VFP9
Message
De
15/03/2006 16:08:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Cute FTP & VFP9
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Divers
Thread ID:
01104694
Message ID:
01104694
Vues:
69
Hi all.
This is sort of interesting...
I am running some Visual FoxPro script that up/downloads
some files using CuteFTPPro. Works perfect. I discovered that when I issue (is) Object.IsConnected
the return value is numeric (not boolean like it would be if I ran VBscript)
The value is -1 or 0. Either way files transfer sucessfully - I INSERT INTO my LOG file the results.
IF !empty(Object.isconnected)
    m.desc = "CONNECTED OK"
ELSE
    m.desc = "NOT CONNECTED"
ENDIF
What the heck is up with that. Usually -1 is failure.
Some how my script is indicating "CONNECTED OK" ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform