Top "Fileinfo" questions

fileinfo refers to the properties of a file that are not part of the content, but rather meta-information such as file type, last modification time, id in the file system, etc.

How to check if a file exists in a folder?

I need to check if an xml file exists in the folder. DirectoryInfo di = new DirectoryInfo(ProcessingDirectory); FileInfo[] TXTFiles = di.…

c# xml file fileinfo
Get all files and directories in specific path fast

I am creating a backup application where c# scans a directory. Before I use to have something like this in …

c# performance fileinfo
GetFiles with multiple extensions

Possible Duplicate: Can you call Directory.GetFiles() with multiple filters? How do you filter on more than one extension? I've …

c# .net fileinfo getfiles
.htaccess enable php fileinfo extension

I've used shared host for hosting my application and the version is php5.3.27. I'm getting an error like Call to …

php file .htaccess fileinfo
How to check whether a MIME type is of JPG, PNG, BMP or GIF?

I have written this code: $filename = "some/path/where/the/file/can/be/found.some_extension"; $buffer = file_get_contents($…

php mime-types fileinfo
Using php_fileinfo.dll and finfo_open in Windows PHP 5.3.5

I'm having trouble calling finfo_open in a PHP script running on Windows Server 2003 with PHP 5.3.5 & IIS 6. The call …

php iis mime-types fileinfo
c# replace string within file

String.Replace doesn't seem to work properly when replacing a portion of an HTML file's content. For example, String.Replace …

c# file-io streamwriter fileinfo
Can I show file copy progress using FileInfo.CopyTo() in .NET?

I've created a copy utility in c# (.NET 2.0 Framework) that copies files, directories and recursive sub directories etc. The program …

c# .net copy fileinfo
Why are we getting “The path is not of a legal form” for a FileInfo constructor?

We're creating a FileInfo object in C# using the following code: if (planConfig->OrganisationsFilePath != nullptr) { FileInfo^ file = gcnew FileInfo(…

c# fileinfo
Finfo_file on uploaded file to determine mime-type

Im trying to determine the mime-type of an uploaded file, i want to use fileinfo(), this is what ive been …

php linux mime-types fileinfo