Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell.Namespace equivalent
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Shell.Namespace equivalent
Miscellaneous
Thread ID:
01391468
Message ID:
01391468
Views:
107
Sort of amazingly enough this code works great to open an ftp directory:
loShell = createobject( "shell.application" )
loSource = loShell.NameSpace( "ftp://1.1.1.1/exports/" )
for each loFile in loSource.Items
   debugout loFile.Name
endfor
Trying this in C# though doesn't:
using System;
using System.IO;
using System.Collections.Generic;
...
DirectoryInfo di = new DirectoryInfo("ftp://1.1.1.1/exports/");
Is there an equivalent in the .Net framework?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Next
Reply
Map
View

Click here to load this message in the networking platform