Reading & Writing files with same extension(like ".sas", ".txt" , ".csv",and ".log" in Adobe AIR

Hi Folks,
How to read & write files with same extension(like ".sas", ".txt" , ".csv",and ".log" in Adobe AIR.
Please let me tell if anybody knows asap.
Thanks & Regards,
Anderson

Thanks Jon,
But, I know how to read the file if we give exact file path
I need to get the path  and  read file(s) with same extension files in the same folder using adobe air, not single file.
Don't have file path even, i have folder path,  in that somany files are there. So i need to get which are the same extension(Ex: ".txt", ".sas") files
If you have any idea , please help me out
Regards,
Vijay.

Similar Messages

  • Read multiples files with same extension

    how to read multiples files with same extension in java.
    for ex : i would like to read all .DAT files from C drive using java.
    How is it done

    - You create the filter
    - You get the list of files
    - You open and read each file.
    For the first two above you look at java.io.File and listFiles(FileFilter filter).
    For the third you find whatever input stream is appropriate from java.io.*

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • File adapter(write files with same extension as we read them)

    Hello
    I am trying to read file as an attachment using file adapter (it can be of any extension .pdf,.txt,.xml)
    I want to write this file using file adapter with the same extension i.e. whatever is read as it is....I am least bothered for reading the content inside the file so am reading it as an attachment..
    Please if anyone knows the answer..reply....

    I ran into a similar issue. As a workaround we ended up just using java to write the files out. When the File Adapter attempts to write out a file it first writes that file to a temp file and then copies that to the appropriate directory.
    I believe that when two or more threads were attempting to write at the same time the write was failing for one (but appearing to work in the console logs). I think a race condition may be created when two threads attempt to write using the File Adapter for access to the temp file. I contacted my oracle rep about it but they are always pretty worthless so I havent ever heard anything back concerning the issue.

  • Can't import RAW and psd file with same name different extension

    Trying to import a folder of images from desktop that I have been working with in Bridge CS3.
    LR won't import a RAW file that has a PSD file by the same name. Tried renaming the PSD and deleting the one with the same name, but says it is still there and won't import the RAW file - What is the correct workaround on this? Why can't it import same name files with different extensions?

    A forum search for 'RAW + JPEG' will give you more posts on this than you care to read. This will change. For now, import the RAW and PSD's from separate folders and then move them together for within LR.
    LR is seeing the RAW as a sidecar to the PSD. It is an unforseen effect of the RAW + JPEG thing where they decided to not import the JPEG, seeing it as basically a preview image for the RAW.
    LOL
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Trying to convert video files with an extension of IDI_DVD to digital files itunes and imovies can read can someone help me

    Can someone please tell me how I can convert video files with an extension of IDI_DVD to a file itunes and imovie can read? Thanks.

    Thanks for the reply, The files are on a DVD disk. I coverted my family VHS tapes to digital dvds using an HP Media Centre PC five or more years ago cant remember the program but if I get info on the disk ,on the Mac it tells me the extension is IDI_DVD.

  • Files with .a extension using ftp transport

    Hi.
    Am using ftp adapter in osb to read .txt files(e.g. abcd.txt) from ftp location, process the body/text() in OSB and then place the incoming file to an outbound folder.
    the flow is like ftp-> Proxy Service->Business Service->outbound ftp
    the service works fine where then is less load or the no. of incoming files is less.
    However,sometimes the outbound folder contains the files with .a extension at the end.(e.g. abcd.txt.a)
    Can someone tell me the rootcause of these .a file creation and the scenarios in which the .a files are created.
    Also,please tell me what are these .a files meant for?
    How,can I eliminate this while configuring the services using ftp transport.
    Thanks in adavance

    I had this recently with a variety of FTP servers, FileZilla, Microsoft etc.
    For me, it happened when the file already exists in the destination and I was expecting the destination file to be overwritten. My application would generate the same filename, say FileA.txt and expect that to be overwritten, but with OSB 10gR3 I would get files with .a stuck on the end.
    This functionality changed between ALSB and OSB and I had a patch developed to restore the ALSB functionality.
    I spent ages looking at it, and debugging FTP commands and going from memory, I'm pretty certain that the FTP adapter doesn't implement the correct FTP spec for the RNFR command according to the RFC in the case where a file already exists - it doesn't handle overwrite.
    Hope that may help.
    Pete

  • [SOLVED] Delete recursively all files with certain extensions

    Hi all,
    I am trying to recursively delete files with specific extensions. Many of these files have names containing spaces. The following, that I found googling around, didn't work:
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx' | rm
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx' -type f -ok rm '{}' ';'
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx' -exec rm -f '{}' \;
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx'| xargs /bin/rm -f
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx' -exec /bin/rm -f '{}' \;
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx'| xargs -0 rm
    and I think that it was the following that deleted all the files (except the directories):
    find /media/TSUNAMI -name '*out' -or -name '*aux' -or -name '*log' -or -name '*.blg' -or -name '*.toc' -or -name '*.bcf' -or -name '*.swp' -or -name '*blx' -type f -delete
    What am I doing wrong here?
    Thanks a lot in advance.
    PS. While writing this I realized that I fogot the dot in out, aux, log, and blx
    PS2. I'm experimenting around and don't mind deleting all the files if I do a mistake
    Last edited by geo909 (2014-09-30 06:12:04)

    geo909 wrote:Thanks so much. So  what is different when we group those options with \( \)?
    The implicit "and" operator binds stronger than the "or" (-o) operator. Therefore
    | -name a -o -name b -delete |
    will be grouped like this: 
    | (-name a) -o ( -name b -delete ) | .
    You want to group it like this: 
    | ((-name a ) -o ( -name b )) ( -delete )   | ,
    so you need to add some manual grouping: 
    | ( -name a -o -name b ) -delete |
    Last edited by progandy (2014-09-30 05:52:29)

  • Recover files with wdseml extension

    The folders of my profile were corrupted without apparent cause.
    These folders and their contents (looking directly with the MS-Explorer at Windows7) does not corresponds to the content displayed at Thunderbird folders, which displays or none or only some messages. Furthermore, any mozmsgs folders contains files with names large and unintelligible (as !%26!AAAAAAAAAAAYAAAAAAAAAAvE%2B1bgVJRKvZbGQVKNZEPCgAAAEAAAAEvN9Wl6jMtPvq8AQlPK8hwBAAAAAA%3D%3D%40gmail.com, for example).
    I deleted the indexes files (msf), but the problem persisted! I tried recover from ImportExportTools 3.1 extension. Unfortunately, also without results!
    How can I do to keep my message files? I have archived messages since 2004 and would not want that to happen.

    Thank you Matt!
    I ended up discovering that these files are files visualization of windows7 to search the archives of the Thunderbird.
    However, I also discovered that I missed the messages corresponding to these files. The corresponding files from Thunderbird simply disappeared. I tried several tools such as undelete / unerase and these files appear as neither deleted files. Somehow they were erased and overwritten.
    I found that files with the extension wdseml can be renamed to eml and read like a message, but the attachments were lost.
    I believe some updating Thunderbird may have caused this, since a recent update occurred. The date of this update is the same date of multiple files still present (see the MS-Explorer), precisely the date given by my lack of posts.
    This tragedy upsets/saddens me much. I ended up losing almost 50,000 messages, all stored and organized by topics since 2004! At least I can recover the text of these messages, even without its attachments.

  • I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I alocate th

    I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I allocate the extension .docx to Word? There used to be a way of doing it, I think under "Preferences" but I can't seem to find it.

    Still in the same location:
    File > Get Info > Open with (select) > Change All (button)

  • How to output a postscript file with .ps extension name in jsp?

    Hi,
    I could use a servlet to output a postscript file with .ps file extension name. But I tried to do the same with jsp, for some reason, jsp always outputs a file with .jsp extension name though the content is postscript. Could anyone help me on this? Here is my jsp code:
    <%@page contentType="application/postscript"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import="java.util.*" %>
    <%@page import="java.io.*" %>
    <jsp:useBean id="corresv" class="oiintranet.CorresVBean" scope="request"/>
    <%
    response.setContentType("application/postscript");
    String corresId = request.getParameter("Id");
    corresv.setCorresId(corresId);
    PrintWriter output = response.getWriter();
    output = corresv.getResult(output);
    output.flush();
    %>
    In the bean corresv:
    public class CorresVBean extends BaseBean {
    private String corresId;
    public void setCorresId(String s) {
    this.corresId = s;
    public PrintWriter getResult(PrintWriter output) {
    //get postscript file content from a socket, one string line each time until reaches "X_END"
    String str;
    while ((str = in.readLine()) != null) {
    if (str.equals("X_END")) break;
    output.println (str);
    output.close();
    }catch(Exception e) {
    e.printStackTrace();
    return output;
    Thank you in advance.
    Geraldine

    Hi
    Every time u want to make a file u need to make its extension. I am talking
    about general scenario like word, excel so even when u make spool file
    so u need to give extension.
    like
    Spool temp.sql
    it will save u r file as sql file.
    hope it will help
    regards

  • Display jsp files with .html extension

    my problem is very straight forward i want all my jsp pages to be shown with .html extension. like if i have a page test.jsp and I access it through a hyperlink Test then in the browser's address bar i want it test.html .. any ideas ..

    That's is one odd request. The source for the page still shows that they're loading a .jsp file. To do what you want, you'd have to write javascript for every such link that handled that type of request.
    However, if you actually want all files with .html extensions to be processed like jsps you can:
    1. you can remap the JSP servlet in your web.xml file to another extension (though i'm not sure if thats part of the spec)
    2. you can also use the <jsp-property-group> element in web.xml to specify other files as JSPs. (thats definitely in the spec)

  • How can u open a file with .exe extension after it was unpacked?

    Thank you Linc Davis for THE ARCHIVER, I was able to unpacked the program. However, after it was unpacked, I clicked the file wtih .exe extension and I got a message that this file will not be extract with this program. Is there another way to open file with .exe extension after it was unpacked by THE ARCHIVER...??? Any assistance is highly appreciated.

    .exe files are Windows executables and do not run in OS X.  You would have to install Windows to use it.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    1. Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    2. Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    3. VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    4. CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    5. VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    6. Last is Q.  Q is a freeware emulator that is compatible with Intel Macs.  It is much slower than the virtualization software, Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Merging Log Files with same name

    Hello,
    I have log files with same name 00000000.jdb (because created at different machines). I would like to merge data stored in these two files.
    I tried below approaches which do not work:
    1. rename one of the files -> doesn't work as file header has file name info which doesn't match with renamed value
    2. db dump/load -> dump and load works without error. (i have to dump Entity related Database and Format related Database -- from -l option) However when i try to read the file, it gives error.
    Exception in thread "main" com.sleepycat.je.EnvironmentFailureException: (JE 5.0.103) Catalog could not be refreshed, may indicate corruption, errorFormatId=52 nFormats=51, . UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
    I am using EntityStore and thus Annotated Entities.
    Does any one has any insights?
    Thanks.

    Yuvaraj,
    As you discovered, it is not possible to use .jdb files from one environment in a different environment.  The .jdb files use an internal format with relationships between files that form the Btree.
    I'm glad to hear you were able to use DbDump and DbLoad successfully.
    --mark

  • Help - loading updated files with same name

    CS4
    When updating files with same name my CS4 automatically puts an extension _000
    I think it should ask me if I want to replace the existing file.  Is there a switch or setting that I need to change?
    Thanks.
    Alan

    Please find the solution in thread, http://forums.adobe.com/thread/707897?tstart=0.
    Hope this helps you.

Maybe you are looking for

  • Questions in MDG

    Hi I have few questions. Please find them below. 1) What is the use of Active area while created a data model . For example it is partner for BP. 2) what is qualifying, Leading and referencing relationship. 3) what is the role of business objects in

  • Second display turned off

    Hello guys I plug a 2nd screen (Philips) on my iMac late 2013 (with GTX 780M 4G°) by Minidisplay to HDMI. It works fine... but, sometimes, when i reboot or start a new session, the display stay off and doesn't appear in the display preferences. I cha

  • Develop Module changes not reflected on screen

    I have used LR for about 3 years and have never had an issue with it.  I am using LR 5.7 64 bit.  I have a Win7 Pro machine with 8 Gb of RAM and 2 TB drive that is 50% free.  I do not have PS and I am not a Creative Cloud customer.  Yesterday I start

  • Level of Maintenance to be set at operation Level

    Hi All, we have a requirement that we need to maintain Level of operation . on the basis of Level of Job.? Like Operation 010 is Level 1 that can be small Job(Bolt lose)                          020   Level 2  .......                          030   L

  • Need help.... files lost

    I spend many hours adding my whole library onto itunes..... soonly thereafter... i had to Erase my hard hard and start over.... i still have songs on the ipod... can i put them back on itunes.... andddd i can't add more songs onto my ipod anymore.. H