Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure not found msg when hit error in wwFTP class
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00713086
Message ID:
00718199
Views:
32
Will do after I read their docs a bit more closely <grin>. Thanks

>Hi Vern,
>
>You can try to post your question on West Wind message Board at http://west-wind.com/wwthreads/.
>
>>Hi,
>>
>>I would like to use the wwFTP class to download files. I dropped the wwFTP class on my form and called it oWwFTP. I then put the following code in the click method of a command button
>>thisform.oWwFTP.cFTPServer = '159.3.99.113'
>>thisform.oWwFTP.cUserName = 'user_name'
>>thisform.oWwFTP.cPassword = 'wrong_password'
>>thisform.oWwFTP.cFTPSource = 'LEWTAN.FTPSUB'
>>thisform.oWwFTP.cFTPTarget = 'c:\temp\lewtan.ftpsub'
>>IF thisform.oWwFTP.FTPGetFile() # 0
>> lcErrorMsg = thisform.oWwFTP.cErrorMsg
>> =MESSAGEBOX(lcErrorMsg )
>>ENDIF
>>
>>I included the following in the form load:
>>SET PROCEDURE TO wwUtils ADDITIVE
>>SET PROCEDURE TO wwEval ADDITIVE
>>SET PROCEDURE TO CodeBlockClass ADDITIVE
>>SET CLASSLIB TO wwIPStuff ADDITIVE
>>SET CLASSLIB TO wwXML ADDITIVE
>>SET PROCEDURE TO wwHTTP ADDITIVE && Required by wwXML
>>SET PROCEDURE TO WWPOP3 ADDIT
>>
>>If I deliberately provide an invalid password, I get back the following error when I try to run the form:
>> Win32API - the specified procedure could not be found
>>
>>The file transfer runs fine if I give the correct password.
>>
>>My apologies if others have asked the same question. I could not find other references to "Win32API" in the threads.
>>
>>I was able to replicate this on another PC so I am sure it is some foolish newbie error on my part. Any suggestions where I have gone wrong?
>>
>>Thanks!
>>
>>Vern
Vern
Previous
Reply
Map
View

Click here to load this message in the networking platform