On 4/20/06, Tarun Abhichandani <[EMAIL PROTECTED]> wrote: > > Hi: > > In one of our applications, we are working towards using Flash as an UI > for users. > > One of our need is to search for certain types of file and calling a Java > servlet to upload the content of the file. > While the uploading part to servlet is working, we are kind of halfway in > searching the specific types of files (files with extension - xml). > > I could not find any Flash file-related function or example script that > searches a certain directory and gets the names of the file with xml > extension. > > The way we have solved it now is that a user has to select files through > File Browse dialog box. > > We are aiming for minimal user interaction in this operation. > > A Flash movie has no access to listing the user's files or folders. Even when they select a file, you cannot read the file, or know what folder the file is in, all you can do is upload it to the server. MM did this because they wanted it to be as secure as possible (well, except for those two arbitrary code execution exploits found in the last 6 months...but that's another topic)
-David R _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com