Files Un Zip problem.

Hi,
I am facing a strange error, when I download the zip file from SAP(sdn, Service portal etc.,) site, and unzip it, open the first file appeared in the zip, the following error occurs,
<b>Error in file#1: bad Zip file offset(Error local header signature not found):disk#1 offset: 0.</b>
I try to unzip the file by using Winzip.
Let me have a solution from anybody to solve the above problem.
Thanks & Regards,
Venkatesan G.

Hi Venkatesan,
It looks like your virus scanner corrupts the zip-file
Regards
Ad

Similar Messages

  • Problem with unzip file install817ntee.zip

    When I unzip the file install817ntee.zip downloaded from oracle.com with WINRAR, it is say "it is unpredictable at the end of file"; So do when I unzip the file "OWB_902560.zip'

    When I unzip the file install817ntee.zip downloaded from oracle.com with WINRAR, it is say "it is unpredictable at the end of file"; So do when I unzip the file "OWB_902560.zip'

  • Path in Classpath for file SapMetamodelWebdynproContent.zip not found.

    How to get rid of these warnings?
                   [Warning]: Path in Classpath for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Versions of 'SapDictionaryTypeServices.jar' have different prefix.          
    Warning               [Warning]: Versions of 'SapDictionaryTypesRuntime.jar' have different prefix.     
    thanks in advance.

    Hi,
    This is a common problem when you import projects to NWDS. Do like this.
    1.Change to Navigator tab in NWDS and delete gen_wdp folder.
    2.Switch to Web Dynpro Explorer. Select the Project -> Right click-> Select properties -> in the wizard select Java Build Path -> Select Libraries tab -> You will find jar files with warnings
    3.Remove the jar and add the jar file with same name to the project one by one.
    4.For each jar file repeat step 3.
    5.Save the project
    Or
    removed the read-only property from all folders / files of the project and it solved my problem.
    Hope this helps!!
    Thanks & Regards
    Vijay K

  • Classes12.zip problem :-((

    Hi all, I had a problem when I open a jsp page when I use JDBC connection with classes12.zip. I currently have classes12.zip under c:\Oracle\Ora81\jdbc\lib and I set my environment variable:
    1st try to set: CLASSPATH=c:\Oracle\Ora81\jdbc\lib
    2nd try to set: CLASSPATH=%CLASSPATH%;c:\Oracle\Ora81\jdbc\lib
    3rd try to set: CLASSPATH=$ORACLE_HOME\jdbc\lib
    Then I reboot my machine and start my Tomcat Server. None of these setting is working at all. Here is the error that I get when I load my jsp page:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\t_jsp.java:8: package oracle.jdbc.driver does not exist
    [javac] import oracle.jdbc.driver.*;
    [javac] ^
    [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\t_jsp.java:59: cannot resolve symbol
    [javac] symbol : class OracleDriver
    [javac] location: package driver
    [javac]           DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    [javac] ^
    [javac] 2 errors
    I read several classes12.zip problem that posted on this forum, but none of them help me at all. By the way my OS is Window 2000 and Tomcat 4.1, Oracle 8.1.7 Enterprise
    Please give me some advices how to fix this.
    Thanks

    Thanks for all your advices, I did try Weiming Zhao
    and 734 instruction, but still not working. By the way, when I do javap oracle.jdbc.driver.OracleDriver, I got the following:
    C:\Dev>javap oracle.jdbc.driver.OracleDriver
    Compiled from OracleDriver.java
    public class oracle.jdbc.driver.OracleDriver extends java.lang.Object implements
    java.sql.Driver {
    public static final char slash_character;
    public static final char at_sign_character;
    static final java.lang.String oracle_string;
    static final java.lang.String user_string;
    static final java.lang.String password_string;
    static final java.lang.String database_string;
    static final java.lang.String server_string;
    static final java.lang.String access_string;
    public static final java.lang.String protocol_string;
    public static final java.lang.String dll_string;
    public static final java.lang.String logon_as_internal_str;
    static final java.lang.String prefetch_string;
    static final java.lang.String row_prefetch_string;
    static final java.lang.String default_row_prefetch_string;
    static final java.lang.String batch_string;
    static final java.lang.String execute_batch_string;
    static final java.lang.String default_execute_batch_string;
    static final java.lang.String remarks_string;
    static final java.lang.String report_remarks_string;
    protected static java.sql.Connection m_defaultConn;
    static {};
    public oracle.jdbc.driver.OracleDriver();
    public boolean acceptsURL(java.lang.String);
    public java.sql.Connection connect(java.lang.String, java.util.Properties) t
    hrows java.sql.SQLException;
    public java.sql.Connection defaultConnection() throws java.sql.SQLException;
    public static java.lang.String getCompileTime();
    public int getMajorVersion();
    public int getMinorVersion();
    public java.sql.DriverPropertyInfo getPropertyInfo(java.lang.String, java.ut
    il.Properties)[] throws java.sql.SQLException;
    public boolean jdbcCompliant();
    There is a SQLException, is this normal? This classes12.zip stop me for the last 4 days. Please advise.
    Thanks

  • Files in ZIP Archive not visible in XP explorer

    I have a strange problem. I'm sure the solution is something simple, but I seem to be overlooking it. I am creating a .zip archive from within my Java app, zipping up 5-10 straight text files. From what I can tell the file gets created successfully. After the .zip file is created, I can do a jar -tf on the file and it will show them all to me. I can also programatically get a list of the files in the archive and it all looks correct. However, when I try opening the archive file from the Windows XP file explorer (or extracting it to a location) it says that there are no objects in the archive.
    Here is the code I am using to create the zip file:
       byte[] buf = new byte[1024];
       try {
          String outputFilename = "somefile.zip";  // The output archive
          ZipOutputStream outStream = new ZipOutputStream(new FileOutputStream(outputFilename));
          System.out.println("createZip: zipping "+_files.length+" files.");
          // _files is an array of c:\somedir\somefile.txt file listings
          for (int i=0; i<_files.length; i++) {
            System.out.println("Adding entry: "+_files);
    FileInputStream in = new FileInputStream(_files[i]);
    outStream.putNextEntry(new ZipEntry(_files[i]));
    int len;
    while ((len = in.read(buf)) > 0) {
    outStream.write(buf,0,len);
    outStream.closeEntry();
    in.close();
    outStream.finish();
    outStream.close();
    rv = true;
    // ... catch, return value, etc.
    Any suggestions or hints would be greatly appreciated..

    We had a similar problem
    It turned out to be a feature and not a bug
    Actually 'vanilla' XP handles those files and is able to open them and it seems that the problem appears only after updating the XP to fix the vulnerability described in:
    http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS02-054.asp
    What we have determined is that if the zip file contains '/' at the begining of the path - the compressed folder utility will refuse to open it and will show only a blank pane in explorer. Removing the '/' from path in zip file solves the problem on updated Windows XP.

  • Java.util.zip.ZipFile.entries() shows only 99 files but zip file is fine.

    Hi,
    I have a wierd issue with java.util.zip.ZipFile
    Code as simple as
    ZipFile file = new ZipFile("my.zip") ;
    System.out.println(file.size());
    For this particular zip file, it says 99 files found but the zip contains more than 60,000 files. I tried the zip with unzip and zip utilities and the zip file checks out fine. I even tried to unzip the contents, and zip 'em up all over again, just to eliminate the chances of corruption while the zip was being transferred over the network.
    The same program works fine with another zip containing more or less the same number of files and prints 63730.
    Any idea? This can not possibly be related to the type of files the zips contain? right? In any case, the contents of both zips are text/xml files.
    Any help would be greatly appreciated.
    Regards,
    ZiroFrequency

    I know its a problem with this particular zip. But whats interesting is that "unzip" can easily open / verify the zip and claims that it is a valid zip.
    As I wrote earlier, I unzipped the file and zipped up the contents again in a new zip but java can't still count the contents correctly.
    So I am thinking there is something to do with the "contents" of the xmls inside the zip? (characterset issues?)
    There are no exceptions thrown and no error anywhere :(
    I basically need to pinpoint the issue so that I can have it corrected upstream as this zip file processing is an ongoing process and I need to resolve it not just once but for the periodic executions.
    Hope this helps explain the issue.

  • Where to find the OC4J-ready Pet Store Demo file jps112.zip

    where to find the OC4J-ready Pet Store Demo file jps112.zip in OTN
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    You have to execute the installer jar file.
    This will create a folder with all the source codes inside.
    I wasn't aware of any need for cvs.

  • Automate renaming files within zip archive

    I have a large number of files where I need to do the following:
    Change the file extension to .zip. (The files are zip archives but with a special extension, and all of the files have their own extension, ie .xx01, .xx02, etc...)
    Extract the zip file.
    Rename a file within. (Alternatively, it'd be great to be able to rename the file without extracting the zip file.)
    Recompress the file.
    Set the file extension back to what it was.
    I've been playing around in Automator to see if I could create a workflow that would do some or all of this. I've figured out changing the file extension, and Automator has an action to compress a zip file, but the other parts are eluding me.
    Does anyone know a way to make this process a little less labor intensive? I'd prefer to automate the whole thing, but even just some way to rename a file in a .zip archive without extracting it first would be hugely helpful. (I know this is possible under Windows.)
    I'm comfortable with delving into new territory in Automator, AppleScript, or shell scripts to make this easier.
    Thanks!

    We had a similar problem
    It turned out to be a feature and not a bug
    Actually 'vanilla' XP handles those files and is able to open them and it seems that the problem appears only after updating the XP to fix the vulnerability described in:
    http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS02-054.asp
    What we have determined is that if the zip file contains '/' at the begining of the path - the compressed folder utility will refuse to open it and will show only a blank pane in explorer. Removing the '/' from path in zip file solves the problem on updated Windows XP.

  • Add file to ZIP in Java program

    Hi all,
    I already found a lot of documentations of how to ZIP files in Java with the java.util.zip package, like: http://java.sun.com/developer/technicalArticles/Programming/compression/
    This algorithm works fine when you always want to create a fresh ZIP file where put your current files in.
    But I have the following problem: I already have a ZIP file with lots of files in it, and I want to add another file to this ZIP! Unfortunately I did not find any solution of how to do this in a java program - any ideas? Is it possible at all?
    Thanks for all answers
    nocomm

    Maybe this will help.
    http://home.mindspring.com/~thornton.rose/articles/ZipJar/part2.html
    At the bottom of this link is a algorithm for updating a file in a JAR that can be used for ZIP.
    It looks to me that the only way to add a new file to a ZIP is to:
    1) Create a Temporary ZIP
    2) Add new file to ZIP
    3) Open old Zip
    4) Read each ZIP Entry in turn and write to temporary ZIP
    5) If all goes well then deleted old ZIP and rename temporary ZIP to the correct filename
    You will have a ZIP with all the old files in and the new file.

  • How to delete log file after zipping in batch

        
        **please check my code ... and suggest any changes to be made ... i m able to zipp the logs but not able to delete those logs.........
            thanking you...
            this is my code....
            @echo off
            set zip="C:\Program Files\7-Zip\7z.exe"
            rem Findout Month, Year and Date
            FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set year=%%D
            FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set month=%%B
            FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set day=%%C
            rem Solve problem Year start and adding 0 in month
            if %month% EQU 01 (
            set month=12
            set /a year=%year%-1
            ) else (
            set /a month=%month%-1
            if %month% LSS 10 set month=0%month%
            rem Set file names for last month file.
            set lastmonthfiles=server.log.%year%-%month%-
            %zip% -tzip  a -y "%lastmonthfiles%.zip" %lastmonthfiles%*
            if exist %lastmonthfiles%.zip(
            DEL server.log.%year%-%month%-*
            ) else (
                echo file not found
                pause

    Actually it is only the 7Z filemanager that can delete files using the "Move" command and the "Delete after archiving" option.
    if EXIST %lastmonthfiles%.zip ( DEL server.log.%year%-%month%-* ) ELSE echo zip not found
    ¯\_(ツ)_/¯

  • Creating an XLS file and Zip it

    Hi All,
    we have a requirement where in we have to create an XLS file from internal table. This xls file then has to be zipped and mailed.
    If anyone knows how to create an xls file and zip it in WebDynpro, without using OPEN, CLOSE DATA SET etc, Please let us know. It will be of great help.
    Thanks,
    Anand

    >2) Convert the STRING format to XSTRING format by using the FM SCMS_STRING_TO_XSTRING.
    Actually you should use CL_BCS_CONVERT=>STRING_TO_XSTRING now.
    >3) Use the method COMPRESS_BINARY of class CL_ABAP_GZIP to compress the XSTRING file.
    You probably want to use CL_ABAP_ZIP instead of CL_ABAP_GZIP.  CL_ABAP_GZIP only does compression, which is fine for storing a single packet of data in the database.  However CL_ABAP_ZIP is better suited for mult-part zip (multiple inner files).
    >4) Use the method SEND_WEB_MAIL of class CL_HRRCF_SERVICES_MAIL to mail across the zipped contents.
    This seems to be an HR specific class. Better to use the cross application, NetWeaver provided functionality for sending mail - CL_BCS.

  • Time machine: An error occurred while copying files. The problem could be temporary. If the problem persists, use Disk Utility to repair your backup disk.

    Time machine backups are failing. I've followed the instructions I found on the Time Machine troubleshooting page (http://pondini.org/TM/Troubleshooting.html) but have gotten to where I don't know what to do next.
    Sequence of events:
    The main error message is always:
    An error occurred while copying files. The problem could be temporary. If the problem persists, use Disk Utility to repair your backup disk.
    Yesterday, I opened Disk Utility and verified the disk. Got this error:
    Error: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the OS X Utilities window appears, choose Disk Utility.
    I ran Disk Utility and repaired the hard drive. Then I manually started the backup before going to bed, figuring it was going to take a long time to run. When I got up this morning, the backup had failed with the same "could be temporary" error. I checked the log, which says:
    Starting manual backup
    Attempting to mount network destination URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Mounted network destination at mount point: /Volumes/Tery Griffin's Time Capsule using URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Disk image /Volumes/Tery Griffin's Time Capsule/Tery Griffin’s Computer (44).sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Error: (-36) Applying backup protections to /Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/ABB10CF2-F041-4DE5-B6AE-3C228B59ADCC
    Error: (5) setxattr for key:com.apple.backupd.SnapshotStartDate path:/Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/ABB10CF2-F041-4DE5-B6AE-3C228B59ADCC size:17
    Error: (5) setxattr for key:com.apple.backupd.SnapshotState path:/Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/ABB10CF2-F041-4DE5-B6AE-3C228B59ADCC size:2
    Deep event scan at path:/ reason:must scan subdirs|new event db|
    Finished scan
    Found 145601 files (11.88 GB) needing backup
    16.1 GB required (including padding), 620.77 GB available
    Copied Zero KB of 11.88 GB, 0 of 145601 items
    Copied 0 files (Zero KB) from volume Macintosh HD.
    Copy stage failed with error:11
    Backup failed with error: 11
    Ejected Time Machine disk image: /Volumes/Tery Griffin's Time Capsule/Tery Griffin’s Computer (44).sparsebundle
    Ejected Time Machine network volume.
    Starting automatic backup
    Attempting to mount network destination URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Mounted network destination at mount point: /Volumes/Tery Griffin's Time Capsule using URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Disk image /Volumes/Tery Griffin's Time Capsule/Tery Griffin’s Computer (44).sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Error: (-36) Applying backup protections to /Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/9F8E7957-9C50-49C3-8314-880E5203E3D9
    Error: (5) setxattr for key:com.apple.backupd.SnapshotStartDate path:/Volumes/Time Machine Backups/
    Does anyone know what the problem is here and what I should do?
    Thanks,
    Tery

    You have repaired your boot drive (which is good) but have you repaired your time machine drive?  I don't own a Time Capsule so I don't know if disk utility can operate on it.  If it can, you should repair it as well.  You may need to erase it and start a new backup.  That happens to time machine volumes from time to time and is why people who are serious about their data never rely on a single source of backup.

  • Can anyone help me?Time Machine couldn't complete the backup to...  An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk.  What is the problem?  I've made no changes.

    I recently starting receiving the error message "Time Machine couldn't complete the backup to... An erro occurred while copying files.  The problem may be temporary.  If the problem persists, use Disk Utility to repair your backup disk.  I have had no problems backing up my MacBook Pro 2011 to my Western Digital My Book Live through a Linksys EA4500 router until recently.  I've made no major changes.  I've ran a diagnosis on my back up drive with no problems.  The Time Machine back up starts, but about after about 5 to 10 minutes I get the error message.  I can see the shared drive in Finder.  The light on the drive blinks while it starts the back up.  I can see the shared folders on the networked drive.  The backup process starts but for some reason it just stops.  Can anyone help?

    You can't repair a network volume in Disk Utility.
    Backing up to a third-party NAS with Time Machine is risky, and unacceptably risky if it's your only backup. I know this isn't the answer you want, and I also know that the manufacturer says the device will work with Time Machine, and that it usually seems to work. Except when you try to restore, and find that you can't.
    If you want network backup with Time Machine, use as the destination either an Apple Time Capsule or an external hard drive connected to another Mac or to an 802.11ac AirPort base station. Only the 802.11ac base stations support Time Machine, not any older model.
    If you're determined to keep using the NAS for backup, your only recourse for any problems that result is to the manufacturer (which will blame Apple.)

  • I just got a new Mac Mini, and now when I try to import photos into Lightroom, iPhoto try to load them first, then Lightroom can't find the files.  Big problem.  What to do?

    I just got a new Mac Mini, and now when I try to import photos into Lightroom, iPhoto ties to load them first, then Lightroom can't find the files.  Big problem.  What to do?

    Simple:
    File -> Export to get your photos out of the iPhoto Library. In the Export dialogue you can set the kind to Original and you'll get back exactly what you put in.
    Apps like iPhoto2Disk or PhotoShare will help you export to a Folder tree matching your Events.
    Once exported, you can then trash the iPhoto Library - just drag it from the Pictures Folder to the trash and empty it.
    After that, if you're entirely neurotic about it, just put the iPhoto app in the trash and empty it.
    Regards
    TD

  • How to debug file content conversion problems?

    Hi,
    I'm trying to debug a file content conversion problem.  I'm mapping a few nodes in an IDOC to a file of fixed length fields.  I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
    However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created.  Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion.  How do I debug this because there is no descriptive error in the XI log?  If this node is not present, the file gets generated fine.
    Thanks,
    Basant Gupta

    Hi,
    If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
    So it wil help you debug the situation.
    If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
    /people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
    Regards,
    Moorthy

Maybe you are looking for