Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dir on ftp server
Message
From
11/10/2004 13:40:04
 
 
To
11/10/2004 08:27:12
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00950369
Message ID:
00950486
Views:
14
>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

It may be a security patch that's been recently installed. Try using an actual share name, not the C$ share.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform