Help required for slicing and merging file

Hi,
I am working on p2p downloading application based on Gnutella. Right now i am trying to implement downlaoding one file from many hosts at a time(like limewire does). i am able to connect to multiple host. but dont know how to downlaod and merge file for his purpose.
i know how to download one file from single host. but dont know how to handle file coming from multiple hosts.
if anyone having knowledge, please tell as soon as possble.

Hi.
thanks for the reply. Actually i had something same
in my mind. but unfortunately i am quite week in
serializtion and file stuff. If you could provide me
with code snipet for this, or can just simulate in a
fewer lines of code, it would be a great help for
me...i have too much short time...
i think i really have to study this file
stuff..........You shouldn't use serialization. Just invent a protocol, and "normal" binary data.
Kaj

Similar Messages

  • Seeburger help required for 810 and Dispatch Advice (IDOC type DESADV).

    Hi All,
    1. Please let me know blogs which clearly shows settings for Seeburger components for 850 (Purchase Order) to IDOC Scenario
    --- Seeburger Workbench
    --- Seeburger Mapping Designer (BIC)
    --- Seeburger Counter and Varaibles
    --- Seeburger AS2 Spoke
    --- Any other Seeburger Component setting required
    I have understand blog for 850 -- /people/rajeshkumar.pasupula/blog/2009/08/05/wanna-implement-seeburger-for-edi-find-the-booster
    2. Anybody has blog for 810 or Dispatch Advice (IDOC type DESADV).
    3. Can anybody provide me Mapping Logic (at field level) done in XI/PI for 850, 810 , Dispatch Advice (IDOC type DESADV) .
    Regards

    Hi Rickkk,
    1. Please let me know blogs which clearly shows settings for Seeburger components for 850 (Purchase Order) to IDOC Scenario
    --- Seeburger Workbench
    --- Seeburger Mapping Designer (BIC)
    --- Seeburger Counter and Varaibles
    --- Seeburger AS2 Spoke
    --- Any other Seeburger Component setting required
    For SEEBURGER workbench please go through this blog and navigate the enbebbed links furthur to know about Seeburger workbench too.
    /people/prateek.srivastava3/blog/2009/08/01/seeburger--part-1--the-basics
    2
    2. Anybody has blog for 810 or Dispatch Advice (IDOC type DESADV).
    For 810 i think the procedure would be the same but themseeburger mapping program that validates the ANSX 810 would be different.As far as 997is concerned 997 is a functional acknowledgement.Its a genric format that is used to send acknowledgement for any EDI transaction set that has been sent.
    3. Can anybody provide me Mapping Logic (at field level) done in XI/PI for 850, 810 , Dispatch Advice (IDOC type DESADV) .
      The logic will be based on the trading partner guidelines which will contain the description of all the semantic and syntactiic description about the segments ,its feilds.we need to consider the guidelines and target side specifications too while mapping.
    Thanks,
    Ram.

  • Help required for sample and Hold

    Hello,
    I am working on a project Cerebral Oxygenation Monitoring. The concept is similar to pulse oximetry. I help already developed the hardware that includes the timing circuit , led driver for driving Red and IR Led, Amplifier and Filter Stage. I am getting the pulse signal but it is multiplexed signal corresponding to effect of both Red/IR Led. Now to separate it I need to use sample and hold circuit, whihc I can achieve with and IC LF398 but I want to minimise this part and directly take this multiplexed signal through DAQ Card in to LabVIEW and further create sample and hold in LabVIEW.
    The sampling needs to be in synchronus with the Timing signal given to Red and IR. How I can achieve this in LabVIEW.
    For eg: the Red Led is triggered with a pulse of 1 ms with a repeatation rate after 10 ms. So this timing pulse should trigger the sampling part.
    Please Help.

    CoastalMaineBird wrote:
    Not sure what you need the HOLD part for.
    Correct me if I'm wrong:
    You have a 1 mSec pulse, every 10 mSec.
    Each pulse triggers two LEDs:  RED and IR
    You have a single signal which contains the processed (through the body, or whatever) responses to BOTH of those signals.
    So, how does a S&H, hardware or otherwise, separate the two responses?
    Is one delayed in time, relative to the other?
    YES you are right, 1 mSec pulse, every 10 mSec. 
    Above figure shows the trigger pulses generated using standard hardware. One triggers IR and other triggers RED. In above case  I had kept repetation rate 4msec
    This is the signal which I may get
    Now how do I separate both of these signals in LabVIEW

  • Help Required For DropDownByIndex and Table

    Hi All,
       Could anybody help me to solve my problem?
       Actualy I am working with one DropDownByIndex and two
       Tables.Where within one viewset DropDown
       box and one Table(say Table1) are in one view and 
       another one table(say Table2) is in other view.
       DropDown box is  maped with one attribute suppose
       countryName and and Table1 is maped with collageName
       and locationName. So, when I will select the DropDown
       with one countryName then the table1 will show all the
       available collageName and locationName with multiple
       row.
       In other view I mean the Table2 is bind with
       availableCourse and courseDuration this two
       attributes. So whin I will click one row of Table1
       that means one collegeName is selected then the
       Table2 will show the availableCourse and
       courseDuration for that particular college. When I
       will select next row of Table1 then the value of
       Table2 will be different.
       Could anybody help me by sending the code and
       details?
       With Thanks and Regards
       Sudip

    One way is to get lead selected of drop down index , then get lead selected of table1 and pass it via a method to wdDoInit in the 3rd view so that you know what has been clicked in table1 and then accordingly get the data in table2.
    Another way you can do this is to map the tables and drop down index to value nodes and create them in the component controller and then map these value nodes to the respective views. Now when your table2 view is triggered you get the lead selected in the value node of the table1 and accordingly generate the table2.

  • SCOM license required for monitoring a NetApp filer?

    Is a SCOM ML required for monitoring a NetApp filer?  I am considering the NetApp onCommand MP and wondering if additional SCOM licenses are required.

    Hi,
    Based on my research, there is no such licenses.
    For more information, please review the link below:
    System Center 2012 R2
    Licensing Datasheet
    As this is a licensing related query, please call 1-800-426-9400 (select option 4), Monday through Friday, 6:00 A.M. to 5:30 P.M. (PST) to speak directly to a Microsoft licensing
    specialist. You can also visit Microsoft Volume Licensing Site http://www.microsoft.com/licensing/ to find the contact information.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • Bridge does not show dimensions for .PDF and .AI files

    Is there any way to see the dimensions in cm (or inch) for PDF and AI files in Bridge? I'm using Bridge CS5 4.1.0.54 as part of CS5.5 Design Premium, have set the preferences in Bridge to show them, but there are no values in the metadata fields for dimensions in inch/cm. I don't know if this behaviour is normal or if there's something wrong with my installation...
    TIA,
    Matthias

    May be 'dimension' is not the right word/translation. In my german version it says 'Abmessungen (in Zoll)' or 'Abmessungen (in cm)', which should mean something like 'dimension' or 'size'. DIN A4, A5, US Letter, Legal etc. pp. in cm or inch.

  • HT2731 is iTunes Store account really required for downloading and installing free Apps?

    is iTunes Store account really required for downloading and installing free Apps?

    Yes. The apps you buy are registered in your account, so you can download them in all your devices

  • I keep getting a "missing plugin" for midi and mp3 files.

    I keep getting a "missing plugin" for midi and mp3 files I want to listen to online.  These are Hymn files.  And I get a message telling me I have a missing plugin. Any ideas?

    My husband used to be able to convert ABC files to MIDI files .  This allows sheet music to be played on the computer so as to learn a tune.  We get the Missing Plug in  message.
    I downloaded the Quicktime 7.   I open Quick time, Still get the message.  What is the solution? 
    If you need to look at an example, go to "The Session" website:
    http://thesession.org/tunes/2265
    Thank you,
    Mary

  • Help Document for Keyfigures and Characteristics

    Hello,
    Using BEx Browser I'm generating reports so i need to create help documents for Keyfigues and characteristics that way user will know by looking documentation they will know what is what
    How can we create help documentation?
    Experts help would be appreciated
    Thanks

    actually we are using BI7.0 version but we don't have portal and web that is the reason we are using old BEx browser for front end but ETL we are using BI7.0.
    so using old BEx browser can we create documentation for keyfigures or not?
    if so How?
    Thanks

  • Different PPV account required for GR and IR

    Hi Experts,
    I have an issue about the requirement that different PPV account required for GR and IR for the correcording Valuation class.
    Eg: when do the GR,the PPV account should be 3528***, but when do the IR, the PPV account should be 3522***.
    Any body can tell me how to fulfil this requirement? Thanks in advance!
    Regards
    Jimmy

    hi
    please clarify PPV
    gl accounts are maintained in OBYC ,better to aksur Fi person

  • "Tag Editor" for M4A and M4V Files?

    I got major corruption in my music files, resulting in either 2 extra letters being inserted in the file names just ahead of the period between the file name and the extension, or the entire filename being replaced by 4 random letters. Found some tag editors that will let me repair MP3 files, by pulling tag data out of the file and using it to fix the file names. Does something like that exist for m4a and m4v files?

    No, I'm not suggesting that at all, I was replying to another poster who said they couldn't add artwork to an mp4 at all.
    Your equipment likely has nothing to do with this, I have a dual 4 core 3 Ghz Xeon CPU and I too have a considerable wait sometimes adding artwork to some files.
    mp4 containers can hold either mpeg4/2 or mpeg4/10, (simple mpeg4 and AVC) and each compression type has a whole array of complexity types associated with it, much the same can be said for audio in the mp4 container.
    What I'm saying is that some mp4's will take time to add artwork, some will do it straight away and there are situations where some mp4's won't take artwork. It isn't your system, your hardware or anything you are doing wrong, it's the way it is.

  • Help required for file to Multi file Blog

    Hi,
    I'm working with following blog for file to multi file scenario...
    "/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    But in Configuration part, I'm unable to find ..TITLE_IDTYPE option for RB_SPLIT.. Screen, there is only two options are available one is Standard and another one is Extended ???!!!
    Note : we are using SP16
    So,  How can I go ahead to complete this scenario ??!!!
    Can anybody help me out to complete this file to mulfile scenario without BPM.
    Thanks.,
    Esha

    Hi Esha,
    the names seem to have changed since SP14 (the version of this blog entry).
    I did a multi-mapping with SP15 once, using "Extended".
    Kind regards,
    Dennis

  • Help required for importing a repository data file in the B2B console

    I am trying to import a repository data file with the delivery-channel element
    and attributes as below.
    <delivery-channel
    name="GM_DC"
    syncReplyMode="none"
    nonrepudiation-of-origin="false"
    nonrepudiation-of-receipt="false"
    secure-transport="true"
    confidentiality="false"
    routing-proxy="false"
    document-exchange-name="GM_DE"
    transport-name="GM"/>
    I have modified the WLC.dtd present in the lib\dtd subdirectory of the WebLogic
    Integration installation directory to add the syncReplyMode attribute.
    When i import the xml file,i get the following error
    com.bea.b2b.B2BException: ERROR: Invalid document, file 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\B2B_COV_Export.xml'.
         at com.bea.b2b.bulkloader.BulkLoader.processDataFile(Unknown Source)
         at com.bea.b2b.bulkloader.BulkLoader.processDataFile(Unknown Source)
         at com.bea.b2b.bulkloader.BulkLoader.load(Unknown Source)
    Please advise,
    Aruna

    Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it. 
    Alex D
    Applications Engineer
    National Instruments

  • Help required in using same excel file as both Input and Output source

    Hello Programmers, Here I am trying to read, modify and write an excel file using JAVA, I have successfully employed Jakarta POI and read the file but the problem is that I can''t make changes in the same file and save it.
    I can't use the same file for "FileInputStream" and "FileOutputStream" I think this is causing major hurdle. Any kind of suggestion and help is truly appreciated and welcome. Thank you for your time. Here I am posting my code its a bit crude please pardon.
    * @(#)attempt4.java
    * attempt4
    * @author
    * @version 1.00 2008/3/26
    import java.io.*;
    import java.util.*;
    import org.apache.poi.poifs.filesystem.*;
    import org.apache.poi.hssf.usermodel.*;
    public class attempt4 {
    public static void main(String[] args) {
    try{
    File xlFile = new File("C:\\Drifter\\Study\\Krishnan\\Test.xls");
    FileInputStream readFile = new FileInputStream(xlFile);
    POIFSFileSystem fileSys = new POIFSFileSystem(readFile);
    HSSFWorkbook xlSheetBook = new HSSFWorkbook(fileSys);
    for(int i = 0; i < xlSheetBook.getNumberOfSheets(); i++) {
    HSSFSheet sheetNow = xlSheetBook.getSheetAt(i);
    System.out.println("\n Now Opening Sheet Number" + (i+1));
    if(sheetNow.getPhysicalNumberOfRows() > 0) {
    int numOfRows = sheetNow.getLastRowNum();
    int numOfColumns = 0;
    for(int cols = 0; cols < numOfRows; cols++) {
    HSSFRow rowNow = sheetNow.getRow(cols);
    if(rowNow != null) {
    if(numOfColumns < sheetNow.getRow(cols).getLastCellNum()) {
    numOfColumns = sheetNow.getRow(cols).getLastCellNum();
    System.out.println("\n There are " + (numOfRows+1) + " Number of Rows");
    System.out.println("\n There are " + numOfColumns + " Number of Columns");
    for(int j = 0; j < numOfColumns; j++) {
    float colTotal = 0;
    int numOfNumericCells = 0;
    for(int k = 0; k < numOfRows; k++) {
    HSSFRow rowReading = sheetNow.getRow(k);
    if(rowReading != null) {
    HSSFCell cellReading = rowReading.getCell((short)j);
    if(cellReading != null) {
    if(cellReading.getCellType() == 0) {
    colTotal += cellReading.getNumericCellValue();
    numOfNumericCells ++;
    else if(cellReading.getCellType() != 0) {
    cellReading.setCellValue((double) 0.00);
    System.out.println(" \nSum of Column " + (j+1) + " is " + colTotal);
    System.out.println(" \nAverage of Column " + (j+1) + " is " + (colTotal/numOfNumericCells));
    readFile.close();
    catch(FileNotFoundException ex1) {
    ex1.printStackTrace();
    catch(IOException ex2) {
    ex2.printStackTrace();
    catch(NullPointerException ex3) {
    ex3.printStackTrace();
    The above code can successfully read the excel document and caliculates the sum and averages of the columns, can any one please help me in writing the same into the same file in additional rows. Thank you very much for your time.

    May be you can try to create a temporary copy of the file, do your update on it and then overwrite the original.
    Edited by: jgagarin on Jun 3, 2008 6:55 PM

Maybe you are looking for

  • Price should not be visible to other user's in sales order..

    hi friends ... my client requirement : price should not be visible to other user's in sales order level, it should be visible after invoice only ... eg : gurgoan user should not be able to see the sales order price of hyderabad user raised sales orde

  • PHP/MySql Error Message

    I've posted this before and didn't get the answer that I need, probably because I didn't post all of my codes. I am using PHP/MySql.  I created a website that has several forms.  When I process three of the forms, I get the error messages below: You

  • Determining if a request has timed out

    My code creates an NSMutableURLRequest, then uses a NSURLConnection to make a http request. I am combing the documentation but I cannot find how to determine if the request has timedout, i.e. I want to handle the timeout before the error is displayed

  • Incorrect decimal output

    Hi ALL, we recently had a requirement where the unit price needed to be change from 2 decimal to 4 decimal. we have defined a variable int he global defination with 4 decimal and printing the same in the form but the output i.e decimal places is prin

  • JAVA CODING STYLE - Best practice

    Hi all, In my current j2ee related project, i have being assigned to write a utility class assume (MyUtilityClass) which will have two methods..assume methodA() and methofB(). Being it an utility class, i heard it should be only static methods and co