Top "File-exists" questions

A "FileExists" method provides a mechanism to determine if a specified path/file exists.

SSIS Script task to check if file exists in folder or not

I want to check to see if a file exists in a particular folder from SSIS. How can I accomplish …

c# file ssis file-exists
php echo if two conditions are true

The actual code looks like this: if (file_exists($filename)) {echo $player; } else { echo 'something'; but it displays the player …

php if-statement echo file-exists
CMake check that a local file exists

In my CMake script I want to see if I have a file on my system, and if it is …

file cmake file-exists
Check if a file exists with Lua

How can I check if a file exists using Lua?

file-io lua file-exists
Check if a directory contains a file with a given extension

I need to check the current directory and see if a file with an extension exists. My setup will (usually) …

python file-exists
Python, subprocess, call(), check_call and returncode to find if a command exists

I've figured out how to use call() to get my python script to run a command: import subprocess mycommandline = ['lumberjack', …

python command-line call subprocess file-exists
Check if a file exists before calling openFileInput

To read a file in Android from your app's private storage area you use the functionopenFileInput(). My question is, is …

java android file file-exists
.htaccess url-rewrite if file not exists

I must do a little trick for a site! The idea is: if a file for a required url exists …

.htaccess mod-rewrite url-rewriting file-exists
How to detect if a specific file exists in Vimscript?

I'm looking for an elegant way in Vimscript to check if a file exists in the current directory. I came …

vim file-exists
file_exists() is too slow in PHP. Can anyone suggest a faster alternative?

When displaying images on our website, we check if the file exists with a call to file_exists(). We fall …

php performance file-exists