Keeping in mind that you cannot access files on the client file system,
only on the server, you will need to use the file system functionality
available in your middle tier environment (Java? DOT.NET?).

You could use HTTPService to invoke that functionality and return the
result to Flex.

Tracy

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Prasad Dhananjaya
Sent: Tuesday, September 13, 2005 6:03 AM
To: FlexML
Subject: [flexcoders] Checking existance of file

Hi,

Can someone tell me how to check existence of file.
Checked several docs. But found nothing useful. I tried 
to do this with getURL(). But it is trying to open
"test.txt". I don't want to open. Just want to check
it's existence. 

thanks

---------------------------------------------------------------------
   if(getURL("../test.txt")==false)
      {
          alert("File don't exist");
      } 
      else 
           alert("File exists");
      }
---------------------------------------------------------------------



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to