Aparajita, I read the section you suggested for a while before I posted the question.
Several System Document section commands work with relative paths. I was not conceiving how "file exists" would not work with relative paths. In the section "file exists" the document only references its similarity to "test path name", which only uses a full system long complete path. "Include" uses absolute (relative to the web directory) or relative (relative to the currently executing file) paths, but "file exists" uses neither. You documentation about "include" states: "Since "include" is an Active4D command, absolute paths are relative to the root, and relative paths are relative to the currently executing file." "file exists" is also an Active4D command. It just didn't seem that this would be the case that it would require a full system long complete path. I thought better... If we were both perfect "file exists" would work like other Active4D commands, and I would know the documentation perfectly. :-) Thanks for your gracious support! Active4D is an amazing product. David -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aparajita Fishman Sent: Saturday, May 21, 2011 4:56 PM To: [email protected] Subject: Re: [Active4d-dev] file exists but returns false > Is "file exists" working or what am I doing wrong? Please read "Document Paths" in the "System Documents" section of the docs. Many thanks, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
