Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Carlos Lima
  Where is Carlos Lima?
 Cape Verde
 Carlos Lima
Subject: list directories of FTP SERVER
Thread ID: 416211 Message ID: 416211 # Views: 51 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Operating Systems
Date: Tuesday, December 23, 2014 8:41:01 PM         

lnResult = FtpGetFile (hftpSession, lcRemoteFile, lcNewFile, fFailIfExists, 128, lnXFerType, dwContext)

I use this to try to download files from an FTP SERVER, but this command always fail. Then I want o try first to now the directories in the FTP. How to now that?

I thing variable that may fail is: lcRemoteFile

Please help.


list directories of FTP SERVER Posted by Carlos Lima @ 12/23/2014 8:41:01 PM
RE: list directories of FTP SERVER Posted by Mike Gagnon @ 12/24/2014 1:33:23 PM