Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having FTP function in VFP program
Message
 
To
12/08/1998 00:03:06
Yin Min Chen
Nec Home Electronics(M) Sdn Bhd
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00125500
Message ID:
00125912
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform