Expanding ZIP files in External Data Window

Hi,
How could I expand the contents of ZIP files in the external data windows?
I've developped a GPI extension to unzip the file and extract data from compressed files. But my client wants to see the content of the file before uncompress.
Best regards
Frederic

Hello
I think also that the best solution to expand a ZIP files in the "External Data" portal of Diadem, is to use a data plugin.
But a data plugin is used to filter files with their extensions in "external data" and to import data in the "Data portal : internal data"
But our problem is to expand the ZIP files in the "external data" portal as the joint document presents.
We have not found the solution to do this.
Regards.
Attachments:
plugin zip.jpg ‏25 KB

Similar Messages

  • File system external data upload

    Hi experts,
            Is there any tool like File system external data upload, to upload the data from the  why is it used what are the attributes to be given.

    go thru this
    http://confluence.atlassian.com/display/CONFEXT/MultipleAttachmentsUpload+Client

  • Creating a zipped file from table data

    I am currently extracting data from a table and creating a flat file which is read later to create a compressed (zip) file.
    Is there a way that I can create a zipped file in one step (i.e. directly from the table data)? I am trying to reduce the number of file i/o hits in my appication.
    Thanks,
    Minesh

    Is there a way that I can create a zipped file in one step (i.e. directly from the table data)?Yes. Instead of doing something like:
    FileOutputStream fout = new FileOutputStream("flatfile");
    // write using foutdo this:
    ZipOutputStream zout = new ZipOutputStream("flatfile.zip");
    zout.putNextEntry(new ZipEntry("flatfile"));
    // write using zout

  • Finder making ZIP file password protected on Windows

    Here's an odd one. Someone (on OS X.5.7) makes an archive (ZIP) of a folder and gives the same file to two people, one on XP and one on Leopard (10.5.8).
    The Leopard user can open the zip file no problem. The XP user has a password prompt, and can't extract or copy the files out of the ZIP file without the password. But no password was set and nobody can guess what the password might be.
    Anybody see anything like this while making ZIPs from Leopard?

    I am having the same problem, occasionally and randomly.
    It seems to be problem with XP and not Vista.
    The standard advice is to right click the zip in Windows, then properties, then "unblock", but this doesn't work in the case of my most recent problem zip.
    I have tried zipping todays problem folder with Finder, FileChute and Betterzip, and none of them will open in XP, but all will in Vista.
    Note that XP will open the zip and show the jpegs, but the jpegs will not open.
    Really would appreciate some help on this.

  • Since 10.8 problems to expand zip-files

    if I use stuffit expander it will works fine.
    Is there anybody with same problems?
    regards
    Edgar

    I have occasionally had that problem myself.
    Are any of the ZIP files password-protected? See here.
    For me, most ZIP files open undamaged with Archive Utility. But when I encounter a problem like yours, I simply re-open with StuffIt Expander. They are not all password-protected; varies with source.
    Recommend sending feedback to Apple.

  • File name (external data) of infopackage

    Hi,
    I want to know if there is a process to define the name of the file (to import) in a infopackage by a function or an user-exit.
    thanks
    Santigo

    Saniago,
    i have used BAPI's to change Infopackages using code.
    the one's i have used are
    BAPI_IPAK_GETLIST
    BAPI_IPAK_CREATE
    BAPI_IPAK_DELETE
    check if you can use them.
    Cheers
    Tushar

  • Stuffit expanding OS X zip files to exe?

    why is stuffit expanding zip files of macintosh software to windows .exe that quicktime tries to open and does not recognise?
    any fixes?
    thanks

    Are these files you are downloading? If so, I would guess you are not downloading the Mac versions of the files. Stuffit just expands files it doesn't create them so if they are .exe files that it is unzipping then check the version of the file. Almost all Mac files are either .sit or .dmg files. Very very few mac files are zipped and none are .exe files

  • Routines for File name at External Data in Info Package level.

    Hi All,
    Can any one give the example codes of how to write the routine for Files at External Data in Info Package level.
    Regards
    srinivas

    Hi Srinivas
    Here iam attaching a sample code in the infopackage level this code is used to select the Current version from TVARV table ..based on the version from variable the data is loaded into the ods..
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'FISCPER'.
              l_idx = sy-tabix.
    tables tvarv.
    data: v_prever(6)   type c,
          v_fiscper(7)  type n.
      clear tvarv.
      select single low
       from tvarv
       into v_prever
      where name = 'ZBSK_PREVIOUS_RELEASED_VERSION' and
            type = 'P' and
            numb = '0000'.
    concatenate v_prever(4) '0' v_prever+4(2) into v_fiscper.
       concatenate  '0' v_prever+4(2) v_prever(4) into v_fiscper.
            l_t_range-low = v_fiscper .
              modify l_t_range index l_idx.
    Hope the above code helps you..
    let me know in case of any concerns.. and further help needed..
    bye
    Shu Moh..

  • Can Data Services take .gz (zipped) file

    Hello,  I am trying to figure to how to setup a Data Services job to process an .xml file that is stored in a .gz (zipped) file.   Can Data Services process .gz files?    I don't think it can.   I need to figure out how to unzip it in the job and process the file..
    Thanks.

    From reading this thread, i'm guessing you re fairly new to unix ?
    Before getting too involved in the data services part of this, make sure you aren't getting problems because of other issues.
    first, write your script to call gzip taking a filename as a parameter.
    I suggest you create a standard directory you keep all the scripts you will call from Data Services in. 
    When you are login in to the account Data services runs under
    type:
    cd ~
    (This should change to your home directory if your not already there) then press return.
    next type:
    pwd
    then press return
    This should display the home directory for data services.  Lets assume it is '/home/dataservices'
    Next create a directory for your script:
    mkdir /home/dataservices/scripts
    change into that directory:
    cd  /home/dataservices/scripts
    write your script:
    vi gunzip.ksh
    (Replace vi with the editor or your choice)
    Your script should at its most basic look something like this:
    #!/bin/ksh
    gzip - d $1
    NB:  If you don't understand shell scripting, google is your friend.  A link I found quickly:
    http://www.dartmouth.edu/~rc/classes/ksh/
    next set the script as executable:
    chmod u+x gunzip.ksh
    finally verify it works from the command line:
    /home/dataservices/scripts/gunzip.ksh myfile.gz
    If it uncompresses the file, you should be able to run this from data services with no trouble.
    If you don't understand these unix commands, you really need to forget about data services for a while and go and learn unix There is plenty of good stuff online and millions of books for beginners like dummies guides, etc.
    Good luck !

  • Trouble with Zip Files

    I have been having problems with Expanding Zip Files, When I double click them I usually get an empty folder, Once I double clicked a Zip File and got 1 file i then double clicked again and got 2 files, I did it a third time and got 5 files, eventually I got all the files needed to run the program after several more times unziping.
    I downloaded the "ParticleIllusion" Demo from http://www.wondertouch.com/
    When I double clicked that i got nothing after a few times of re-downloading and trying to unzip the file I checked this discussion board for some answers and got nothing.
    I then right clicked the file (I'm using a mighty mouse) and chose "Open With" I had 2 options 1. Stuffit Expander (default) and 2. BOMArchiveHelper (What ever that is) so I chose that, The Zip file decompressed perfectly first time!
    I dont know what the program is, Who makes it, Or where it came from, All I know is It worked.
    Ade

    Adrian,
    I found this: "BOMArchiveHelper is a core service that provides the mechanism behind the "Create Archive…" contextual menu in the Finder. It was introduced in Panther. Note that there are other libraries for zip compression available in OS X, and that BOMArchiveHelper is not well documented. The zip archives it produces have a proprietary method, similar to AppleDouble?, for preserving resource forks and other HFS metadata. As of this writing only BOMArchiveHelper and StuffIt 9 support it, but the archives can be opened with any other unzip program to access only the data forks." at http://www.cocoadev.com/index.pl?BOMArchiveHelper
    And there is more at Wikipedia at http://en.wikipedia.org/wiki/BOMArchiveHelper
    ,dave
    iMac G5, 2GHz; PowerBook G4, 1.3GHz; PowerMac G5, 1.8 GHz SP; iBook G4, 933MHz   Mac OS X (10.4.2)   Windows 2000, Samsung CLP-550N, LAN

  • Can't Open (Decompress) any ZIP files all of a sudden!

    Hi
    I've never had problems opening Zip files until a couple of days ago.
    All of a sudden I can't open Zip files from 2 different sources.
    I've tried downloading them in Safari and Firefox.
    I've tried the built in expander and I've tried Stuffit (latest version) and The Unarchiver.
    I keep getting error messages, usually saying the data is corrupted or that it was compressed with an unknown method.
    I got the original file re-sent to me several times (a purchase from a consumer website) with constantly the same result.
    Then today I received a different Zip file from a completely different source with the same result.
    My computer is up to date with all the latest Apple software updates.
    I've tried repairing disc permissions.
    Anyone know of this issue or have any ideas how to fix it?
    Thanks.

    To The Apple Discussion Boards!
    "I've tried repairing disc permissions."
    Did you restart your computer afterwards? If so, download a "zip" file. In the window that pops up, make sure *"Open With"* is selected. Make sure Stuffit Expander is selected or another utility that you want to open all your "zip" files.
    Option: Select +"Do this automatically for files like this from now on."+
    Click the "OK" button.

  • Possible Security issue with .zip files

    I found a potential issue with expanding .zip files. In the cases I've seen, the .zip files were created on Windows using Winzip. After copying the files to my OS X system, I double-clicked the file to expand the files and folders. (In this case the zip files was a Ruby on Rails web application.) In looking at the files in the terminal, all the files had wide open permission - 777 - all users had full access to all files!
    I had to go through and reset the permissions (755 for folders, 644 for files), and had to reset the execute permission on the Ruby script files.
    I'm going to test some more with more zip files, but this could be a potentially huge problem.
    Also, I noticed that the files had the "extended attribute" of com.apple.quarantine set on each file - which I assume is being set as a function of being downloaded via Safari from my webmail (Gmail) account. The .zip file had this attribute set, and when expanded it propagated to each file and folder.

    The files don't have any security on them from windows - windows doesn't know anything about unix permissions.
    I've compressed other files and folders on Windows and decompressed them in Tiger without a problem. I would think, at a minimum, the files would inherit the permissions of the parent folder I expanded them into.

  • ByteArrayInputStream as source for zip file entry corrupts the ByteArray

    Hi All,
    I have managed to create and add a (in-memory) zip file as an email attachment. I add a file to the zip file , then push data to this file via a ByteArrayInputStream.
    Adding the file (created via ByteArrayInputStream) to an email works perfectly. If i then add another step and zip this file it corrupts the output.
    It looks like it is turning the carriage return into a [] . Its 'almost right' as when I cut & paste the contents of the txt file i created (from the zip file) into Word it displays correctly, with the carriage returns. Is it some kind of encoding problem, or mime type issue?
    My ByteArrayInputStream uses buf.append("\n"); for carriage returns. I think the problem is with
    ByteArrayInputStream baIn = new  ByteArrayInputStream( getAttachementNoFormat(eq_rt.getStoredProc()) );where I think i need to encode this somehow. Here is the complete code to create and add the zip file to an email. Any isuggestions will be appreciated.
    //START of new ZIP code    
                                                                                             /* Specify files to be zipped */
                                                                                            // Create temp file.
                                                                                            //File temp = File.createTempFile(fileName, ".txt");                           
                                                                                            //temp.deleteOnExit();                                                           
                                                                                            //BufferedWriter bOut = new BufferedWriter(new FileWriter(temp));                                                          
                                                                                            //ByteArrayInputStream baInTemp = new ByteArrayInputStream( getAttachementNoFormat(eq_rt.getStoredProc() ) );
                                                                                            //bOut.write( baInTemp.toString() );
                                                                                            //bOut.close();
                                                                                             String[] filesToZip = new String[3];
                                                                                             filesToZip[0] = "C:\\Program Files\\NetBeans3.6\\firstfile.txt";
                                                                                             filesToZip[1] = "C:\\Program Files\\NetBeans3.6\\secondfile.txt";
                                                                                             filesToZip[2] = "C:\\Program Files\\NetBeans3.6\\thirdfile.txt";
                                                                                             final String fileToZip = fileName;
                                                                                             /*  Create a memory buffer to store the ByteArray, fixed size */                                                         
                                                                                             byte[] buffer = new byte[18024];
                                                                                             /* Specify zip file name */
                                                                                             String zipFileName= eq_rt.getReportName() + ".zip";
                                                                                             try {
                                                                                                 /* Create ZipOutputStream to store the FileOutputStream */
                                                                                                 // ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipFileName));
                                                                                                 ByteArrayOutputStream byteArray = new ByteArrayOutputStream();                                                             
                                                                                                 ZipOutputStream out = new ZipOutputStream(byteArray);                                                              
                                                                                                 /* Set the compression ratio */
                                                                                                 out.setLevel(Deflater.DEFAULT_COMPRESSION);
                                                                                                 /* iterate through the array of files, adding each to the zip file */
                                                                                                 for (int a = 0; a < filesToZip.length; a++) {
                                                                                                    /* Print the filenumber being added to the zip */
                                                                                                    System.out.println(a);
                                                                                                    /* Associate a file input stream for the current file */
                                                                                                   // FileInputStream in = new FileInputStream(filesToZip[a]);
                                                                                                       This ROCKS as it is passing a array into the text file .getBytes() seems
                                                                                                       to be the KEY in getting ByteArrayInputStream to WORK
                                                                                                    //String strSocketInput = "TAIWAN";
                                                                                                    //ByteArrayInputStream baIn = new ByteArrayInputStream(strSocketInput.getBytes());
                                                                                                    //String strSocketInput = new String (getAttachementNoFormat(eq_rt.getStoredProc()).toString() );                                                                                           
                                                                                                    //ByteArrayInputStream baIn = new ByteArrayInputStream( getAttachementNoFormat(eq_rt.getStoredProc()) );
                                                                                                     ByteArrayInputStream baIn = new  ByteArrayInputStream( getAttachementNoFormat(eq_rt.getStoredProc()) );
                                                                                                    //String strSocketInput = "TAIWAN";
                                                                                                    //ByteArrayInputStream baIn = new ByteArrayInputStream(strSocketInput.getBytes());
                                                                                                    /* Add ZIP entry to output stream. */                                                   
                                                                                                    out.putNextEntry(new ZipEntry(filesToZip[a]));                                                  
                                                                                                    /* Transfer bytes from the current file to the ZIP file */
                                                                                                    int len;
                                                                                                    while ((len = baIn.read(buffer)) > 0)
                                                                                                    out.write(buffer, 0, len);
                                                                                                    /* Close the current entry */
                                                                                                    out.closeEntry();
                                                                                                    /* Close the current file input stream */
                                                                                                    baIn.close();                                                   
                                                                                                /* Close the ZipOutPutStream (very important to close the zip before you attach it to the email) Thanks DrClap */
                                                                                                out.close();                                                    
                                                                                                /* Create a datasource for email attachment */
                                                                                                // DataSource sourcezip = new FileDataSource(zipFileName);
                                                                                                DataSource sourcezip = new ByteArrayDataSource(byteArray.toByteArray(), zipFileName, "application/gzip" );
                                                                                                /* Create a new MIME bodypart */
                                                                                                BodyPart attachment = new MimeBodyPart();
                                                                                                attachment.setDataHandler(new DataHandler(sourcezip));
                                                                                                attachment.setFileName(zipFileName);                       
                                                                                                /* attach the attachemnts to the mail */
                                                                                                multipart.addBodyPart(attachment);                                                       
                                                                                             catch (IllegalArgumentException iae) {
                                                                                               iae.printStackTrace();
                                                                                             catch (FileNotFoundException fnfe) {
                                                                                               fnfe.printStackTrace();
                                                                                             catch (IOException ioe)
                                                                                             ioe.printStackTrace();
                                                                                           // End Of New ZIP code    

    I came up with 'a' solution (not sure if its the best way but appears to work)
    \n = corrupt
    \r\n = ok in zip

  • Can't print a PDF file that is within a ZIP file.

    Can’t print a PDF file that is within a ZIP file.  Get message “Windows cannot complete the transaction.  The destination file could not be created.”  If I save the file and extract the pdf it works.  I didn't have to go through this hastle before.  If I retry many times it will often work.

    ZIP files can be handled in many different ways.  If you have a program like WinZip or 7-Zip installed, they will handle it.
    If not, Windows will handle it.  The message you quote indicates that your situation is handled by Windows, which seems to have a problem with it.  Could be caused by recent Windows updates.
    Definitely not an Adobe Reader problem.

  • Unzip the Zip file in ABAP

    Hi
    I want to get the zip file having multiple .dat / .csv files from another server to application server.I want to unzip it and store the individual file to the folder.
    Could you please help me.
    Thanks in advance.
    Amit

    Hi Amit,
    Please check this thread.
    Re: UNZIP file from ABAP
    Hope this will help.
    Regards,
    Ferry Lianto
    Message was edited by: Ferry Lianto

Maybe you are looking for

  • TestStand don't unload handle in a DLL after step is executed and unloaded

    Hi, Sorry for the 'Google' English. I hope you can understand my problem. I developed a DLL (in C, under Visual C++.NET 2003) to program board by Ethernet. Then I developed VIs (LV 7.1) for this DLL. It's work very well. I adapted these VIs for TestS

  • An Oracle RDBMS In-Memory Mirror

    Hi, We're considering BDB to be our cache for many mostly-read database tables. Our requirements is that we don't want to drop those tables because they have many uses in terms of statistical analysis and other data mining needs. Now in order to achi

  • Animated photos hidden behind others

    I am making a simple animation of some photos within an Indesign document that will be saved as a SWF and/or a PDF (not sure yet) I have 5 photos stacked on top of each other.  They are animated so they will "fly in from the right"  The first two wor

  • Attach a file to Email

    Hi, can anyone please guide me on how to attach a file in my phone to an email reply. (I can draft a new mail with attached file by using iFile only)

  • IVI-C in TestStand

    Hello, at the moment Im using the evauation version of TestStand 4.0 if it suits my demands. I have seen in the "Insertion Palette" the IVI-C steps. Whith them it should be possible to connect to a DMM or Scope or... So i installed the  IVI Complianc