fileinfo

DirectoryInfo accessing a virtual folder

I'm trying to use DirectoryList on a virtual directory, to build up a list of files. However I get the error; URI not supported Is there an alternative to this that supports URLs? Here's my code so far..... DirectoryInfo directoryinfo = new DirectoryInfo("http://localhost:1080/mydatafolder"); IEnumerable<FileInfo> fileList = dir...

Get object extension from AccessibleObjectFromWindow ?

I managed to get the selected file in the current working folder from Windows Explorer using SystemAccessibleObject from http://mwinapi.sourceforge.net/ I want to get the filename with extension but if you enable "Hide extensions for known file types" then there will be only the filename. I'm stuck on this step. My code: SystemAccessi...

Path of recent creation time of a single file using C#.

How to get the path of the recent or latest file based on creation time (say 'test.xml) located in many sub directories within a main directory. ...

PHP on Windows: LDAP (5.2) or Fileinfo (5.3), but not both?

I have got PHP 5.2.14 running successfully on Windows, with the LDAP extension loading and working correctly. I installed 5.2 because it appeared to be that php_ldap.dll wasn't available for 5.3. Now it looks like the Fileinfo extension is only available for 5.3! (I'm a linux chap mostly, and have generally been sheltered in the happy...

Accessing http://< someserver.com/logs:<someportnumber> > in client side using c# code

I have a scenario in my mind .. I need validations/suggestions from Stack over flow !! :) There is a (remote)apache server hosting this URL "http://someserver.com/logs/log.txt:4041" .When i hit this URL in IE it opens a page containing log.txt in a file-folder-directory structure (after authentication). Is there any way to get the attri...