Unzip file from froms then load

i have form (basically called loader) which read text file and then load it in data base.
Now,there is a user requirement that if text file is in zip format then he can unzip file using form.
Any idea how to do this can some unzip software used at back end.
I mean any idea any suggestion is required.
Forms 6i i am using.

The zip.exe and unzip.exe are shipped with Oracle products, they are found under %ORACLE_HOME%/bin
just type zip or unzip in a command line session and you'll get all the switches and details.
Judging from your first post I understand you are running in C/S mode, if not you need to use CLIENT_HOST from webutil instead of HOST. It's the same concept.
As for HOST built-in example, I told you, there are very nice and detailed examples in the online help of Forms builder.
Open Forms builder and either press Ctrl + H or click on the big blue question mark, or open help menu and click on "Online Help".
Tony
Message was edited by:
Tony Garabedian

Similar Messages

  • Problems unzipping files downloaded from Firefox using Windows built-in extractor tool

    Hi,
    I am running Firefox v26 on a Windows 7 (64-bit) PC. I work for a library that is able to reproduce digital audio books that we can download from the Library of Congress's National Library Service (NLS) for the Blind and Physically Handicapped. I use Firefox to download a lot of zipped audio books for my job. The file formats found in one book's zipped folder often include the following file types: .3gp (they're like a more compressed MP3 audio file), .mp3, .ncx, .opf, .pncx, .ppf, .smil, .md5, .dtd, .ent, and .ao.
    If I use Windows' built-in extraction tool to unzip an audio book I have downloaded via Firefox the extraction process ends prematurely and acts as if it was successful, but in reality some files are were never extracted. For example, I downloaded a zipped audio book that contained 21 files and weighed in at 87.6MB. The built-in Windows extraction tool only unzipped 2 files weighing in at 30.3MB.
    I have downloaded this same zipped audio book using Google's Chrome v31 and IE 11. Both downloads unzipped successfully using Windows' extractor. To make things even more bizarre, I *was* able to successfully unzip my audio book that I downloaded using Firefox using a 3rd party extraction tool called Extract Now. Because I tend to use this 3rd party program to extract my audio files I don't know at which version of Firefox this problem started. All I know if that this hasn't always been the case.
    Please help.
    Thanks,
    -Dan M.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps with extracting files.

  • Unzipping files sent from email

    I feel like this is a stupid question but do i need to download a program in order to unzip a file that was sent to me that I am now trying to open on my MacBook Pro? I can't seem to open the file - or at least launch the application within the zipped file. Thanks!

    Download & install this free utility called StuffIt Expander - 2010.

  • How do I download a movie from a dvd to my files then load it onto a portable external hard drive?

    I don't know how to download a dvd movie to my laptop. how do I do that. Then I want to load it onto a portable external hard drive and don't know how to do that either. I'm new at this , so please give answer in easy to understand terms. I don't know if i'm needing to download something to make it work or what. Please help!!!

    You would need to go to the computer containing the book.
    Select the saved book in the Collection panel.
    Go to Grid View [ G ] and select all the images [Cmd/Ctrl][A]
    File>Export as Catalog and store on media you can use to transfer
    Bring this catalog onto your computer
    File>Import from another catalog and bring the transitory catalog into your master catalog.
    It should bring the images, your collections (including your book) and other settings into your own catalog.

  • I'm having to re-install PSE 11 on a new hard Drive.  I clicked the installer and it ran, but says it's missing the .exe file.  I then downloaded PSE 11 from your website and when I unzipped it and ran it, it wanted to uninstall PSE 11.  Now I'm contactin

    I'm having to re-install PSE 11 on a new hard Drive.  I clicked the installer and it ran, but says it's missing the .exe file.  I then downloaded PSE 11 from your website and when I unzipped it and ran it, it wanted to uninstall PSE 11.  Now I'm contacting you

    Okay, so, fast forward from July to now -
    - I've visited my closest Apple store's genius bar twice now. (Over an hour and a half away.)
    - My computer spent at least 8 hours behind their closed doors in the workshop
    - Several complete erases of the harddrive have taken place
    - Most of the Apple geniuses I dealt with were nice and very knowledgeable, but they were and still aren't 100% sure exactly what is wrong with my computer.
    The good news is:
    - They were able to at least get it running again, with a clean install from their servers of OS X Lion 10.7.5
    - They believe that my problems stem from either 1 of 2 things:
            - Faulty Hard Drive (even though it is brand new)
             - The wrong build of software being installed.
    Now, while the wrong build does seem like it could be the problem, it doesn't make sense in the aspect that all of the initial problems began when the first hard drive failed. The same problems continued when I changed out the failed hard drive with the brand spanking new one, and only slightly improved when I was able to successfully install the OS that came with the original disks for my computer. I'm not convinced this thing is back to normal, but hopefully I can make it last through getting a shiny new retina Macbook Pro in the coming future. Thank you so much to everyone who read and replied to this post!
    - Andrew =)

  • Loading the data from a packed decimal format file using a sql*loader.

    Hi ,
    In one of the project i'm working here i have to load the data into oracle table from a file using a Sql*loader but the problem is the data file is in the packed decimal format so please let me know if there is any way to do this....I search a lot regarding this ..If anybody faced such type of problem ,then let me the steps to solve this.
    Thanks in advance ,
    Narasingarao.

    declare
    f utl_file.file_type;
    s1 varchar2(200);
    s2 varchar2(200);
    s3 varchar2(200);
    c number := 0;
    begin
    f := utl_file.fopen('TRY','sample1.txt','R');
    utl_file.get_line(f,s1);
    utl_file.get_line(f,s2);
    utl_file.get_line(f,s3);
    insert into sampletable (a,b,c) values (s1,s2,s3);
    c := c + 1;
    utl_file.fclose(f);
    exception
    when NO_DATA_FOUND then
    if utl_file.is_open(f) then utl_file.fclose(f); ens if;
    dbms_output.put_line('No. of rows inserted : ' || c);
    end;SY.

  • UNZIP file from ABAP

    Hi,
    I have a requirement to retrieve a zip file from the FTP Server, unzip it to the SAP Server and process the unzipped files. Retrieving the data from the FTP server should work via FTP commands which can be executed from within an ABAP program. However, the problem is unzipping these files via ABAP and put them on the server as well. 1. How to do this from within an ABAP Program? (unix commands?)
    2. Can I unzip these files with or without using the folder structure? (additional parameter for unix command?)
    Kind regards,
    Micky.

    REPORT ZTESTUNIX line-size 400
                    no standard page heading.
    selection-screen begin of block ucmd with frame title text-001.
    parameters: unixcom like   rlgrap-filename.   " ...SAP Interface file
    selection-screen end of block ucmd.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
      describe table tabl lines lines.
      loop at tabl.
        write:/01 tabl-line.
      endloop.
      skip 2.
      if lines = 0.
        write:/ 'NO Occurances were found'.
      else.
        write:/ 'Command was successfully executed' color col_total.
        write:/ 'Number of entries in Search' color col_total,
                 lines color 6.
      endif.
    end-of-selection.
    while running give the command as
    <b>unzip test.zip  -x dir</b>
    then it will unzip test.zip file to dir called dir.
    you can specify the filepath instead of file...
    regards
    vijay

  • Difference b/w Loading a Flat File made from EXCEL and NOTEPAD

    Hi
    Is there any difference in Loading a flat file made from MS-Excel and Note Pad. Imean performance or errors etc....
    GSR

    S R G,
    Theres no much difference only that when loading from excel we store excel in CSV format.  In notepad we use seperators like comma aand write one row at a time, then next....
    Rest everything is same...
    thats y it is preferable to load from excel as it is easier to represent and create...

  • Unzip files from a folder which is updating regularly using multithreading

    Hi All,
    I have acode which unzip all the files from a folder .This code picks up all the zipped files at a time and then unzip it and write them to another folder but now my requirement is changed ,suppose the source folder where all the zipped files are present is refreshed or updated with new zipped files regularly then how can I implement in my code multithreading to get several files by threads and send it for unzipping.
    Please suggest with some example or edit my code.
    package com.myprojcet;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    public class Main {
         * Extracts a zip file
         public void extractZipFile() {
              try {
                   String zipFileName = "C:\\soft\\test"; //Source folder for zipped files
                   //Create input and output streams
                   File SourceDir = new File(zipFileName);
                   File[] zipFiles = SourceDir.listFiles();
                   ZipInputStream inStream = null;
                   OutputStream outStream = null;
                   ZipEntry entry;
                   byte[] buffer = new byte[1024];
                   int nrBytesRead;
                   //Get next zip entry and start reading data
              for(int i=0; i < zipFiles.length; i++) {
                   inStream= new ZipInputStream(new FileInputStream(zipFiles));
                   while((entry = inStream.getNextEntry()) != null) {
                        outStream=new FileOutputStream("C:\\soft\\test2\\"+entry.toString()); //destination folder for unzipped file
                        while ((nrBytesRead = inStream.read(buffer)) > 0) {     
                             outStream.write(buffer, 0, nrBytesRead);
                   //Finish off by closing the streams
                   outStream.close();
                   inStream.close();
              } catch (IOException ex) {
                   ex.printStackTrace();
         * @param args the command line arguments
         public static void main(String[] args) {
              new Main().extractZipFile();
    Thanks
    Sumit
    Edited by: user8687839 on Feb 27, 2012 11:00 PM

    But my question is that if in a source folder we have several files which are in zipped format and the folder is getting updated every min (say) with new zipped files (which are dumped from some outside environment).I need to unzip all the files present in the folder ,if new one comes there then also check for the new zipped file and unzip it.You don't need to keep re-stating that.
    I had written a code for unzipping a file from a folder (thinking the folder is not updated everytime).Or that.
    Now I am thinking of using threads because if I create suppose 5 threads and every threads poll the source folder and pick up a zip file ,send it for unzipping it and again poll the source folder for any new entries?Or that.
    If using the threads here hits performace then what should I use?Err, what you presently have?
    Provide me any sample code or link that would be more useful.You've already written it.

  • How to tell if loaded file came from cache or not?

    Trying to work out how I can tell if a downloaded file came from the cache or was freshly downloaded over the net. I need this because users will download multiple files and I am trying to give make an accurate downloader for them. I have made them download a sample file which I have made not to cache by doing the following:
    private var _loader:URLLoader;
    private var _rootPath:String; = "http:/example.com/speedTest/f4v/";
    private var _startDownloadTime:int;
    private var _targetSpeed:Number //set elsewhere
    private function loadTestSpeedFile():void
                var fileRequest:URLRequest = new URLRequest();
                fileRequest.url = _fullFilePath + "speedTest.f4v";
                var variables:URLVariables = new URLVariables(); 
                variables.nocache = new Date().getTime();
                fileRequest.data = variables;
                _startDownloadTime = flash.utils.getTimer();
                _loader.load(fileRequest);
    private function speedTestHandler(e:Event):void
                var endDownloadTime:int = flash.utils.getTimer();
                var timeElapsed:Number =   endDownloadTime - _startDownloadTime;
                timeElapsed = timeElapsed/1000;
                var bytesPerSec:Number = (SIZE_OF_TEST_FILE/timeElapsed);
                var currentSpeedFactor:Number = bytesPerSec/_targetSpeed;
                trace("Speed Test file downloaded in " + timeElapsed + " secs at " + bytesPerSec + " bytes a sec : speedFactor " + currentSpeedFactor);
                   //remove this handler and download as normal from a list of files
                _loader.removeEventListener(Event.COMPLETE, speedTestHandler);
                _loader.addEventListener(Event.COMPLETE, completeHandler);
              //download the rest of the files
                download();
    I could work out if the other files are downloading much more quickly (say 20X quicker) than the speedTest rate worked out here and then discount it from calculating the download speed and estimated time remaining.
    However, it would be much better if there was a way to access properties on the URLoader on the Event.COMPLETE handler to see if the file 'downloaded' was taken from the cache or not. Anyone know of way of doing it more elegantly than the hack described in the last sentence?

    Kglad,
    Thanks for the interest and reply. Yes, you are right the file load preventing the file being cached is stictly a different matter from that which is bugging me.  I am, however,  using the Progress Event (as in flash.events.ProgressEvent ) in the following event handler listening to it:
    private function progressHandler(e:ProgressEvent):void
                var percent:Number = (e.bytesLoaded/e.bytesTotal)*100;
                  //other code to resize the gui loader ie scaling it to the percentage.
    Again this just tells me how much has been loaded each time the event is fired. On the Event.COMPLETE handler I am getting the load timings pretty much as per the
    speedTestHandler(e:Event) I posted. The only difference there is that it loads from an array of filenames (most but not all of which can change on later replays - hence some will be cached and some not) What i need to know is where the file is loaded from - either from the server or the local systems cache. The only way round this is to discard very quick downloads (which must be from the cache) from true calculating download speeds but that is a bit hit and miss. I am asking for a better solution. Hope that makes sense...

  • Unzip files from SDCARD

    HI,
    i am trying to unzipping files from external sdcard..
    i am using zipme.jar, but when i am deploying this application it give error.
    please nay one hep me to unzipping files using 3rd-party jar

    But my question is that if in a source folder we have several files which are in zipped format and the folder is getting updated every min (say) with new zipped files (which are dumped from some outside environment).I need to unzip all the files present in the folder ,if new one comes there then also check for the new zipped file and unzip it.You don't need to keep re-stating that.
    I had written a code for unzipping a file from a folder (thinking the folder is not updated everytime).Or that.
    Now I am thinking of using threads because if I create suppose 5 threads and every threads poll the source folder and pick up a zip file ,send it for unzipping it and again poll the source folder for any new entries?Or that.
    If using the threads here hits performace then what should I use?Err, what you presently have?
    Provide me any sample code or link that would be more useful.You've already written it.

  • Form are different when save an exist form as XML then load from XML

    Hi everyone,
    Who have experience that save an exist form as XML file then load from XML, some controls position, size and color different with the source form.
    I want to use the system wizard form style and I saved system form MRP Wizard as XML file, when I load form from XML, the form shows picture with different position, size, the rectangle control lost color and position also different with source form, because I want to get the line color in the form, the separate line implement using rectangle, please share your opinion how to save the form as XML more Accurate.
    Thanks in advance!
    Kathy

    Hi Kathy
    After loading a form over XML, we made the experince that in matrices link buttons will not appear everwehere they should. It's a tricky part and we made a work around by changing the columns order and then...the Link Buttons came up ok.
    regards
    Kurt

  • How do I copy my old xl files from my XP machine to operate on xl for Mac on my new iMac.  When I copy them onto a stick and transfer them it automatically makes them xls files which are then corrupted when I try to open them in xl for mac

    How do I copy my old xl files from my XP machine to operate on xl for Mac on my new iMac.  When I copy them onto a stick and transfer them it automatically makes them xls files which are then corrupted when I try to open them in xl for mac

    Sorry, yes this is Microsoft Excel.  The Microsoft XP has Excel files denoted as xl, the later versions of Microsoft Excel are denoted as xls files.  The later verions of Microsoft Excel open the xl files OK, does Excel for Mac not able to do this?

  • TS3297 I recently started my apple I'd account and used my wife's bank card for payment info. I then loaded $75 from iTunes gift cards on the account. I was able to make in app purchases, now its telling me to contact iTunes Store support to complete now?

    I recently started my apple I'd account and used my wife's bank card for payment info. I then loaded $75 from iTunes gift cards on the account. I was able to make in app purchases, now its telling me to contact iTunes Store support to complete now? Help

    Do what it told you to do.
    Contact itunes support
    http://www.apple.com/support/itunes/contact/

  • I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview

    I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
    When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
    Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
    Please help!!

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

Maybe you are looking for

  • How to get the jclass from a jmethodID

    Hello guys, i'm new in jvmti. My first project, for my own, is a simple profiler. I want to trace every method enter and exist, so i impl. a static void JNICALL     cbMethodEntry(jvmtiEnv *jvmti, JNIEnv* env,                 jthread thread, jmethodID

  • Error while updating the sales order through Process Order API

    Hi, Please any one will help plz. I am updating the promise_date through oe_order_pub.process_order(Process Order API) i am getting the following error. FND_AS_UNEXPECTED_ERROR N PKG_NAME OE_Order_Cache N PROCEDURE_NAME get_tax_calculation_flag N ERR

  • Can't update iPod Touch SW from 1.1.3 (with software upgrade) - 1602 error

    I get errors trying to sync since the 1.1.4 upgrade became available, plus I do connect and sync, I can't update to 1.1.4: "The iPod could not be updated. An Unknown error occurred (1602)." Has anyone else encountered this? Any solution ideas? Any wa

  • SE 3.0 periodically crashes when performing simple operations.

    During or just after many simple operations, like opening a new Data View, or dragging data from one window to another, or just moving a cursor, SE will periodically crash.  I'm running SE 3.0 on Windows XP.  My .seproj file is 9 MB.

  • Aperture won't Quit in Snow Leopard

    For some reason or other, I cannot quit Aperture once it has been opened in Snow Leopard. Will try usual fixes like repairing permissions etc, but comment appreciated! Thanks