Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cute FTP & VFP9
Message
From
15/03/2006 16:08:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Cute FTP & VFP9
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01104694
Message ID:
01104694
Views:
71
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" ?
Next
Reply
Map
View

Click here to load this message in the networking platform