Listing files&folders on a server
-
Hi, I would like to get a list of files and folders on a specific URL. How can I do that? I am searching for something like DirectoryInfo and FileInfo (thees two classes can onyl work with local files&folders aparently). Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
Hi, I would like to get a list of files and folders on a specific URL. How can I do that? I am searching for something like DirectoryInfo and FileInfo (thees two classes can onyl work with local files&folders aparently). Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
Have yu try to give server name in your path? In addition to that check this article, you can do it with WMI too: Windows Management Instrumentation (WMI) Implementation [^] Mazy You're face to face, With the man who sold the world - David Bowie
I tryed passing an URL to the constructor, but it says that URLs are not suported ... I checked this article and I can't find anything about getting a list of files from a URL ... Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
I tryed passing an URL to the constructor, but it says that URLs are not suported ... I checked this article and I can't find anything about getting a list of files from a URL ... Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
CWIZO wrote: I checked this article and I can't find anything about getting a list of files from a URL ... Look at the picture of article, it gets IP address with username and password. And in the tab of sample application ,you will see MY EXPLORER . So isn't it what you want? Mazy You're face to face, With the man who sold the world - David Bowie
-
Hi, I would like to get a list of files and folders on a specific URL. How can I do that? I am searching for something like DirectoryInfo and FileInfo (thees two classes can onyl work with local files&folders aparently). Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
By the way, if it doesn't help,you can use remotng to run a application on server to respond to your application and send information you need. Mazy You're face to face, With the man who sold the world - David Bowie
The problem is that the server is "random". It can be any server. So I can't have autherication or something. Im building something like a spider, that would grab images from a server for instance (no I am not making a pr0n downloader :) ). Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
The problem is that the server is "random". It can be any server. So I can't have autherication or something. Im building something like a spider, that would grab images from a server for instance (no I am not making a pr0n downloader :) ). Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
CWIZO wrote: So I can't have autherication or something. You missed some point , there is something called security,unless you wanna do hacking. Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope
To demonstrate what I'm trying to achive please download&install this programm: http://sbl.net/Downloads/BlackWidow Setup.exe it is called Black Widow, you just type in a URL, and the program generates a structure of files and folders. And if files are accessible (like images, or html files) you can download them. Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!