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>
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
> 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
Post a Comment