Indexing a specific file in a zip

Hi, everybody.
I store zip files in my BLOB. All of them are composed of a PDF, an HTML and a text file. I'd need Oracle text to index only the HTML, which is always zipped with the filename "doc.htm", discarding the files of the other two types in the zips. Does anybody know if this is already possible?
Thanks :-)

As far as I know, you will need to unzip the file, then store only the doc.htm file to the blob before Oracle Text can index it.

Similar Messages

  • How to read/unzip a specific file within a zip file

    Hi,
    I have a file within a zip file that contains a timestamp - I want to read this timestamp and then create a destination directory for the remaining zip files to be unzipped into. Since I know the name of the file with the timestamp in it I thought I could create a zipfile and use getEntry to get the entry but then other than getting the size and name of the file I can't do much more with it like read it unless I use a stream (zipinputstream) instead of a file (zipfile) - do I have this right?
    Does this mean to get the content I would have to loop through possibly all the files using the stream until I come across the one I want - then get the timestamp and loop through them all again to write them to the destination directory? Or am I reading this wrong - seems a bit round about.
    Any suggestions would be greatly appreciated.
    Thanks

    this works though - and you don't have to loop through all the files - just use the ZipFile:
    ZipEntry ze = zipfile.getEntry("path/to/file");
    BufferedReader br = new BufferedReader(new InputStreamReader(zf.getInputStream(ze)));
    line = br.readLine;Thanks!

  • How to delete a specific file type from a folder

    Hi,
    I have folders with lots of zip or rar files, once I decompress those I want to delete the compressed files specifically. Is there any way I could manage that through Automator?
    Thanks in advance.

    Thanks Niel for the script, unfortunately I am too ignorant about running these on my own, I did save it in my user script library, but I would need instructions to run it. I would be really grateful.
    I did try making up my own workflow using the given actions in Automator, the first action was to 'find specific files in finder' ending with .zip and .rar and then choosing another action which 'moves selected files to trash'. Unfortunately it ended up running only if I specify the path to the specific .zip file, which defeats the purpose. Any suggestions on the proposed workflow? Thanks in advance.

  • Can I remove a SPECIFIC file from the "Recents" list?

         As far as I can see, Adobe Reader for Android has only the option of clearing ALL the files in the "Recents" list. It doesn't have the option of removing a specific file from the "Recents" list.
         Maybe I'm just missing the option I'm talking about or Adobe Reader doesn't really have that feature.
         Sensible answers to my question will be greatly appreciated. Thanks!

    Hi iSTULIN
    I assume you can delete the complete list, not the single file ...
    Please check the below link : http://blogs.adobe.com/readermobile/2011/09/09/faqs-for-adobe-reader-on-android/
    You can raise a feature request on the below link : https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Adobe PDF iFilter 9 for 64-bit platforms does not index my PDF files in SQL server database

    hi all
    I need your help
    i have this asp.net site which works with sql server
    it searches a specific word in the database with full text search
    in my database i have a column of type image that holds a PDF file
    i want my SP to search for given word in my file
    so i installed the Adobe Ifilter
    configured it and every thing worked fine
    but after i moved to production Server and installed every thing the same way ...it did not create the index for the pdf files
    i can search for doc and docx and even for xml but not pdf
    i know i installed it correctly since it is working great in the testing environment
    i used this link for the configuration
    http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sql_server_2005.pdf
    the only difference i see between my Testing environment and my Production environment  is that
    my testing has
    windows sever 2003 sp2 with Sql server 2005 64 bit std sp2   -- works fine
    my production  has
    windows sever 2003 R2sp2 with Sql server 2005 64 bit ent sp3  --does not work, does not index my pdf files
    can you tell me if there are problems with some environments ?
    are there any known problems with this Ifilter ?
    what should i do ..

    Thank you
    I opened it in the Acrobat Windows forum
    http://forums.adobe.com/message/2557155#2557155
    meidad Evyoni

  • How can i open a downloaded mp4 file that is zipped?  Witch will not open.   And, Convert that mp4 to play on my iMac with Maverick osx ?   I there an app or apps i need to buy ?

    how can i open a downloaded mp4 file that is zipped?  Witch will not open.   And, Convert that mp4 to play on my iMac with Maverick osx ?   I there an app or apps i need to buy ?

    You should be able to open the zipped file by double clicking on it.
    http://www.videolan.org/vlc/index.html
    This link is for a VLC Player it can play just about everything.
    Cheers
    Don

  • How to pull a Specific files from the local path using SSIS package

    Hi Friends,
    I have 15 Dealers files .With the Files name as follows
    1. ''ACTEST00001_20141112_0408_INV.TXT''
    2. ''ACTEST00002_20141112_0408_INV.TXT''
    I will get these files through FTP on Daily basis with changes on date alone.
    I will have 4 files for each dealers.like INV,SERVICE,SALES,APPOINTMENT.
    SO i need to fetch a particular dealer with particular date.
    I need to create this scenario in SSIS package.Please suggest me how to create this and what are all the Tasks i need to use to implement this process.
    Arunraj Kumar

    http://microsoft-ssis.blogspot.jp/2011/08/foreach-ftp-file-enumerator.html
    http://www.bidn.com/blogs/MikeDavis/ssis/559/ssis-skip-certain-files-in-a-for-each-loop
    http://www.sqlis.com/sqlis/post/Looping-over-files-with-the-Foreach-Loop.aspx
    http://www.rad.pasfu.com/index.php?/archives/22-Looping-through-specific-files-SSIS.html
    http://www.mssqltips.com/sqlservertip/1641/get-list-of-files-from-an-ftp-server-in-sql-server-integration-services/

  • Searching for a specific file size

    Hello,
    It's been a while but it seems like XP let me search for specific file sizes - e.g. if I wanted to search for files that were greater than 10GB or if I wanted to search for files less than 20GB.
    I can't figure it out in Windows 8.1.
    If the answer is possible through standard search and not powershell, I'd prefer the GUI way.
    Thanks

    In File Explorer (was Windows Explorer), type the search criteria into the box in the top right of the screen and press Enter.
    Example searches are:
    A minimum file size, simply type size:>30,000KB into the Search box and press Enter.
    type:=.pdf or type:=.doc will display specific file types.
    filename:x will display files using a partial filename. x represents the partial filename you want to search for.
    kind:video, kind:music or kind:pictures will find all the videos, music or pictures.
    If you just click or tap in the Search box, Search Tools will appear which allows the choosing of a Kind, a Size, Date Modified, Other Properties and Advanced search. In Folder Options > Search Tab, the search options can be changed, e.g. Find partial
    matches.
    Providing the location is indexed, you can search in File Explorer for a specific word or phrase by typing content:
    followed by your phrase enclosed in double quotes. This will produce a list of files matching the criterion.
    Speed up the search by opening File Explorer (was Windows Explorer) at the folder you want to search, rather than at the root folder. Also, pressing F3 will show Search options like Date Modified and Size.
    Ninety-nine per cent of politicians give the rest a bad name.

  • IE or Contract Management v13 thinks my DOCX file is a zip

    When trying to open an attachment IE or Contract Management v13 thinks my DOCX file is a zip. This started last Thursday. Outta the blue. We’ve been searching for a days now for a solution. Nothing has helped. I have a few hundred users all with various combinations of applications on their boxes. XP PRO, Windows 7, Office; 2007, 2010, WordPerfect 5.1 files work just fine. :)

    We are having the same problem and are wondering whether you found a solution. A workaround is to disable MIME handling in IE (this is what Oracle support will suggest), but this is far from ideal as it does compromise security slightly.
    The problem arises when WebLogic (or JBoss, WebSphere....) sends the file to your browser. It marks the file as Content type "application/octet-stream" instead of identifying it as a MS Word 2010 document. This causes IE to try to identify the type itself. First it checks the extension of the file and looks in the registry to see what's there. If it finds an entry, it then reads the first part of the file to see if the content matches what the registry says. Something appears to be broken in the way IE identifies Word 2007+ files, causing it to identify them as .zip files. Users are then prompted to save the file to their desktop.
    Word 2007+ files actually ARE zip files under the hood, but until recently we had no problem with them. There appear to be three possible routes to resolve this issue.
    One, take Oracle's "pass the buck" advice and disable MIME handling in IE so that IE no longer tries to identify the file (registry hack set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_MIME_HANDLING\iexplore.exe to 0). This bypasses the problem and introduces security holes to your workstation configuration.
    Two, configure your Java application server to send the files with the correct content-type header. I can't find a way to do this in WebLogic so far as you have to modify the web.xml file, which is created by the application installation/deployment. Oracle Primavera CM support has yet to respond to my request on this other than to say "consult WebLogic support". Oracle WebLogic's support will (as they have in the past) tell me it's application specific and to consult Oracle CM support. Neither support group seems to be able to support Oracle's products. (Dear Oracle, please get your act together. You own both products and should be embarrassed by the lack of customer service here.)
    Three, figure out why IE is failing to match up the 2007+ file types with the file content. We're assuming a recent patch did this, but haven't identified which one. In any event, we will probably not be allowed to roll back a security patch to fix this.
    Anyway, I hope this helps you. I have a case open currently, as well as another post in the forums.
    Lowell

  • How to change file type from .zip to .dock

    I would like to know how to change the saved file type (.zip) to other file types such as (.txt), (.doc), (.dock) or (.pdf).

    It's more complicated than just changing the name of the file to have a different extension.  What you have to do is to convert a file from one format to another.  To do that you have to use an application that knows how to open the original type and how to write the format of the new type.  The application to use for a given combination depends on the combination.  For example, the Preview applications knows how to read a JPG file and write the contents to a PDF file.
    A ".zip" file is a somewhat different case.  A ".zip" file is an "archive" that (generally) contains other files compressed within it.  If you double-click on a ZIP file, it should expand into the enclosed files.
    If you give specific examples of what you want to convert, people should be able to explain what to do.
    By the way, I'm not familiar with a file of type ".dock".  What is that?

  • How can i save the output array of the invoke node "commands values" into a specific file

    I must save the setup of vi commands'. I use an invoke node called "command value" wich give me an array with the name of the specific command and his value. How can i save this array into a specific file to load it later if o need. Must i change the array format?
    Thank you

    Hi,
    I have attached two VIs.
    The first one "Ecriture fichier tableau" (writer) permits to collect all control's values in an array (dbl) and to save it as .bin file. You had to convert variant type into dbl type. (You can do the same with string type if you wish. You will save datas as .txt file for example)
    The second VI "Lecture tableau fichier" (reader) permits to retrieve all the datas you saved in the file.
    I think this responds to your question.
    Regards,
    Attachments:
    Control values.zip ‏26 KB

  • Looking for acer aspire one linpus file firefox3.sh.zip

    Hi
    I've just reinstalled Linux Linpus lite on my netbook and want to upgrade from ff2 to ver 3 but the files on acer's support website have been removed. The live update works but doesn't update Firefox properly. So I was wondering if you had an acer specific update file anywhere? The specific file I'm after is Firefox3.sh.zip. I;ve been in touch with acer and have had no luck....
    Thanks Tom

    That file was probably created by Linpus or by Acer specifically for their program repository and not available from other sources, Mozilla only offers '''tar''' packages for Linux. <br />
    https://support.mozilla.com/en-US/kb/Installing+Firefox+on+Linux
    That version of Linpus Lite may not even have the correct "packages" for Firefox 3+ versions, the key "package" is usually the GTK package being too old.<br />
    http://www.mozilla.com/en-US/firefox/system-requirements-v3.html <br />
    http://www.mozilla.com/en-US/firefox/system-requirements.html - 3.5 & 3.6
    Linux on Netbooks only seemed to be popular for a short time here in the US, and IMO, Microsoft killed that "wave" by extending the date they allowed OEM's to sell WinXP Netbooks - until MS could come up with a Win7 Netbook OS. ''(That "date" was almost 2 years later than they allowed the OEM's to install WinXP on any other type of PC. The cost to OEM's was in the range of a couple of dollars, almost matching the zero-cost of Linux to consumers. "Smart marketing" or taking advantage of their "leverage" over OEM's and MS's almost monopolistic control of the OS market to OEM's?)'' As a result, there's little incentive for the various Netbook maker's to keep their Linux software repositories updated and to keep developing the operating system to keep pace with other Linux distros. MS shut that down fast, IMO. <br />
    http://distrowatch.com/
    I have an ASUS EeePC 900A, which I bought in Aug 2008, that came with Xandros Linux - Newegg offered me a WinXP OEM disk for $10 with the purchase of the EeePC. That version of Xandros Linux wasn't ever updated by ASUS to be able to run Firefox 3, but I found some Linux forum threads that provided a '''''sh''''' script that would both update the GTK package that Xandros needed for Firefox 3+ versions and install Firefox 3. After the update / installation was complete, I discovered how slow Firefox 3 ran on that old Xandros Linux operating system - it was worse with Firefox 3 than my old Pentium II 350MHz PC w/512 MB RAM was, even though the EeePC has a 900MHz processor and double the RAM (1GB). I dumped Xandros and installed the Ubuntu derived EasyPeasy OS, that came with Firefox 3.6 .
    My advice is to install something like the Ubuntu Netbook Edition operating system, or one of the Ubuntu-offshoots like EasyPeasy; both of which come with one of the latest versions of Firefox, and are active projects.
    http://www.geteasypeasy.com/ <br />
    http://www.ubuntu.com/netbook

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • How to exreact multiple pdf files from a zip files from application server to presentation server

    Hello exprts,
    I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added  another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue? 

    Dear Experts ,
    I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here.

  • Weird open command stuck under menu bar for just one specific file

    I'm having a weird problem where a little arrow in a small grey box sits under the menu bar, no matter which program is active. If I roll over it, an icon for a quicktime file shows. Clicking it open a specific file. It's one I had dragged to the desktop from the trash. If I click the icon, it opens the file from the trash. If I delete the trash, the little grey box and arrow stays there, pointing to the file in the trash even though it doesn't exist anymore. I cannot get rid of it!
    Here are some screenshots since this is hard to explain.
    MacBook   Mac OS X (10.4.9)  

    Hi Jerymander , Welcome to Apple Discussions,
    Have you tried starting in "Safe Mode"?
    Let us know.
    -mj
    [email protected]

Maybe you are looking for