FileExists


hi,
i need varify existence of file using fileexists. works fine on server cf5.0 fails on mx7. ideas why not working on mx7?

<cfif fileexists("formurl")>
file exist
<cfelse>
file exists.
</cfif>

jenn wrote:
> hi,
> need varify existence of file using fileexists. works fine on
> server cf5.0 fails on mx7. ideas why not working on mx7?
>
> <cfif fileexists("formurl")>
> file exist
> <cfelse>
> file exists.
> </cfif>
>

it has full absolute path file (i.e. drive letter:
folder/folder/file).
and must file on server cf can access, not on client's
computer.

you can full absolute path using expandpath() function.

--
azadi saryev
sabai-dee.com
vientiane, laos
http://www.sabai-dee.com


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums