Creating zipped file which contain multiple files

hi all,
i have a problem which i would like some advice about:
i need to recieve from a FTP server multiple files and then zip them all in one big zip file.
now i checked the forums and all i found is using PayloadZipBean which in all the examples create a zip file with one .txt in it.
is it possible to create multiple files in the zip using this module?
another problem if the one big zip file is what if each of the files inside the zip file has it's own mapping...
i think a BPM is a must here and a parallel one also with a correlation...
i would like if it's possible to do something different as the correlation between the files is a bit complicated?
regards and thanks a lot,
Roi Grosfeld

First,
I would like to understand your requirement. Is it to only download and zip the files in to one file? XI is not the solution. A OS level script or some C program is what I would use for that which calls some FTP APIs.
If you requirement is to get different files with different format but want to send them to one desintation which accepts files in only one format, I would not consider zipping them into one file and again unzipping then and executing a mapping XI. Instead, I would have different file adapter for each type of the file and use as many sender agreements with diffrent mappings.
Hope it made some sense..!!
VJ

Similar Messages

  • How to read an excel file which contains multiple tabs using File adapter

    Hi BPEL gurus,
    I have a requirement where i need to read an EXCEL file, which has three tabs inside the file. All the three tabs has data in it. I have seen few examples where file adapter reads an excel file with data present inside a single tab but not with multiple tabs.
    If anyone has worked on this scenario, please provide your suggestions/inputs/links etc.
    Thanks in advance

    hi Sathish,
    this might help
    PI/XI: Reading MS Excel's XLSX and XLSM files with standard PI modules - easily...
    thanks and regards,
    Praveen T

  • How should I create JAR file which  contain JMF library and project classes

    Hi,
    I installed the JMF windows pack. I compiled and ran successfully myApplet (which use JMF librarie) in Internet Explorer on my machine. When I run this applet on some different machine, where JMF isn�t installed- it�s not running.
    There is an error:
    java.lang.NoClassDefFoundError: javax/media/ControllerListener
    I was trying to create jar file, which contain librarie JMF.jar and all other files which are require to run myApplet (*.jar, *.class, the files from folder �MyApplet�) and run it on the other computer. It still doesn�t work.
    Also I ran a JMF Customizer and created customize.jar but this file contains only JMF classes. I don�t know how add other files to it.
    How should I create a jar file which will contains all essential files to run myApplet on other machine (something like �All In One� J )
    I�m using Eclipse.
    Can somebody help me?.
    Thank You!
    Best regards:
    Peter

    Hi
    i want to make a jar file of application which is using JMF to play audio
    and video. it works well during compilation and execution but doesn't
    works in jar file.
    please help me how i make a jar file whic will run audio and video too
    your's truely
    abdul

  • How to read a line from a file which contains 45000 characters?

    Hi all,
         Iam a receiving a .CSV file which contains n number of rows ,each row has a data seperated with delimiter.
    These values based on delimiter it is seperated and certain validations are handled.
    Iam using UTL_FILE.GET_LINE operator to read the value and store it in a variable which is declared as l_text VARCHAR2(30000).
    when we receive a line which contains huge characters say 45000 then it throws an error(Unable to read the file).
    Only on rare cases we used to receive these kind of files with huge size.
    Kindly help to solve this issues.
    Database details.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Hereby i have tried with long Raw data type but still same error unable to read the file.pls find the sample code below,
    declare
    l_text             LONG RAW;
    l_importTypeFile   UTL_FILE.FILE_TYPE ;
    begin
         PKG_COMMON.PROC_FOPEN(g_Directory, P_FILENAME,    'RB',l_importTypeFile,    p_error_cd, p_error_msg) ;
    UTL_FILE.GET_RAW(l_ImportTypeFile,l_Text);
    End;
    Thanks in Advance
    Siva

    Hi Siva,
    Are you trying to use data from this .csv file into your realtion tables. If yes and If you are using 11g Oracle database. I would suggest you create External Tables using the below query,
    http://www.oracle.com/technetwork/issue-archive/2011/11-mar/o21nanda-312277.html
    STEP1: You need a Directory where your SCHEMA has read/write access. Store the csv file in that directory.
    STEP2: Create an EXTERNAL Table script. Please refer the above URL. Examples are for coma delimiter (,); replace it with your pipe (|) in the code
    STEP: Once your external table is created you can simply create a relational table as below:
    CREATE  TABLE relation_table
      AS
    SELECT * FROM external_table;
    Regards,
    RaviR

  • HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS

    Hai Frnds,
    i Attend an interview they asked this questions can u know the answeres . tell me .
    In File to file scenario how can we reprocess records which failed records.
    HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS
    Thanks in advance
    thahir

    Hi,
    Refer these links:
    this might help you
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    validating against schema file for the output XML file
    Informing the sender about bad records
    Regards,
    Nithiyanandam

  • I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    How to know character's encoding is ASCII?

  • Can't find jar file which contains com.sap.portal.directory - Constants

    Hi,
    I am not able to find a jar-file which contains the Constants class of com.sap.portal.directory.
    Does anybody know where to find it?
    Thank you in advance.
    Kind regards, Patrick.

    Hi,
    Refer this link
    Using JAR Class Finder
    in the server u can find the jar files required for the application....
    C:usrsapJ2EJC00j2eeclusterserver0appssap.comirjservlet_jspirj
    ootWEB-INFportal
    Regards,
    Senthil K.

  • Save/Open dialog crashes on opening a folder which contains multiple app. alias

    Hi:
    This is my first post in Apple forum, I've been searching some pages here, obviously I'm not the only one having this (or similar) problem but all existing threads are suggesting "Safe Mode" or "Disk Util" these useless things and never worked for me.
    I believe this is a bug from os x / Finder, not sure if this has been filed or not against Apple bug db.
    The problem:
    Save/Open dialog hangs up when loading / opening an existing folder which contains multiple application alias
    How to reproduce:
    1) Use any browser (I use Firefox and Chrome) to open a page and  print the page / or download something, or print something as PDF
    2) When Save dialog ( some people call it file picker or location selector, whatever) pops up, select a folder which contains multiple application alias
    3) Dialog hangs up, and the application icon on those  alias will not be loaded successfully. Need to Force Quit the browser.
    4) Issue cannot be reproduced always, but frequently enough if you have many application alias and files / subfolders in the target folder
    5) By removing all the application alias, can workaround the issue.
    6) The icons of application on those alias are loaded slowly in a successful loading (seems there are some performance issues)
    7) This issue has not been observed before upgrading to Mavericks
    Env:
    27 inch iMac Late 2012, 2.9GHz i5, 8G DDR3, NVIDIA GTX660M 512M, OS X 10.9.1
    Please anybody (not sure if Apple monitors this community) who knows details in regards to this, share some info. (or maybe there already is a fix ? ) .
    Thanks.
    Regards,
    Lyle.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • How to create a table which contains relational data and Document data

    hai all
    i need to create a table which contains relational data(i mean coulumns whose data types are type NUMBER,VARCHAR) and documents(like xml file/html file/image)using iFS.
    when i store the document data(xml data/html data) in the iFS ,it will be stored as Document Object.so how do i relate this document object belongs to a particular row in a table.
    do guide me
    thanks

    Please see reply at http://technet.oracle.com:89/ubb/Forum36/HTML/000778.html

  • HOW TO CREATE A VIEW WHICH CONTAINS A PARAMETER

    Hi all
    I am trying to create a view which contains paramaters.
    Lets assume that the view may look like this:
    STEP 1:
    CREATE OR REPLACE procedure Myproc(v_count in NUMBER) as
    BEGIN
    EXECUTE IMMEDIATE
    'CREATE OR REPLACE VIEW myview AS
    SELECT COUNT(*) FROM DUAL WHERE ROWNUM like '''||v_count||'%'' ';
    END myproc;
    SHOW ERRORS;
    Procedure created.
    Elapsed: 00:00:00.31
    SQL> SHOW ERRORS;
    No errors.
    STEP 2:
    SQL> EXEC Myproc(2);
    BEGIN Myproc(2); END;
    ERROR at line 1:
    ORA-00998: must name this expression with a column alias
    ORA-06512: at "MYUSERNAME.MYPROC", line 3
    ORA-06512: at line 1
    Elapsed: 00:00:00.16
    It seems that doesn't really likes the third line: "EXECUTE IMMEDIATE".
    Can I get any help with this one ?
    Thank-you
    Robert

    Bear in mind that VIEWs are not supposed to be parameterised. That is why Nature gave us a WHERE clause. However, there is one, albeit slightly clunky, way of doing it....
    SQL> CREATE OR REPLACE VIEW emp_view AS
      2  SELECT * FROM scott.emp
      3  WHERE deptno = sys_context('userenv','client_info')
      4  /
    View created.
    SQL>
    SQL>
    SQL> exec dbms_application_info.set_client_info(10)
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM emp_view
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450
            10
          7839 KING       PRESIDENT            17-NOV-81       5000
            10
          7934 MILLER     CLERK           7782 23-JAN-82       1300
            10
    SQL> Cheers, APC

  • How To Split File In to Multiple Files With out using B.P.M

    Hi Guys,
    How To Split File In to Multiple Files With out using B.P.M.
    Thanks in advance
    Regards's
    KIran.B

    Hello
    below r the links were u will find message spilitting by graphicaaly i.e without using BPM.
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Sender File Adapter with file conversion  Multimapping --file content conversion with split messg mapping
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748---- [original link is broken] [original link is broken] [original link is broken]
    multimappig
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    hope this resolve your problem
    thank's
    Chetan

  • How to read multiple files and generate multiple files

    Dear all, I would like to process some LTE measurement files. Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
    Attachments:
    RF Analyze IQ File.vi ‏46 KB

    There is no official "bin" format and I am confused by some of your statements:
    Kiwibunny wrote:
    Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
    What you could do is use "list folder" with *.bin as pattern, and use a FOR loop and iterate over all *.bin files found in a selected folder.
    In any case, your code uses some weird constructs and you seem to do way to much. Are you using "continuous run" mode? Don't!
    Use a proper state machine instead ot these stalling loops. Why do you need to query the queue after each enqueue? Why do you need a queue at all?
    LabVIEW Champion . Do more with less code and in less time .

  • I need to create a flyer which contains as example 33 lines of text in a column. All textlines have

    I need to create a flyer which contains as example 33 lines of text in a column. All textlines have to be underlined in a color. I tried this with „Absatzlinie darunter“ (might be „Paragraph line underneath“.
    The short-cut is „Command / Alt / J“, but nowhere I can see any information how to duplicate the underlines.
    By the way: I am a InDesign-Beginner; I used to work with QXP before for many years. Who can give me a hint – if possible in German? Thanks a lot!
    Dieter

    Guten Morgen!
    Zunächst herzlichen Dank für die Reaktion und die Tips. – Ich will da nicht
    nerven, aber ich bin erst seit kurzer Zeit mit InDesign zugange und stelle
    immer wieder fest, dass, je tiefer ich einsteigen will, immer mehr Fragen
    auftauchen. Es gibt auch so viele Begriffe, die sich von QuarkXPress
    unterscheiden, das ist ja furchtbar.
    Können wir vielleicht mal kurz direkt Kontakt über E-Mail aufnehmen? Auch
    mit dem Forum habe ich noch Probleme zurecht zu kommen. Ich würde gerne
    einen Screenshot senden, der mein "Problem" besser erkennen lässt.
    Schöne Grüsse
    Dieter Ullrich
    Von:  Willi Adelberger <[email protected]>
    Antworten an:  <[email protected]>
    Datum:  Mittwoch, 15. Januar 2014 20:34
    An:  Dieter Ullrich <[email protected]>
    Betreff:  I need to create a flyer which contains as example 33
    lines of text in a column. All textlines have
    Re: I need to create a flyer which contains as example 33 lines of text in
    a column. All textlines have
    created by Willi Adelberger
    <http://forums.adobe.com/people/Willi+Adelberger>  in InDesign - View the
    full discussion <http://forums.adobe.com/message/6016307#6016307>
    Wenn Du jede Zeile unterstreichen musst, dann sind Absatzlinien (Paragraph
    Rules) nicht dazu geeignet. Es gibt zwei Absatzlinien, eine unterhalb, eine
    oberhalb.Für das Unterstreichen aller Zeilen kann man nur die Auszeichnung
    „Unterstreichen” verwenden, das findest Du im Absatzformat unter
    „Grundlegende Zeichenformate” die Option „Unterstreichen”. Besser wäre es
    jedoch in der Absatzformatdefinition im Bereich ”´„Unterstreichungsoptionen”
    die EInstellungen vorzunehmen, weil dort feinere Einstellungen möglich sind
    und sogar zweifärbige Unterstriche möglich sind. Leider hat die
    Unterstreichungsfunktion gegenüber den Absatzlinien den Nachteil, dass
    Unterstreichungen nur unterhalb des Texts und unterhalb von Leerzeichen und
    Tabulatoren funktionieren, Absatzlinien können hingegen auch außerhalb de
    Rahmens angelegt werden und eine feste Länge bei allen Zeilen haben.
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in the
    forum to embed the image at http://forums.adobe.com/message/6016307#6016307
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either reply
    to this email or visit the message page:
    http://forums.adobe.com/message/6016307#6016307 To unsubscribe from this
    thread, please visit the message page at
    http://forums.adobe.com/message/6016307#6016307. In the Actions box on the
    right, click the Stop Email Notifications link.  Start a new discussion in
    InDesign at Adobe Community
    <http://forums.adobe.com/choose-container!input.jspa?contentType=1&container
    Type=14&container=3359>  For more information about maintaining your forum
    email notifications please go to
    http://forums.adobe.com/thread/416458?tstart=0.

  • How to import a doc file which is a file created by using the codings?

    Hai to all....
    i'm now trying to import a word doc file which is created by using the
    CreateFile() method in Win32 Programming....
    When i manually created a doc file and import that file using the
    PlaceFileInFrame method.... the contents of the doc file is placing in
    the document perfectly...
    But when i'm trying to create a doc file using CreateFile() method and importing it... and use the PlaceFileInFrame method... its not placing the
    contents of the file...
    i will show u the codings what i had done...
    HANDLE hFile;
    DWORD wmWritten;
    //FOR CREATING A DOC FILE....
    hFile = CreateFile(L"C:\\tab.doc",GENERIC_READ|GENERIC_WRITE,
    FILE_SHARE_READ,NULL,OPEN_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
    //FOR WRITIND DATA INTO THAT FILE FROM row[2] IN A MYSQL DATABASE
    WriteFile(hFile,row[2],(DWORD)(strlen(row[2])),&wmWritten,NULL);
    CloseHandle(hFile);
    //USED PLACEFILEINFRAME METHOD FOR PLACING THE CONTENTS OF THE DOC FILE
    tempfilename="C:/tab.doc";
    target = "/" ;
    replace = "\\" ;
    s.Replace(tempfilename,target,replace);
    IDFile idFile;
    idFile.SetFileName(tempfilename);
    UIFlags uiFlags = K2::kMinimalUI;
    UIDRef ref = layoutHelper.PlaceFileInFrame (idFile,placeUIDRef,boundsInParentCoords,
    uiFlags,
    kTrue, //retainFormat
    kTrue, //convertQuotes
    kFalse, //applyCJKGrid
    NULL);
    But the import is failed...
    When i manually created a doc file and import that file using the
    PlaceFileInFrame method.... the contents of the doc file is placing in
    the document perfectly...
    Is there any ImportProvider or ImportFilter available for
    importing this type of written files?
    Can any one plzz explain me?
    thanks in advance..
    senthil

    Hai Oscar,<br /><br />Now i'm trying like this for importing XML files...<br />----------------------------------------------------------------------<br />IActiveContext* activeContext = snpRunContext->GetActiveContext();<br />UIDRef documentUIDRef = ::GetUIDRef(myContext->GetContextDocument());<br />tempfilename="C:/1.xml";<br />target = "/"   ;<br />replace = "\\" ;<br />IDFile idFile;<br />idFile.SetFileName(tempfilename);<br />IDataBase* db = documentUIDRef.GetDataBase();<br />InterfacePtr<IDocument> document(documentUIDRef, UseDefaultIID());<br />          ASSERT(document);<br />          if(!document) {<br />               break;<br />          }<br />        InterfacePtr<IXMLReferenceData> xmlReferenceData(document, UseDefaultIID());<br />          ASSERT(xmlReferenceData);<br />          if(!xmlReferenceData) {<br />               break;<br />          }<br />          XMLReference xmlRef = xmlReferenceData->GetReference();<br /><br />     <br />        InterfacePtr<IIDXMLElement> element(xmlRef.Instantiate());<br />          ASSERT(element);<br />          if(!element) {<br />               break;<br />          }<br /><br />        <br />      InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());<br />          ASSERT(serviceRegistry);<br />          InterfacePtr<IK2ServiceProvider> xmlParserServiceProvider<br />               (serviceRegistry->QueryServiceProviderByClassID(kXMLParserService, <br />                         kXMLParserServiceBoss));<br />          ASSERT(xmlParserServiceProvider);<br />          if(!xmlParserServiceProvider) {<br />               break;<br />          }<br />          InterfacePtr<IXMLAccess> access(xmlParserServiceProvider, UseDefaultIID());<br />          ASSERT(access);<br />          if(!access) {<br />               break;<br />          }<br />        // -precondition<br />         <br />         InterfacePtr<ICommand> importCmd(CmdUtils::CreateCommand(kImportXMLFileCmdBoss));<br />         ASSERT(importCmd);<br />         InterfacePtr<IImportXMLData> importXMLData(CreateObject2<IImportXMLData>(kImportXMLDataBoss));<br />         ASSERT(importXMLData);<br />         if(!importXMLData) {<br />             break;<br />         }<br />         importXMLData->Set(db, idFile,kInvalidXMLReference, kSuppressUI);<br />         InterfacePtr<IXMLImportOptions> docXMLOptions( document->GetDocWorkSpace(), UseDefaultIID() );<br />         ASSERT(docXMLOptions);<br />         if(!docXMLOptions) {<br />             break;<br />         }<br />         InterfacePtr<IXMLImportOptions> importXMLOptions(importXMLData, UseDefaultIID());<br />         ASSERT(importXMLOptions);<br />         if(!importXMLOptions) {<br />             break;<br />         }<br />         importXMLOptions->Copy(docXMLOptions);<br /> <br />         InterfacePtr<IPMUnknownData> pmUnknownData(importCmd, UseDefaultIID());<br />         ASSERT(pmUnknownData);<br />         if(!pmUnknownData) {<br />             break;<br />         }<br />         pmUnknownData->SetPMUnknown(importXMLData);<br /> <br />         CmdUtils::ProcessCommand(importCmd);<br />---------------------------------------------------------------------           <br />But it showing the following 2 errors...<br /><br />error C2065: 'snpRunContext' : undeclared identifier<br />error C2227: left of '->GetActiveContext' must point to class/struct/union  type is ''unknown-type''<br /><br />Then i tried to declare snpRunContext like this...<br />InterfacePtr<ISnpRunnableContext>snpRunContext(parentUIDRef,UseDefaultIID());<br /><br />its sucessfully compiled... But the output is not coming...<br />Its showing unhandled exception in the line<br />IActiveContext* activeContext = snpRunContext->GetActiveContext();<br /><br />So, what shal i do for declaring snpRunContext... <br /><br />plz give me an idea...<br /><br />thanks.<br />senthil.

  • How to load a comma seprated text file which contain address in to sql server table using ssis package

    Hi,
    I want to load a file which is comma separated and contain address .Problem is that address its self comma seprated so how do I differenciate whether comma used for column seprator or it used in address.
    for eg.
    One person having address like
    "c/o AB corp,156 cross lane,USA"
    Thanks.....

    Hi SR_MCTS,
    Based on your description, you want to distinguish a comma is used for column separator or used in address column in a text file, then load the data from the text file to SQL Server table.
    As per my understanding, if you can replace the comma column separator to another delimiter like semicolon (;), just do it. Then we can select Semicolon {;} as Column delimiter for the Flat File Connection Manager. Or ensure all columns are enclosed in double
    quotes ("). Then we can set the double quotes (") as Text qualifier for the Flat File Connection Manager, and the commas will be loaded as part of the string fields.
    If you can't have that done, because computers don't know the context of the data, you would have to come up with some kind of rules that decides when a comma represents a delimiter, and when it is just part of the text. I think a custom script component
    would be necessary to pre-process the data, identify where a comma is part of an address, and then treat that as one field.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Problem typing in Pages for iPad

    Since the latest update for Pages, I have not been able to type. It comes out as gibberish. Letters get missed, and auto-correct does not seem to work very well. Typing is still perfect in all other apps. This is just happening in Pages. Has anyone e

  • For Loop in Struts ?(without Collections)

    Hi all, Pls tell me how can v use FOR LOOP IN JSP STRUTS without using scriplets and collections . suppose i want to display 20 times "hello world "in jsp .How can i display it using STRUTS as conventionally scriplets are not allowed in it. and Itera

  • Apache + php + mysql

    Hello I´m an web designer and need those programas all offline time. It would be so nice have it on my Ipad. I search how to install those programs without jailbreak. Do i really need to use jailbreak to install that? I really don´t want to. Any one

  • Crawl KM repository without TREX

    I want to build a plug in that will crawl the KM repository without using TREX. How do I connect to the KM repository from my external application .Can this plug in be installed on a different server.

  • HT1338 I cant upload photos to send as email i keep geeting the spinning beach ball that freezes

    I cant upload photos to send as email i keep geeting the spinning beach ball that freezes the whole system can anybody tel me how to get ovet this problem please (explain for a dummy please)