Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SSH FTP???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01441962
Message ID:
01442079
Vues:
47
>>>I'm trying to add SSH FTP ability to my VFP app. I've tried a couple of things....
>>>
>>>One is the curl32 one - but I can't seem to get it to work...
>>>
>>>The other one is this:
>>>http://www.example-code.com/foxpro/sftp_uploadFile.asp
>>>
>>>On the second one...this one of code:
>>>lcHandle = loSftp.OpenFile("hamlet.xml","writeOnly","createTruncate")
>>>seems to be my problem - for some reason lcHandle returns nothing.
>>>
>>>Does anyone have some code that actually works?
>>And what are the message?
>>The example has this:
>>
>>lcHandle = loSftp.OpenFile("hamlet.xml","writeOnly","createTruncate")
>>IF (lcHandle = NULL ) THEN
>>    =MESSAGEBOX(loSftp.LastErrorText) && So, what this say?
>>    QUIT
>>ENDIF
>>
>
>No error message, but lcHandel = "" always. (blank)

What about this test?
lcHandle = loSftp.OpenFile("hamlet.xml","writeOnly","createTruncate")
IF EMPTY(NVL(lcHandle,""))
    =MESSAGEBOX(loSftp.LastErrorText) && So, what this say?
    QUIT
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform