General information
Category:
ActiveX controls in VFP
Title:
Mabry FTP Control Problem
I am having trouble with the getfilenamelist and getdirlist methods of the FTP control. They do not return any results and the diritem event doesn't seem to fire.
The getfile and putfile methods work fine and I know I am connecting and there are files on the server.
I am putting this code into the load event of the form:
**************************************
PUBLIC ARRAY filelist(1)
filelist(1) = ' '
**************************************
Here is the click event of the command button:
**************************************
thisform.oleftp.Host = "xx.x.x.xxx"
thisform.oleftp.LogonName = "user"
thisform.oleftp.LogonPassword = "password"
thisform.oleftp.connect
thisform.oleftp.getfilenamelist()
thisform.oleftp.disconnect
*****************************************
Any ideas?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only