Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dir on ftp server
Message
From
11/10/2004 08:27:12
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Dir on ftp server
Miscellaneous
Thread ID:
00950369
Message ID:
00950369
Views:
55
We have been using the following code to look for files on our ftp server. However, on day last week, this stopped working. Any idea on how we can get this working again?

***My code.
lc_dir = "//myipaddress/c$/SomeDir/*.*"
ln_files = ADIR(afiles, lc_dir)
***

The problem is that "ln_files" always reports zero even though there are files in this directory. This use to work.

Also, if I type this into the command window, I get a "Invalid Path or File Name" error message:
***
DIR "//myipaddress/c$/SomeDir/*.*"
***

Why did this use to work for us? Should this still work?

Thanks,

Jerry
Next
Reply
Map
View

Click here to load this message in the networking platform