Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell.Namespace equivalent
Message
From
25/03/2009 15:17:22
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01391468
Message ID:
01391479
Views:
50
David,

I broke down and purchased a third party product for about 40 bucks that does a pretty good job with lots of stuff built in. Might be worth a look.
http://www.kellermansoftware.com/c-2-net-tools.aspx
Tim

>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?
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform