How to create a split zip file?

Hi,
Does anybody know how to create a split zip file using only Java?
Lets say I have a file that compressed has a size of 10MB and I need to split it into small files of 1MB each... and then be able to open and uncompress it using winzip or any other compressing tool.
I know how to create a zip file using java.util.zip but I cannot split it...
Thanks,
Ignacio

IgnacioKriche wrote:
Thanks for the philosophical advice...
Can anyone help me? Does anyone know if Java API java.util.zip can split a zip file?I'm 99.9 % sure that there is nothing in the Java ZIP APIs to do this but I'm 100% sure I can't be certain.

Similar Messages

  • Creating a flat .zip file on a MAC

    Can someone please tell me how to create a flat zip file using my MAC. I control-click the files and choose compress and it puts them in a folder. Basically, I want to know how to select many photos and compress all of them into a zip file but then when one clicks on the zip file to open it it DOES NOT open another folder with the pictures in them, but rather just opens the pictures. PowerSchool only accepts flat zips.
    Thanks!

    You might try using a different utility. Or download the utility iTweaX - CNet Downloads or MacUpdate. Open and click on the Misc tab of the Tweaks menubar item. At the bottom click on the button labeled "Archives." This will install a new System Preferences item from which you can alter the behavior of the built-in Zip utility.

  • How do you create an AcrobatXI zip file in windows 8.1?

    How do you create an AcrobatXI zip file in windows 8.1? from acrobat.com docs?  Sorry Not sure what community to ask this in this community?  The email provider I was using didn''t seem to want to accept it through Adobe Send the first time and since Adobe Send ends January 6, I am assuming a zip file is preferable..  I thought I had seen an Adobe Zip file somewhere but haven't been able to locate it. Any help appreciated.
    Thank you.
    Sherrie

    Hi Sherrie L,
    Adobe Send is Adobe's current solution for sending large files. (It's Adobe SendNow that's retiring soon.) Can you tell us what trouble you were running into using Adobe Send?
    There isn't a special version of Zip files for Acrobat, but you could reduce the PDF file size if you have Acrobat. Or, in Windows, you can create a Zip file by choosing File > Send to > Compressed (Zipped) Folder.
    Best,
    Sara

  • How to create and sign CAB files info on Supplement Option

    To all Supplement Option subscribers:
    At the supplement option for iDevelopment Accelerators, I uploaded a zip with detailed info on how to create and sign CAB files (necessary when you are running your application on the Native IE Java Virtual Machine).
    Not all functionality provided to you through JInitiator will work (e.g. WebUtil doesn't) but the way how to make and sign a CAB file will become more easy.
    Cheers,
    Marc Vahsen
    Headstart Team

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • A how-To guide about splitting import files exists?

    Hi All,
    in his Webinar https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/409e4529-adbc-2a10-4d9b-e8fade570414
    Klaus David said a "A how-To guide about splitting import files exists" (Page 20).
    Can anybody tell me where to find this guide?
    Please mail to becker.roman ( at ) web . de
    Best regards
    Roman

    I found the link here, if you are still looking.
    I didnot check the contents yet but the title says
    MDM 5.5 SP06 - IT Scenario Configuration Guide -
    https://websmp202.sap-ag.de/~sapidb/011000358700001119482007E
    Thanks
    Satya

  • How to create database from .sql file

    how to create database from .sql file..?? i put the sintax query in a sql file.. and i want to call it in java code..
    ho to do it..??

    why do you want to do this from java?
    i just don't see the point.
    find your dba and have him/her run it for you

  • How to create and read text file using LabVIEW 7.1 PDA module?

    How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
    I attach my code here.
    Attachments:
    File_IO.vi ‏82 KB

    Well my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.

  • How to create a new excel file using Excel Destination when Destination file not exists.

    how to create a new excel file using Excel Destination when Destination file not exists.

    Just need to set an expression for excel connectionstring and set delay validation to true and it will create it on the fly.
    The expression should return the full path with dynamic filename in each case.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to create Exe From Data files

    my requirement is very much similar to registration of file extension.
    lets say if you have a file with extension .xyz then you can decide which program should invoke .xyz but instead of any other extension i need that extension of my file should be .exe
    and when user double clicks on this exe files the file should get opened with my own program, but if the file is true .exe (i.e. Created by some other program) then it should not get invoked by my program...
    i dont know how to do this but i know this is possible
    e.g. Flash can create an exe files from their .swf files which when opened run using flash player (but it doesnt get fooled by any .exe file. also flash exe files have different icons)
    similarly winzip can create self extracting exe files from .zip files
    can anybody help me out
    the files i am trying to create will have numeric data in spreadsheet format and when launched the player will show the data in animated format.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

    i think i will briefly describe the things; what exactly i want to acheive
    my client will have one application which will acquire data and log them into files. but he want to distibute these files to other people who will not have the application developed by me.
    he wants that file should show the reports in specific way. but to see those reports end user should not be required to install any specific application.
    i know that this thing is possible. as per msdn developer can include any data (text, graphics, audio, video etc.) inside exe in the form of resource file. (and there are programs are avaiable on internet which allow to extract, edit, add resource files inside exe)
    what i dont know right now is how i can access the resource file inside exe
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • How do I open a ZIP file?

    I received a ZIP file (.xlsx) from a PC user, dragged it to a folder on the desktop, and used my downloaded Unarchiver to open it. It created a new folder within the original folder. The new folder has a file (.xml) and three folders in it. I don't know how to get to a file I can open.

    Hi swpolski, and a warm welcome to the forums!
    The XLSX file type is primarily associated with 'Excel' by Microsoft Corporation.
    This is the new format for Microsoft Office documents.
    It is a combination of XML architecture and ZIP compression for size reduction.
    Microsoft promises the format will be open (published for anyone to use) and prior versions of Office, using components provided by Microsoft for Office 2000, XP, and 2003 will be available to perform document conversion. Remember that these are promises by Microsoft. We have yet to see the actuals. This format is not the same as the OpenDocument standard, also an XML-based standard being developed as a true open standard (see the OpenDocument Fellowship for more information).
    http://filext.com/file-extension/XLSX
    Do you have MS Office or Excel?
    Might look into NeoOffice...
    http://www.neooffice.org/
    Then if you do have MS APPs, they have a file you can download so older versions can read the new format.
    How to Open XLSX files on Windows, Mac and Linux Operating Systems?
    http://www.downloadatoz.com/howto/open-xlsx-files-on-different-os.html
    Free online conversion...
    http://zamzar.com/

  • How to create password protected zip in java?

    I want to create a password protected zip file in java...java.util.zip does not support this...how to do this???
    Someone please help...

    Thanks for Reply"[email protected]"
    Till today whatever i got is this------
    In java there is no way to make a password protected zip...java.util.zip package does not support this thing...
    To do this we require Third party API---
    Two third party Api i got...
    one is "CHILKAT API for java"
    and another one is "IPWORKS"http://www.componentsource.com/products/ipworks-zip-java-desktop/index.html
    but both of these API are paid...
    Even this problem has been reportd as bug in the bug database....
    And the other way is related with Class Process Builder of java...
    If someone knows more about this then tell me...

  • How to create a data load file from Excel !!!

    Hi All,
    I'm new to HFM and would like to load data into an HFM application. As I have an Excel file with all the data. When I'm directly loading the data it throws an error saying "No section has been specified to determine if this is data, description or line item detail". How can I convert this excel file into proper format (.dat) file understandable by HFM ?

    There are several ways to get this data into HFM.
    1) FDM - best option if you have it
    2) Webforms/Data Grids
    3) HsSetValue formulas in Excel
    4) DAT file loads
    5) JVs, etc
    If you wish to use DAT files created via Excel, you will likely want to use Excel VBA macros to create your DAT file to load. We do this on occasion for special projects and it works quite well. What you can do is set up an Excel file with your data inputs to look however you want, then link your POV members and amounts to another tab (we commonly call this the Export tab and it is set up in an HFM-friendly format).
    Create a macro to write a DAT file to a specified location using data from the Export tab. The DAT file will need to be formatted as below. For a specific sample, you can extract data from your HFM app and see the format.
    !Data
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Brush up on Replace, Merge, or Accumulate load options in the HFM Admin and User Guides, then upload your new DAT file.

  • How to create a New Excel File programmatically

    Hi !
    I am documenting acquired data continuously in an excel file, what I need to do is to create a new excel file automatically when the size of the previous file exceeds a certain limit lets say 1MB.
    I have tried using the simple 'Create/Open File' function and the 'Write to Spreadsheet File' function to create the new excel file. I does create a file but when I open the file it says the format of the file is not what you have opened it with.
    Also when the new file is created, three new worksheet are to be added programmatically with pre-defined worksheet name and also Column headers for each of the worksheet are to be added.
    I am also using 'Labview Report Generation Toolkit for Office'.
    Regards,
    Reeves
    Solved!
    Go to Solution.

    @ Aldo A
    Thanks for the reference to tutorial, I didn't know about them. They are useful in general but unfortunately they don't answer the problem of creating an altogether new excel file programmatically.
    @ ben64
    The template thing simplifies the issue of formatting the new file. But I am still working on the new excel file creation challenge.
    Let me put my problem in a different way.
    Certain data is being acquired continually and is being written to a certain excel file, when the size of the file exceeds lets say 1MB the program should start saving the data in a NEW FILE instead of the previous file.
    I have attached the VI to explain what I am trying to achieve here.
    Reeves
    Attachments:
    New Microsoft Office Excel Worksheet.zip ‏30 KB

  • HOW TO READ AND OPEN Zip files IN MAIL?

    Anyone know how to open and read attached zip-files in iPhone 3G mail?
    Thanks in advance,
    Alessio

    Hi Alessio,
    The iPhone does not support reading or uncompressing .zip files.
    +Mail attachment support+
    +Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .vcf (contact information); .xls and .xlsx (Microsoft Excel)+
    http://www.apple.com/iphone/specs.html
    Jason

  • How to create a custom ear file and deploy it onto a freshly created oc4j

    Hi,
    Wanted to know that how should i go about creating a custom EAR file or for that matter any application and deploy it onto a test oc4j instance created within the 10.1.3 Home of Oracle Apps R12.
    I believe in a standalone Application server installation it is quite simple to deploy an application by creating an oc4j instance using the AS console ,but not very sure about how to go about it in Oracle Apps .
    N.B:I have been able to create a test oc4j instance by the name of Test and able to start and stop it using the opmn of 10.1.3 oracle home.
    Any help in this regard will be appreciated.

    Hi,
    can you please post this question to one of the Apps forums if your main concern is to deploy applications in the context of Oracle Apps?
    It seems that you don't have a problem in creating the EAR file in JDev.
    Frank

Maybe you are looking for

  • The problem of installing oracle database 9.2.0 on Redhat 7.2

    Hi, there, I meet an error when I want to run runInstaller to install oracle database 9.2.0 on Redhat 7.2 at the Oracle Database Configuration Assistant step: ORA-03113:end-of-file on communication channel. the installer report every other things are

  • Bigfile in oracle 10g

    Hi All, I have a bigfile in oracle 10g which is of size 110G and its located in E drive.Now the problem i am facing is Drive E:\ has only 5GB free space left and the considering the data growth 5GB wont sufice long.Other drives in server have suffici

  • Meeting Indian Stautory requirements and US GAAP requirements in FA

    Has any one met the Indian Statutory requirements pertaining to: i)Additions of Exchange Fluctuation Cost ii)Capital Grants for recording in Indian FA Book but not copying into US GAAP FA Book Can you flag certain Cost additons from getting into FA T

  • Subcontractor

    Hi I created the purchase requistion in Project system for finished material "FERT" with account assignement category Q and item category L special procurment type is Subcontractor and procurment type is E in material master Finish material has 4 ROH

  • Upgrade from 11.1.2.1 to 11.1.2.3

    Hi,    We are planning to upgrade from 11.1.2.1 to 11.1.2.3. What are best practices that we can follow to upgrade. As we all know that there is no client for HFM.Ours is classic HFM application. Can we upgrade classic to classic to classic? or do we