Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Having FTP function in VFP program
Message
 
À
12/08/1998 00:03:06
Yin Min Chen
Nec Home Electronics(M) Sdn Bhd
Sungai Petani, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00125500
Message ID:
00125912
Vues:
29
Are you sure that cServer contains a valid FTP server name and that BAR01B is the full name of a file in the root directory on that server? If the server is Unix, the file name is probably case sensitive. Also, you should confirm that the user ID and password you're sending are correct (they may also be case sensitive).

>I have copied wwipstuff.dll, and put in the code as below, but the function FTPGetFile always returning the value which is not 0(Zero). Do U know why?
>
>
>SET PROCEDURE TO c:\chen\temp\westwind\wwUtils ADDITIVE
>SET CLASSLIB TO c:\chen\temp\westwind\wwIPStuff ADDITIVE
>
>o=createobject("wwIPStuff")
>
>if o.FTPGetFile(cServer,"BAR01B","c:\chen\temp\bar01b",1,cUserId,cPassword)=0
> MessageBox("Ok", 0)
>else
> MessageBox("Fail", 0)
>endif
>
>
>Thanks Josh.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform