Auto unzip archive files

Okay, after I updated my laptop to the latest version of the OS, i.e., 10.9.2, it somehow stopped auto unzipping thr archive files. How do I re-enable it? I use Chrome.
I did check Preference's in Safari and 'Open "safe" files after downloading' is still checked!
Any ideas?
Thanks!

I haven't done it for a while, but I manage to archive files from the workflow via a script.
In the workflow you have to use the ExternalProcess command.

Similar Messages

  • Auto unzip "zipped" files inside OWB. possible?

    Scenario:
    Client will be placing large fixed-delimited files in a directory w/c are in ZIPPED format. This file directory will be my source location.
    Question?
    Is there a way to automate the process of unzipping the files in OWB and placing it in the same directory. I am thinking of using a process flow but I cannot find any utility activity for this. Any suggestions?
    Thanks
    -carlo

    I haven't done it for a while, but I manage to archive files from the workflow via a script.
    In the workflow you have to use the ExternalProcess command.

  • Unzip the file archived by the File adapter

    Hi Experts,
    we have a scenario where we are archiving a xml file using the File adapter and also it is being zipped by the OS command.
    the script not only zips the file, it also rename the file from *.zip to *.xml.
    Hence after archiving when I am trying to open it, the content appears to be junk.
    Please suggest how to unzip the file as it got a extension *.xml.
    And I also tried renaming the file to *.zip and then to uncompress, but it shows below error
    Cannot open : it does not appear to be a valid archive
    Thanks in advance,
    MK

    hi Mk,
    instead of using OS command try using the exesting module provided by the SAP, so your job will be easy.
    follow this steps in the module processing for UN ZIP
    Processing sequence:
    Module name: AF_Modules/PayloadZipBean
    Type: Local Enterprise Bean
    Module key: 3
    u2022 Module configuration:
    Module key: 3
    Parameter name: zip.mode
    Parameter value: unzip.
    in the commincation channel specify filename.xml
    so you can open the file in XML format
    Thanks,
    Madhav
    Note:points if useful
    Edited by: madhav poosarla on Aug 14, 2008 8:31 AM

  • Auto unzip files under downloads folder

    - any downloaded files will go to "downloads folder" on the dock.
    - any "zip" type of files will unzip(decompress) on it's own under "downloads folder" right after the download action is completed.
    my question:
    1. is it safe for the zip file to unzip by itself? will I somehow get virus this way?
    (if there are any virus in the zip file).
    2. is there any way to turn this auto unzip feature off?
    (note that: it only unzips on it's own under "downloads folder" on the dock right after download is completed.)

    1. This shouldn't be a problem, but you can never be too safe.
    2. If you are downloading your files using Safari, do the following:
    Safari > Preferences... > General (Tab) > Open "safe" files after downloading (Uncheck)

  • Auto selection of file from folder during uploading??

    Hi all friends,
    Iam facing with one problem I am developing one uploading software for that i have used swing and servlet.Now my problem is i want to give auto selection of file from one folder means user just copy the files from any computer on network and paste it in predefind folder.And when they click on upload button it should start uploading of file one by one and after completion of uploading it move that file into another folder one by one.Now my software doing it perfectly but if user copy and paste any file in that predifined folder from network computer during uploading then they have to click upload button again after completion of first queue of files(for example if user first copy 10 files and start uploading and inbetween uploading of that 10 files if user copy another 10 files from network computer then they have to click on upload button again after completion of uploading of first 10 files).But my user requirement is they want to click on upload button once only at the time of starting my application and my application automatically select the file one by one from folder and send it to destination.Means if they copy the file from network machine inbetween uploading or any other user from network send file in that folder then my application should select those file automatically and start uploading means they don't want to click on upload button again.Can any one plz guide how I can slove this problem.Below r my codes:-
    Upload.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    suspendflag=true;
    Resume.setEnabled(false);
    Suspend.setEnabled(false);
    dest=frame.m_txtURL.getText();
    File ff=new File("d:\\DTMS\\Upload");
    File[] files = ff.listFiles();
    fileList = new Vector();
    if(files == null)
    textArea.append("There is no file");
    return;
    else
    for (int j = 0 ; j< files.length ; j++)
    fileList.add(files[j]);
    java.util.Collections.sort(fileList, new FileComp());//sorting by size
    new Thread(new Runnable() {
    public void run(){
    for (int k = 0; k < fileList.size(); k++)//loop for queue {
    File fname = (File)fileList.get(k);
    String str=fname.getName();
    log("Destination:" +" "+ dest);
    log("Uploading Progress\nPlease Wait....");
    result=doPost(fname,dest);//method for read file & send to servlet
    String str2="Transfer apparently failed.";
    String str3=result;
    if(str2.equals(str3)){
    Error(result);
    else if(suspendflag==true){
    File newfile =new File("d:\\DTMS\\Archives\\"+str);
    fname.renameTo(newfile);
    log("File" +" "+ str+" "+"Upload Completed !");
    else if(suspendflag==false){
    Error("** Transfer Suspended**");
    }).start();
    }catch(Exception exp)
    Error("Error : " + exp.toString());
    Regards
    Bikash

    Hi Chandan,
                        All the multiselection files are stored in it_tab( i:e file_table in method). you need to loop the every record to upload the data for selected files. please check the code Below...
    DATA: file_str1 type string.
    data: it_tab TYPE STANDARD TABLE OF file_table,
           wa_tab TYPE file_table,
           lw_file LIKE LINE OF it_tab,
           gd_subrc TYPE i.
    SELECTION-SCREEN begin of block blk with frame title text-100.
    SELECTION-SCREEN SKIP 2.
    parameters : p_file like rlgrap-filename .
    SELECTION-SCREEN end of block blk.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
    window_title = 'Select only Text File'
    default_filename = '.azt'
    multiselection = 'X'
    CHANGING
    file_table = it_tab
    rc = gd_subrc.
    *READ TABLE it_tab INTO lw_file INDEX 1.
    *p_file = lw_file-FILENAME.
    Start-of-Selection.
    loop at it_tab INTO wa_tab.
       file_str1 = wa_tab-FILENAME.
    CALL FUNCTION 'GUI_UPLOAD'
       EXPORTING
         filename                      = file_str1
    *    filename                      = '\\10.10.1.92\Volume_1\_projekte\Zeiterfassung-SAP\test.azt'
       tables
         data_tab                      = it_string
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.

  • Error Archiving File in File Sender Adapter using AF_Modules/PayloadZipBean

    Hi everybody.
    I have to pick a zip file up from ftp server, unzip an convert the file in xml.
    Im using this modules in file sender adapter:
    AF_Modules/PayloadZipBean --> To unzip de file
    AF_Modules/MessageTransformBean --> file to xml
    The problem is when I try to archive de file. Im getting this error and I dont know why (This path exists /out/ProcesadosSinError/)
    Could not archive file 'test.zip' as '/out/ProcesadosSinError/20100518-091029-155_test.zip' after processing: java.io.FileNotFoundException: /out/ProcesadosSinError/20100518-091029-155_test.zip (A file or directory in the path name does not exist.)
    Could it be that is not possible to archive with AF_Modules/PayloadZipBean?
    Thank u so much

    Hi Stefan.
    Absolutely. This path exists. It's an absolute path from root. I can´t understand the error!!!!
    Thanks!!!
    Edited by: Christian  Abad Chico on May 18, 2010 9:35 AM

  • Unzip/ Untar files

    I am remotely logged into a UNIX cluster at the university and attempting to manipulate some files that I have received from a collaborator. He has "tarred" and "zipped" the files. Unzipping the file with the command
    <remote host:directory>% gunzip file.tar.gz
    (remote host is the machine I am logged into (via ssh -X username): directory is my directory on the remote host)
    This creates the unzipped file- file.tar on <remote host:directory>. The problem arises when I attempt to untar the file. I am using the command
    tar -xvfp file.tar
    After entering this command, I get the message
    tar: can't mkdir /net: Permission denied
    tar extract: failed mkdir of <:senders directory>
    The same error is produced using [tar -xvf] as the bundled-options. I am assuming that it is attempting to make the directory on my collaborators remote host because the listed location of the failed mkdir is the senders directory <:senders directory> on a different UNIX cluster.
    I have tried variations on the tar command (-x or -xv) but those produce the error
    tar: tape read error: no tape in drive
    I am a bit unfamiliar with the syntax for the [[-]bundled-options Args] in the tar command, but I suspect that I need to specify where the untarred archive is going to be written/ copied. Could anyone provide some guidance on this.
    Sincerely,
    Aric

    Hi Aric,
       Did you copy the error message verbatim? Does it really want to create the directory, /net? If so then the problem is likely to be in the tarball itself.
       There's nothing wrong with your initial syntax. The -x tells tar to unpack the tarball, which is what you're trying to do. The -p says to preserve permissions, which is fine. The 'p' is not supposed to go after the 'f' in the options because the tarball, file.tar, is technically an argument of the -f option. However, most implementations of tar are rather forgiving in that regard. The -v option simply tells tar to be verbose and list the files. Of course there are many implementations of tar and you don't bother to tell us into what kind of machine you're logged.
       Tar has the ability to archive many files and preserve the directory structure. However, it has to recreate those directories when unpacking and that's when it had a problem. It seems that tar wants to create a directory named "net" at the root of the boot drive. I assume that the creator of the tarball archived such a directory on his machine.
       However, most implementations of tar strip the leading slash, turning an absolute path into a relative path. That way when unpacked, the directory structure starts at the current working directory. Unless you tried to unpack this tarball from the root directory of the boot drive, the tar that created this tarball appears to be different.
       Unless you can get the privilege of writing to the root of this boot drive, I would guess that your only recourse is to get the person who created the tarball to redo it using relative paths. See if you can get him to create it with GNU's tar, as that version strips the leading slashes by default.
    Gary
    ~~~~
       OK, so you're a Ph.D. Just don't touch anything.

  • Native extension to unzip a file crash my air app

    Hello,
    I have a problem with a native extension for android
    I want to unzip a file
    my java code
    File f = new File("my zip file");
    File outputDir = new File ("output folder");
    ZipHelper.unzip(f, outputDir);
    and
    import java.util.zip.*;
    import java.io.*;
    import java.util.Enumeration;
    import org.apache.commons.io.IOUtils;
    import android.util.Log;
    public class ZipHelper
    static public void unzip(File archive, File outputDir)
    try {
    Log.d("control","ZipHelper.unzip() - File: " + archive.getPath());
    ZipFile zipfile = new ZipFile(archive);
    for (Enumeration e = zipfile.entries(); e.hasMoreElements(); ) {
    ZipEntry entry = (ZipEntry) e.nextElement();
    unzipEntry(zipfile, entry, outputDir);
    catch (Exception e) {
    Log.d("control","ZipHelper.unzip() - Error extracting file " + archive+": "+ e);
    static private void unzipEntry(ZipFile zipfile, ZipEntry entry, File outputDir) throws IOException
    if (entry.isDirectory()) {
    createDirectory(new File(outputDir, entry.getName()));
    return;
    File outputFile = new File(outputDir, entry.getName());
    if (!outputFile.getParentFile().exists()){
    createDirectory(outputFile.getParentFile());
    Log.d("control","ZipHelper.unzipEntry() - Extracting: " + entry);
    BufferedInputStream inputStream = new BufferedInputStream(zipfile.getInputStream(entry));
    BufferedOutputStream outputStream = new BufferedOutputStream(new FileOutputStream(outputFile));
    try {
    IOUtils.copy(inputStream, outputStream);
    catch (Exception e) {
    Log.d("control","ZipHelper.unzipEntry() - Error: " + e);
    finally {
    outputStream.close();
    inputStream.close();
    static private void createDirectory(File dir)
    Log.d("control","ZipHelper.createDir() - Creating directory: "+dir.getName());
    if (!dir.exists()){
    if(!dir.mkdirs()) throw new RuntimeException("Can't create directory "+dir);
    else Log.d("control","ZipHelper.createDir() - Exists directory: "+dir.getName());
    i copy the file commons-io-2.4.jar (I get at http://commons.apache.org/proper/commons-io/download_io.cgi) in the lib folder of eclipse.
    in a native android app, this code work fine
    in a native extension for air, my air app crash
    LogCat in eclipse return
    NoClassDefFoundError: org.apache.comons.io.IOUtils.copy
    IOUtils class is not in commons-io-2.4.jar ???
    thanks

    Hello,
    I have a problem with a native extension for android
    I want to unzip a file
    my java code
    File f = new File("my zip file");
    File outputDir = new File ("output folder");
    ZipHelper.unzip(f, outputDir);
    and
    import java.util.zip.*;
    import java.io.*;
    import java.util.Enumeration;
    import org.apache.commons.io.IOUtils;
    import android.util.Log;
    public class ZipHelper
    static public void unzip(File archive, File outputDir)
    try {
    Log.d("control","ZipHelper.unzip() - File: " + archive.getPath());
    ZipFile zipfile = new ZipFile(archive);
    for (Enumeration e = zipfile.entries(); e.hasMoreElements(); ) {
    ZipEntry entry = (ZipEntry) e.nextElement();
    unzipEntry(zipfile, entry, outputDir);
    catch (Exception e) {
    Log.d("control","ZipHelper.unzip() - Error extracting file " + archive+": "+ e);
    static private void unzipEntry(ZipFile zipfile, ZipEntry entry, File outputDir) throws IOException
    if (entry.isDirectory()) {
    createDirectory(new File(outputDir, entry.getName()));
    return;
    File outputFile = new File(outputDir, entry.getName());
    if (!outputFile.getParentFile().exists()){
    createDirectory(outputFile.getParentFile());
    Log.d("control","ZipHelper.unzipEntry() - Extracting: " + entry);
    BufferedInputStream inputStream = new BufferedInputStream(zipfile.getInputStream(entry));
    BufferedOutputStream outputStream = new BufferedOutputStream(new FileOutputStream(outputFile));
    try {
    IOUtils.copy(inputStream, outputStream);
    catch (Exception e) {
    Log.d("control","ZipHelper.unzipEntry() - Error: " + e);
    finally {
    outputStream.close();
    inputStream.close();
    static private void createDirectory(File dir)
    Log.d("control","ZipHelper.createDir() - Creating directory: "+dir.getName());
    if (!dir.exists()){
    if(!dir.mkdirs()) throw new RuntimeException("Can't create directory "+dir);
    else Log.d("control","ZipHelper.createDir() - Exists directory: "+dir.getName());
    i copy the file commons-io-2.4.jar (I get at http://commons.apache.org/proper/commons-io/download_io.cgi) in the lib folder of eclipse.
    in a native android app, this code work fine
    in a native extension for air, my air app crash
    LogCat in eclipse return
    NoClassDefFoundError: org.apache.comons.io.IOUtils.copy
    IOUtils class is not in commons-io-2.4.jar ???
    thanks

  • Problen in unzip a file in folder structure

    hi,
    how can i unzip a file and folder with folder structure. when i unzip a file it create problem. please help to solve this problem.
    here is my code
    import java.io.*;
    import java.util.zip.*;
    public class MakeUnzip {
    final static int BUFFER = 2048;
    public static void main (String argv[]) {
    try {
    BufferedOutputStream dest = null;
    FileInputStream fis = new FileInputStream("D:/serverdata/dates.zip");
    // String root = "D:/clientdata/";
    ZipInputStream zis = new
    ZipInputStream(new BufferedInputStream(fis));
    ZipEntry entry;
    ZipFile zipfile = new ZipFile("D:/serverdata/dates.zip");
    while((entry = zis.getNextEntry()) != null) {
    int count;
    byte data[] = new byte[BUFFER];
    if(entry.isDirectory()){
         File dir = new File(entry.getName());
         if(!dir.exists()){          dir.mkdir();                 }      
    FileOutputStream fos =null;
    fos = new FileOutputStream(entry.getName());
    dest = new BufferedOutputStream(fos, BUFFER);
    while ((count = zis.read(data, 0, BUFFER))
    != -1) {
    dest.write(data, 0, count);
    dest.flush();
    dest.close();
    zis.close();
    } catch(Exception e) {
    e.printStackTrace();
    Please give me solution.
    Thanks in advance

    try this one and change it as u like:
    import java.util.zip.ZipFile;
    import java.util.zip.ZipEntry;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.io.File;
    public class UnzipFile {
    private static void doUnzipFiles(String zipFileName) {
    try {
    ZipFile zf = new ZipFile(zipFileName);
    System.out.println("Archive: " + zipFileName);
    // Enumerate each entry
    for (Enumeration entries = zf.entries(); entries.hasMoreElements();) {
    // Get the entry and its name
    ZipEntry zipEntry = (ZipEntry)entries.nextElement();
    if (zipEntry.isDirectory())
    boolean success = (new File(zipEntry.getName())).mkdir();
    else
    String zipEntryName = zipEntry.getName();
    System.out.println(" inflating: " + zipEntryName);
    OutputStream out = new FileOutputStream(zipEntryName);
    InputStream in = zf.getInputStream(zipEntry);
    byte[] buf = new byte[1024];
    int len;
    while((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    // Close streams
    out.close();
    in.close();
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(1);
    public static void main(String[] args) {
    if (args.length != 1) {
    System.err.println("Usage: java UnzipFile zipfilename");
    } else {
    doUnzipFiles(args[0]);
    }

  • How to check & unzip zip file using java

    Dear friends
    How to check & unzip zip file using java, I have some files which are pkzip or some other zip I want to find out the type of ZIp & then I want to unzip these files, pls guide me
    thanks

    How to check & unzip zip file using java, I have
    ve some files which are pkzip or some other zip I
    want to find out the type of ZIp & then I want to
    unzip these files, pls guide meWhat do you mean "other zip"? Either they're zip archives or not, there are no different types.

  • When I unzip .zip files I get an alias ?

    I've unzipped .zip files for years, but with Lion, unzipping a .zip file (created in Snow Leopard) does not result in a set of files, it results in a set of aliases which do not point to any file when I select "Show Original."
    Any advice appreciated.

    The current version of the built-in Archive Utility has problems with some zip files. Use "The Unarchiver" instead -- free in the App Store.

  • Error when unzipping a file

    Im trying to unzip a program to jailbreak my iphone and when i try to unzip the file, i get the following error message.
    Unable to archive "greenpois0n-osx_rc5.zip" into "Downloads".
    (Error 1 - Operation not permitted.)
    How do i unzip this file?

    That's Great! How did you figure it out? I have the same problem.

  • Can't unzip downloaded file

    I've downloaded a pdf file, and the site required it to be a zip file. I can't open it! Please assist me.

    If you're trying to zip a pdf, control-click it and choose to compress or archive it.
    If you're trying to unzip a file and the Archive Utility won't open it, try using The Unarchiver.
    (116464)

  • How to configure Team explorer 2010 command-line tool in Mac x os. configure shell or system path to include the folder to which (TF client) unzipped archive available.

    How to configure Team explorer 2010 command-line tool in Mac x os.
    Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.

    Dmitry,
    Thanks for the great writeup!
    I think I've got my universal instant client libraries built correctly.
    I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
    First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
    I used configure from /sw/....... to try to continue.
    Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
    (./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
    Things look like everything ran OK but The output does NOT include an oci8.so file
    So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
    where would I get it since it doesn't come in the pecl download?

  • Database Recovery using Archive files

    Dears,
    Due to some issue our database get crashed.
    We have saturday night offline backup and archive backup till yesterday night.
    We have restored offline backup and system is Up but it is on saturday night state.
    We want to apply these archive files to make the system state to current.
    In restore our control file also get replace with our saturday night control file status.
    We have copied our archive files in oraarch directory.
    Now when using brtools I am applying archive files:
    Command executing in brtools:
    recover from '/oracle/<SID>/oraarch' database
    it shows
    unknow command beginning
    No recovery required
    On sqlplus also when I execute
    sql>recover database;
    It shows no recovery required.
    When I give command:
    sql>recover database using backup control file;
    it ask for some {file name| AUTO | CANCEL}
    I give first file name of oraarch it shows "Can not access the file".
    File permissions are ok.
    I give AUTO, It also then do not do anything.
    Please suggest the correct method to make my system in latest current date.
    Shivam

    Hi Shivam,
    This is absolutely normal that during the restore your control files will be replaced by the old one which were backed up during database backup.
    Logic is that you can not apply the redolgs which are having the timestamps older than your  restored datafile's / controlfile's timestamp.
    If your DB is not yet opened, you can check the status of your database using below command which will tell you, till what timestamp your data is restored or currently available.
    select to_char(CHECKPOINT_TIME,'yyyy-mm-dd:hh24:mi:ss') from v$datafile where file#=1;
    >
    > From command I want to know "from backup control file"....Do SAP take backup of control file as in system only old is
    >
    > available.
    > Shivam
    >
    recover database using backup controlfile.....  this command does not backup the controlfile . this will make use of old controlfile only which came along with the restore  and start the recovery using this controlfile only.
    Its just make use of available controlfile ..No backup will be triggered.
    Please make a note that after DB restore; ..recovery is possible only in case database is not yet opened in OPEN state.
    Cheers !!!
    Ashish

Maybe you are looking for

  • Low Resolution on External Monitor after upgrade to Snow Leopard

    I recently had my Macbook Pro 13in upgraded to run OS X 10.6.3. Subsequently I have been unable to use my external BenQ G2420HD external monitor at it's full resolution. I'm using a MiniDisplayPort to VGA (D-Sub) adaptor. I have the latest firmware f

  • Table: DTEFW update

    Hi, Friends basically i m PP guy. Table DTEFW gets updated after intering the data in t code DTR0:- but there is a field SCHNR in the same table which is not updated at the same time as i ve not getting any entry field related to this field on t code

  • Anyone got a quick way to convert 1,158 AppleWorks files to MSWord?

    Welcome. Lion. I think. Before that happens I have 1,158 old AppleWorks files I need to be  able to consult, after Lion. So I need to convert them all to something that's going to be readabile in Lion. Some are Word Processing files, some are databas

  • Link Excel Chart to Form

    Is there a way to display an Excel chart in an Adobe form that is actually linked to Excel (so that when the chart is updated in Excel, it will also be udpated in the form)?  I would like to create a presentation in Adobe that contains various Excel

  • Verity / cfindex issues

    I've been having problems working with collections on our site. This has been happening frequently ever since we upgraded from CFMX6 to CFMX7. Sometimes it works, sometimes it doesn't. Happens for both PURGE and REFRESH. I am performing the CFINDEX w