You are right, kjv1611, I should get what I need but guess I need some hand-holding.
I am obviously not entering the proper fields in the call for ftpList, since it isn't making the connection:
myFiles = FTPList("127.0.0.1 - FTP Server IP", "MyUserID", "MyPWD", "/my/folder/path/")
I entered the ip address of the website for the first field (obtained by pinging mysite.com - don't have a dedicated ip).
filled in userID and password for the next two, and
for the last field,("/my/folder/path/") I tried "mysite.com" (since I just type "ftp://mysite.com" to get to it. I have designated a folder in the root directory named "transfer" as the ftp, but I am actually needing a list of files in a folder within "transfer" named "Minutes". For the moment I am just trying to get a positive return from the transfer folder. I have also tried entering "/home/mysite/transfer/" and "/home/mysite/" for that field.
In the FTPlist function trying each of the above choices for the last field:
for the line: hConnection = InternetConnect(hOpen, HostName, INTERNET_DEFAULT_FTP_PORT, UserName, Password, INTERNET_SERVICE_FTP, IIf(PassiveConnection, INTERNET_FLAG_PASSIVE, 0), 0)
13369356 is returned for hOpen, hostname is the ip I entered, INTERNET_DEFAULT_FTP_PORT is 21, Username and Password are correct, and INTERNET_SERVICE_FTP is 1, so it seems to have established a connection.
Call FtpSetCurrentDirectory(hConnection, sDir) uses the hConnection value and sDir shows as whatever I entered as the folder path.
Call FtpGetCurrentDirectory(hConnection, sPath, Len(sPath)) -sPath is "" (don't know where it gets this) -- when it gets to the line:
hFind = FtpFindFirstFile(hConnection, "*.*", pData, 0, 0), hFind is returned empty so it quits.
How to troubleshoot? Thanks!