Creation of zip file inside another one.

Hi,
I have a problem  with the zip file creation.
I have created the zip file but now i can' t
create another zip file inside the first one.
can you suggest me how can i do it ?
thanks  Laura.

Hi,
try this Fm..
ISM_GENERATE_ZIP_FILE_NAME
Arunima

Similar Messages

  • Place one IDML file inside another one.

    I want to place one or more IDML files into another single IDML "master" file.
    The master file is sort of a template for a site layout. The IDML files I need to embed represent single content boxes with specific layouts. The files for those content boxes are created outside of InDesign with some texts I get from a database.
    To retain those layouts I deemed it best to just place them into another document which is no problem with INDD but just with IDML.
    I managed to link multiple INDD files into the master file in InDesign itself, but can not figure out how to link IDML files. I also found that it is possible to link INDD files into IDML files, just not IDML into IDML.
    I need to be working with IDML as opposed to INDD because I have to be able to manipulate the files in an easy way outside of InDesign.
    Is there any way to link IDML files into other IDML files? Or if not, is there a possibility to convert my IDML files to INDD files without having to use a real instance of InDesign?
    Relevant Lines of code from the master IDML file taken from the Spread.xml file:
    <Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box2.idml" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
    If I leave this in and try to open the file in InDesign I get the error message that the linked file type is not supported
    <Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box1.indd" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
    If I put this in everything works fine.
    Notes: box1.indd and box2.idml are the exact same files, just saved differently by InDesign. The path to both files is a valid file system path and has full read/write access.

    Thank you for your reply. I already know that it is possible to edit IDML files, which is what I am already doing.
    What I am now looking for is a way to place one IDML file into another one like you are able to do with INDD files.
    Which file format should I use insted then? It must be editable outside of InDesign because I need to be able to change texts and stylings within the file.
    Laubender
    That possibly means you have to have InDesign Server to integrate in your workflow.
    That's the exact thing I am trying to avoid here.

  • How to unzip a zip file within another zip file

    I've got code that successfully processes a file within a zip file.
    But now the zip file can also contain other zip files. How can I
    process a zip nested within a zip without actually extracting the
    files? It looks like I need a ZipFile object to be able to take
    advantage of the zip classes for reading zip entries. But the
    ZipFile methods want as an argument an actual file, as opposed
    to some object in memory. I can read the 'inner' zip file into a
    ZipInputStream object, but then how do I make that available for
    processing as a ZipFile? I've searched all over and cannot find
    anything anywhere that talks about working with nested zip files.
    Does anyone have any sample code that does this? Thanks!

    I have successfully done it.
    You cannot have the code - it is proprietary.
    However here are a few pointers:
    o Use ZipStreams rather than ZipFile.
    o ZipStream is just a filter on a stream, so you can have a zipstream open, read a ZipEntry, then ask for a substream for the stuff up to the next ZipEntry. Put a second ZipStream on that substream.
    o As I recall you have to watch out that your inner ZipStream does not do a close. (Everything will get closed.) Instead, there is another ZipStream method that will close without closing all the underlying streams.
    Hope this helps.

  • Help with calling a java application from inside another one

    Hello!
    I am having this problem which is getting on my nerves and dont know how to solve..
    I want to call from my java application, another java application. So i use the exec command. Then i want to read the output of this execution from my own application, (the "parent" process).
    But it doesn work properly. Something seems to happen and i dont get the whole output.
    The java program i want to call is created for running an application created with Matlab java builder.
    This program works when called from cmd, but seems not to work when called from inside a java application.
    The code of my java application is:
    Runtime rt = Runtime.getRuntime();
    Process child;
    // The java class getmagic is a special kind of java file that uses classes that work in matlab. It uses a component (.jar) file that is created from matlab java builder. thats why it wants the -classpath and the rest options.
    //I hope you wont get messed up in here.
    String[] callAndArgs = {"java","-classpath",".;C:\\Program Files\\MATLAB\\R2006b\\toolbox\\javabuilder\\jar\\javabuilder.jar;..\\MagicDemoComp\\magicsquare\\distrib\\magicsquare.jar -Djava.library.path=C:\\Program Files\\MATLAB\\R2006b\\bin\\win32;","getmagic","4"};
    try{
    child = rt.exec(callAndArgs);
    InputStream is = child.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line;
    while ((line = br.readLine()) != null)
    System.out.println(line);
    is.close();
    System.out.println(child.waitFor());
    System.out.println("Finished");
    }catch(IOException e) {
    System.err.println("IOException starting process!");
    }catch(InterruptedException e) {
    System.err.println("InterruptedException starting process!");
    The java program (getmagic) thats uses matlab gives the following output (after some time) when called in cmd with argument 4
    Magic square of order 4
    16 2 3 13
    5 11 10 8
    9 7 6 12
    4 14 15 1
    My program shown above only prints:
    Magic square of order 4
    1
    Finished.
    Do i do something wrong? How can i get the rest of the output???
    Thank you very much in advance,
    Stacey
    PS: I am sorry for the length of my post.

    Hello CaptainMorgan08, thanx for the instant reply.
    I tried, but no, i cant.
    Because i cannot include this java aplication that uses matlab into my application, cause 1) it needs special arguments in the compiler and during execution so it can be run and 2) it uses classes that java doesnt have. only the java-like matlab code.
    For example it uses:
    import com.mathworks.toolbox.javabuilder.*;
    import magicsquare.*; //the component which is made from matlab java builder.
    So i cannot compile it with my application!
    If you know of a way, please let me know!
    I know i might be missing something.. something that is obvious to you.. but i ve been working days=nights hardly no sleep..so you can excuse me if i say something foolish..
    Message was edited by:
    Stacey_Gr

  • Compiling one .chm file creates another one

    I'm working with a merged help system with approximately 30 sub-projects, and I have to make a change and regenerate the .chm file for all of them. We always generate the .chm file to the !SSL!\Microsoft_HTML_Help folder within the root project folder. I got tired of having to go into each output folder to move all of the .chms to the eventual destination folder, so I though I'd just change the output path to a common folder for all of them.
    After generating a couple, I noticed that when I compile some projects, a .chm file from a different project somehow ended up in the output folder. I don't know how it got there because I'd just created the folder and I hadn't generated a .chm for that project yet. Of course I've ended up with some old .chm files overwriting the updated ones that I generated today.
    This seems very odd. Has anyone run across this issue?
    I'm on RH 9.0.2 with Windows XP SP3.

    Are your merged CHM files located in the project folder? When you merge a CHM file, RoboHelp requires that the CHM file be copied to the project folder. If you do not delete the CHM file, it is copied to the output location for the master CHM. This will overwrite any existing CHM files in the output folder location with the copy in the project folder for the project being compiled.
    Delete the CHM files from the folder, and you shouldn't have this problem. I wrote a batch file for my projects to clean out CHM files from the folders prior to batch compiling all the projects. The merge will still occur as the merged files are included in the XPJ and the HHP file.

  • 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.

  • Including XML files inside another

    I was wondering if the following was possible, and if so, how:
    If I have 2 files of the same schema, e.g.
    FileA.xml
    <person>
    <name>Greg</name>
    </person>
    FileB.xml
    <person>
    <name>Bob</name>
    </person>
    Is there a standard way from in a file FileC.xml, of another schema, to include this information e.g.
    <people>
    <person>
    <name>Another</name>
    </person>
    <person ref="FileA.xml"/>
    <person ref="FileB.xml"/>
    </people>
    I have Googled this sort of question but not found any examples, and I think I am getting confused with entity resolving.
    Any help much appreciated.

    I think xinclude and xpointer are what you're looking for.
    xinclude:
    http://www.w3.org/TR/xinclude/
    xpointer:
    http://www.w3.org/TR/WD-xptr
    These technologies have been around for quite a while (at least since 2001) and many parsers support these standards out of the box. No need to write your own.

  • Open a new scene inside another one

    Hi All
    I am newbie in javafx and I am developing an application based on ensemble example. I made a scene (indicators) with some objects and I need to connect to oracle to complete this scene. I have created a class with a scene (login) that connects to database (typing user and password). The login scene runs a connection method to oracle that returns connection object. After this connection is successful, I will use this object into indicators scene.
    How can I "call" the login scene from indicators class?
    Are there any special thing I have to do with use a connection object in indicators class?
    Sorry if it looks like too simple, but I did not find any tip about it.
    Thank you for any help
    Ricardo

    Declaration first your new class inside private void init (final Stage s) or inside class, after that you can call like this in action button.
    final Class_After_Login cal = new Class_After_Login();
    b1.setOnAction(new EventHandler<ActionEvent>()
                            @Override public void handle(ActionEvent e)
                                    if(e.getSource()== b1)
                                            try
                                                      cal.start(s); // This Syntax like this
                                                     Class.forName ("com.mysql.jdbc.Driver");
                                                     Connection c = DriverManager.getConnection("jdbc:mysql://localhost/mahasiswa","root","");  
                                                     Statement s = c.createStatement();
                                                     String sql =("select * from login where username='"+tf.getText()+"'and password='"+pf.getText().toString()+"'");
                                                     ResultSet rs= s.executeQuery(sql);
                                                     if(rs.next())
                                                            JOptionPane.showMessageDialog(null, "Login Berhasil");
                                                     else
                                                            JOptionPane.showMessageDialog(null, "Username atau Password SALAH");
                                            catch (Exception ex)
                                                    //Logger.getLogger(Menu_Utama.class.getName()).log(Level.SEVERE, null, ex);
                        });Edited by: Tom on Feb 12, 2012 6:22 PM

  • ESA scanning for a file inside of a zip inside of another zip.

    There is a new file-encrypting ransomware called CTB-Locker going around that places a malicious .cab file inside of a .zip file inside of another .zip file.  Two questions:
    1) How far will an ESA scan depth wise into zips inside of zips.
    2) Is a .cab file considered an executable by ESA or something else?  If it is considered an executable, would a block based off of this match (attachment-filetype == “Executable”) catch this type threat?
    Reference to the CTB-Locker: https://www.f-secure.com/weblog/archives/00002788.html
    Thanks

    As an additional safe-gap measure, i would also suggest (unless of course you're receiving a lot of emails with .cab attachments normally) to put in an extra filter to quarantine emails with .cab attachments as most of the attacks seen are coming as .cab formats at the moment.
    In terms of how deep it'll look in.
    for .zip .rar filetypes, it will look as deep as you've set it.
    So if it's a viral file inside a zip (where the viral file is  an executable) it will be unable to unpack up the zip and capture the executable at the content/filter levels.
    However normally the AV engine itself (mcafee and sophos) should be able to sort it out for you assuming the viral definition is available already.

  • Replace a file which has a specific ID with another one

    I want to replace a file with another one using JSOM, but preserving all other associated fields (like Author and other custom columns in the document library)
    How can I select the file I want to replace using the ID field?
    For example, when I update a regular List Item, I use
    this.oListItem = oList.getItemById(the_given_ID);
    oListItem.set_item('Title', value);
    How can I do that for a file?
    I want to replace the file, not to update its content!
    Thank you!

    Hi,
    Per my understanding, you might want to replace the file in a library with other associated fields preserved using JavaScript Client Object Model.
    There seems no direct way can achieve what you want, as a workaround, you can upload the new file into this library, get the values of the associated fields from a
    specific item and populate them in the current item, then delete the original file from this library.
    By doing this, the original file will be deleted, a new file with the same properties will appear with a new ID.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Making xml playlist to play swf files inside one swf

    Hi,
    I have made an swf file and xml playlist.
    I want to include swf filepaths in xml playlist so i would be able to choose from my the list, which file i want to play.
    My list-component reads data from the xml, but i cannot get the swf files open there.
    I will attach my .fla file so you understand what i'm talking about.
    the .fla:
    http://www.mediafire.com/file/m24dz0gmzwz/Untitled-1.fla
    xml file:
    http://www.mediafire.com/file/gdyzzymy5mn/swfList.xml
    would you guys look at my files? i know i can play .flv files but i want to know how to play swf files inside another swf. The swf files should be loaded to  by the xml list.

    Hi
    we want to give some clarifications
    As per our requirement we need to play same swf file ( about
    5 in number) always.
    These swf files are kept in some folder and during run time
    we need to play these swf files inside our Mac / windows
    application using flash player.
    we don't need to play any swf file, but the same swf files
    we need a api / sdk to implement this
    Any help will be very well appreciated
    Sudesh

  • How to read a Zip file in PL/SQL program

    Hi,
    I was Reading a ".csv" file from a web URL eg. "www.aba.com/zxc.csv" in my PL/SQL procedure using UTL_HTTP package and loading data in my DB.
    Now that file is in .zip format, is there any way that I can still read that .csv.zip file through my PL/SQL procedure. Because now I have to download it first then
    unzip it and then I am loading it into my DB using UTL_FILE package instead I want to do it automatically as I was doing it before when it was not zipped.
    Thanks & Regards
    Sanjay

    Peters solution is a great, nice alternative - you should consider it.
    But your present solution reads the data from the web using UTL_HTTP into a CLOB I presume? So you are not hitting the file system at all?
    If it is not an option for you to go to the file system, then it is possible that you can use [url http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_compr.htm#BGBBCDDI]UTL_COMPRESS package.
    That is (maybe) a possibility if the zip file only contains one file - it cannot handle if the zip file is a zip archive with several files in it.
    You could try doing your UTL_HTTP load into a BLOB and then call UTL_COMPRESS.LZ_UNCOMPRESS to unzip that BLOB into another BLOB.
    I'm not guaranteeing it will work, but it may be worth a try if you cannot do it Peters way ;-)

  • How to place InDesign files inside InDesign files w/bleed intact?

    I'm placing InDesign working files inside another InDesign document that's a printer-provided template. Esentially, I've designed a multipage book and now need to put those pages with bleed into a larger, one page printer template. No trouble placing the files, but I'm not able to give any of my placed pages bleed. Any thoughts?
    Many thanks,
    Jim.

    Duh! Works perfectly.
    Thanks for the help!
    ~Jim.

  • Is there a way to add a password to either a zipped file or a m4v file?

    Either using the apps that are included or any FREE app thanks

    Well, first, there are a couple caveats.  If you want to compress your home folder into an encrypted .zip file, you wouldn't want to place that .zip file on the desktop.  There could be problems with trying to put the .zip file inside the folder you are zipping!  I would put it at the root level of the hard drive instead.  Second, if this is something you want to do regularly, as a means for creating an encrypted backup of the home folder or something similar, this isn't a very efficient or easy method.  Creating such a large .zip file will take a long time, and it will have to be re-created from scratch every time you want to update the backup.  It would be better to use a specific tool for that task.
    However, all that said, to create a zip archive named cool.zip at the root level of the hard drive, containing the entire home folder, you would execute the following command:
    zip -e /cool.zip /Users/yourusername
    You should also be able to substitute '~' for your home folder path:
    zip -e /cool.zip ~
    If you wanted to create an archive of your Documents folder and place it on the desktop, to give another example, here's the command you would use:
    zip -e ~/Desktop/cool.zip ~/Documents
    Hope all that helps!

  • Zip file attachment in Apple Mail

    I am new to Mac and Apple Mail. I received a mail with a zip file attached. But Apple Mail shows the attachment as some html text. How do I retrieve and save the zip file?

    some one sent you a zip file and you are having trouble opening it... it shouldn't... but if you do you can down load: http://www.stuffit.com/mac-expander.html
    or http://itunes.apple.com/us/app/stuffit-expander/id405580712?mt=12

Maybe you are looking for

  • 3 question about cookie and session please.

    1. I know that session automatic use in JSP by default and save session id in cookie. I have code that show all cookie on my computer <%      Cookie [ ] listcookie = request.getCookies();      Cookie mycookie = null;      for(int i=0; i<listcookie.le

  • Need to setAttribute in beforeCommit in ViewObject

    Helo, i need to setAttribute in beforeCommit method in View Object. but why i always get Need to re-validate and post error ? error message : (oracle.jbo.JboException) JBO-28202: Entities invalidated in beforeCommit(). Need to re-validate and post. T

  • Transporting active version of datasource from DEV to PRD

    Hi, When I transport a 3.x datasource from DEV to PRD, the version I am getting in PRD is 'modified'. In DEV we have both modified and active versions and there's no difference between them. When I try to activate the modified version, it says that I

  • Performance Manager Console Extension (WL PMCE) not work ?

    Hi I'm using WL 8.1 Platform Edition SP4. After install the WL PMCE and point the browser to the console at port 7001 ( or SSL 9002 ) I see the normal applet options but not the new extension options. The error shows in the log is : <22/02/2005 11:40

  • Rerurns

    Hi, In Return from customer scinario i am able to generate accounting entry,updation of RG1 Register,but i am not able to capture Excise Invoice.I have tried it by j1iex,by using capture excise invoice,without purchase order.but when i put customer n