Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Eric den Doop
 To: Louise Cofield
  Where is Louise Cofield?
 Salt Lake City
 Utah - United States
 Louise Cofield
Subject: RE: Grabbing an FTP Site Directory Listing
Thread ID: 22126 Message ID: 22128 # Views: 8 # Ratings: 0
Version: Visual FoxPro 7 Category: Web, FTP and other Internet Protocols
Date: Wednesday, April 09, 2003 10:57:51 PM         

> Is there a way to load an ftp-site directory listing into an array, using ADIR. I'm really just trying to grab a list of existing files, where I will not know the file names ahead of time.
> thanks.
> Louise

You can't do this with the ADIR() function. Try the FTP_CLASS from the download section. I've been using it in more than a dozen apps for the past 3 years. The Download ID is 10.
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts