Any socket programming sample program or API for transfer file?

Do there any java socket programming sample program or API for transfer file ,list file and make directory from client side?
Thank you

http://forum.java.sun.com/thread.jspa?threadID=603685&tstart=0

Similar Messages

  • Program Scheduler that will work for jar files or scripts

    I am  looking for a program scheduler that I can execute jar files or scripts that run jar files.  Need scheduler programs every 10min between 7:00am and 5:00pm.
    Anyone know a good tool for this? I would appreciate any help.

    iCal

  • Is there any Sun Java's official SVG API for Java SE?

    Hi, I'm still learning Java and SVG.
    Currently I want to build a kind of client-server application transferring SVG files.
    I'm using JSR 226 to parse SVG files in my Java ME client, but I dont know what API I should use to parse SVG files in my Java SE server.
    I want the server to read a large SVG image file and then parse it and divide it into some small linked SVG image parts before it can transferred to the client.
    Does Java SE have a standard API for SVG? Bcause I only found Batik..
    thnks in advance.

    Hello,
    I am using SVG Salamander... it is a nice small library.
    https://svgsalamander.dev.java.net/
    Jacco

  • Using Jakarta HttpClient API for HTTPS file upload

    Any code sample on how to upload a file via the Jakarta HttpClient API?
    I tried the PostMethod, not sure I used it right, got response msg from the server response code 301, which indicated the file had been permanently moved. What did that mean? Besides, I didn't see PutMethod have a way to specify the target uploaded file filename, it only take a File object.
    Tried the PutMethod as well, but the method I though I can use was "depreciated".
    Any idea?
    jml

    I did. The sample code use the PutMethod and specify the file object. But when I use the similar code, I got 301, which means "File permanently moved". Not sure what that mean.
    jml

  • APIs for XML file creation

    hi,
    can anyone tell me whether there is any Java APIs for creating XML file( similar to the one used for parsing).
    thx in advance,
    -Soni.

    Hi,
    you can try the org.apache.xml.serialize.XMLSerializer which is included in the Apache Xerces Package (http://xml.apache.org/xerces). This Class allows you to serialize a org.w3c.dom.Document to a OutputStream which can be a FileOutputStream.
    Check out this code:
    OutputFormat format = new OutputFormat();
    format.setDoctype("mapping","mapping.dtd");
    format.setEncoding("ISO-8859-1");
    format.setLineWidth(100);
    XMLSerializer ser = new XMLSerializer(new FileOutputStream(f),format);
    ser.serialize(doc);
    Rgds,
    Sebastian

  • Essbase: Api for Rules File

    Hi all,Is there any Api available (In Java, C or VB) to find out the SQL that was given as the data source input to a Data Load Rules File.I want know any workaround available to obtain the SQL from Rules file.Any help will be greatly appreciated.Thanks.

    There do not believe there is any published API for reading rules files (including the Java API, C API and VB APIs).Tim TowApplied OLAP, Inc

  • Oracle IBR : API for converting files in PDF

    IBR and WCC Version : 11.1.1.6.0
    Currently We have configured IBR with UCM for converting documents to PDF format. Is there ant IBR API available so that without checking in the document in WCC , we can call the IBR API and get the document converted to PDF and it would be done through synchronous call.
    thanks in advance.
    Yogesh
    Edited by: user10285200 on Mar 28, 2013 12:18 AM

    Hi Yogesh ,
    Without having the content in WCC server you can convert it to PDF using the OIT Modules which is the actual engine that does the processing in WCC as well . For doing this you will need to have the PDFExport module deployed on your client machine and then with that conversion can be done .
    This is the link for OIT PDF Export module : http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html
    Infact all the modules of content processing / conversion can be done as an independent stand alone application using OIT . Each of those modules are available from the above link.
    Hope this helps .
    Thanks,
    Srinath

  • Java API for SCA File reading

    Hi all,
    I would like to read the content of SCA files with a java api.
    Is there a way to do so?
    Thanks
    Thomas

    FYI - got a response from official SUN support that Sun PKCS#11 is the only available JCA provider for SCA-6000 board.

  • Open Source API for Flat Files?

    I did some searches on SourceForge for a flat-file serializer and deserializer. I know flat files are simple, but I did want to find something that allowed schema-like validations to be declared and enforced. The projects I saw were either abandoned or too simple. Does anyone know of a good open source flat file API? Thanks!
    - Saish

    Ok. That one is nice, especially in terms of defining header and trailer records. I also found this one http://sourceforge.net/projects/flatworm/ which allows for multi-line flat-files, which is also nice.
    The problem is both only deal with parsing. Granted, writing a serializer even via reflection would not be all that tough. But a few Dukes for you!
    - Saish

  • Need Java api for .class file comparison....

    Hi all,
    In .net one CecilAssemblyAnalyzer api is der it analyze the two version of .net applic in offline mode (pick .exe and .dll files)
    n forms tree structure and den copares both tree n get the changed function..
    i need same type api in Java...
    Thanks in advance..
    Regards,
    Sachith

    <blockquote>quote:<br><hr><i>Originally posted by: <b>sunny_rush</b></i><BR>com_beacon_essbase_jni_EssApiJni.c:15:20: essotl.h: No such file or directory<BR><hr></blockquote><BR><BR>That package does not appear to be from Hyperion but rather from a third party. Based on the name, it may have come from Beacon Analytics which is now part of Answerthink. Did you have consulting from them in the past?<BR><BR>Tim<BR><BR><BR>

  • What are BAPI /API for Installed Base in CRM ??

    Hi Experts
    Can any body give list of BAPI /API for IBASE Processing...??
    Thanks,
    AK

    IB_CRM_ADD
    CRM_IBASE_CHECK_TYP
    IB_CRM_API
    CRM_IBASE_ADDRESS_SEARCH
    CRM_IBASE_CHANGE
    CRM_IBASE_COMP_ADDRESS_SEARCH
    CRM_IBASE_COMP_CHANGE
    CRM_IBASE_COMP_CHANGE_TYPE2
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_COMP_DELETE
    CRM_IBASE_COMP_FIND
    CRM_IBASE_COMP_FIND_MULTI
    CRM_IBASE_COMP_FIND_MULTI_R
    CRM_IBASE_COMP_GET_ADDRESS
    CRM_IBASE_COMP_GET_DETAIL
    CRM_IBASE_COMP_GET_FATHER
    CRM_IBASE_COMP_GET_HIERARCHY
    CRM_IBASE_COMP_GET_PARTNER
    CRM_IBASE_COMP_GOTO_DETAIL
    CRM_IBASE_COMP_GOTO_PARTNER
    CRM_IBASE_COMP_IMPORT_DETAIL
    CRM_IBASE_COMP_IMPORT_SUBSCR
    CRM_IBASE_COMP_INDOBJ_SEARCH
    CRM_IBASE_COMP_INDOBJ_SEARCH_R
    CRM_IBASE_COMP_MOVE
    CRM_IBASE_COMP_PARTNER_SEARCH
    CRM_IBASE_COMP_PARTNER_SEARCHR
    CRM_IBASE_COMP_TABLEINFO
    CRM_IBASE_COMP_TRANSL_PARAM
    CRM_IBASE_COPY
    CRM_IBASE_CREATE
    CRM_IBASE_DEQUEUE
    CRM_IBASE_DRILL_DOWN_FOR_COMP
    CRM_IBASE_ENQUEUE
    CRM_IBASE_FIND
    CRM_IBASE_FIND_MULTI
    CRM_IBASE_FREE
    CRM_IBASE_GET_ADDRESS
    CRM_IBASE_GET_ALL
    CRM_IBASE_GET_CHANGE_STATUS
    CRM_IBASE_GET_DETAIL
    CRM_IBASE_GET_HANDLE
    CRM_IBASE_GET_PARTNER
    CRM_IBASE_GOTO_DETAIL
    CRM_IBASE_GOTO_PARTNER
    CRM_IBASE_INITIALIZE
    CRM_IBASE_PARTNER_SEARCH
    CRM_IBASE_PARTNER_SEARCH_RANGE
    CRM_IBASE_SAVE
    CRM_IBASE_SET_HANDLE
    CRM_IBASE_TABLEINFO
    CRM_IBASE_TRANSL_PARAM
    IB_BAPI_IBASE
    BAPI_IBASE_CREATE
    BAPI_IBASE_GET_DETAIL
    BAPI_IBASE_SAVE
    IB_BAPI_COMP
    BAPI_IBASE_COMP_CREATE
    BAPI_IBASE_COMP_GET_DETAIL
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    *--- Fetch Ibase Handle
        IF ib_handle IS INITIAL.
          CALL FUNCTION 'IB_COM_NEW'
               IMPORTING
                    e_ibco_handle = l_handle.
          ib_handle = l_handle.
        ENDIF.
    <b>Pl. Do reward the points</b>
    Regards,
    Arjun

  • 11.2.0.3 grid installation fails while selecting OCFS2 for ocr files

    We are installing 11GR2 (11.2.0.3) cluster on a 64 bit system. we have OCFS2 filesystem for shared devices. version 1.6.3.
    While selecting ocr file locations , we get the following error
    [INS-41321] Invalid oracle cluster register [OCR] Location
    Cause- The installer detects that the storage type of location is not supported for Oracle Cluster registery
    Action - Provide a supported storage location for the Oracle Cluster Registry
    Additional information
    /crp2db01/OCR/ocr_1 is not shared
    However , this mountpoint is shared across both the nodes.
    Note: 11201 grid installation was successful and it accepted the above locations for OCR. however ,we need 11.2.0.3 cluster for 11.2.0.3 database

    As for your current problem, just because Oracle "allows" OCFS2 in a GRID environment, I would never suggest nor implement that. It adds a layer of complexity that is totally unnecessary when a GRID/ASM implementation performs circles around OCFS2. ASM is much easier to manage, maintain, expand and shrink than OCFS2. Especially at version 11.2.0.3. When working at a large telco a few years ago, we had a 300TB+ ASM environment. OCFS2 could not even begin to be that big. ASM will provide you a MUCH more stable environment than OCFS2. And with ASM there is a lot of "magic" that happens with OCR/Voting that makes your life MUCH easier. If you "require" shared application files, then use ASM/ACFS. It is a much better "volume manager" than OCFS2.
    Since you must present devices to the system for OCFS2, you should not have any problems doing the same for ASM. (and don't use ASMLib as it is going away and is not necessary - just make sure you use a partition that skips the first 1M (usually cylinder 1) and you should be good to go!)
    I also would not use a "shared ORACLE_HOME" on either ACFS or OCFS2. The biggest reason is that you lose the ability to do a "rolling" upgrade and when you have a VLC, that becomes much more important that saving a few GB worth of storage.
    I would also pay attention to this:
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDEDAHGB
    3.1.4.2 General Storage Considerations for Oracle RAC
    Use the following guidelines when choosing the storage options to use for each file type:
    You can choose any combination of the supported storage options for each file type provided that you satisfy all requirements listed for the chosen storage options.
    If you plan to install an Oracle RAC home on a shared OCFS2 location, then you must upgrade OCFS2 to at least version 1.4.1, which supports shared writable mmaps.
    Oracle recommends that you choose Oracle ASM as the storage option for database and recovery files.
    For Standard Edition Oracle RAC installations, Oracle ASM is the only supported storage option for database or recovery files.

  • Project setting for MOD files

    Does any one know the best project settings for MOD files?

    They have to be converted. Probably best with MPEG Streamclip.

  • Do you have any sample program for HRPIQ00AUTHORITY Badi [ urgent]

    do you have any sample program for HRPIQ00AUTHORITY Badi and would be appreciated if you have over t me.
    regards,
    jin dal

    Thanks for the help.

  • Can any one please send me sample programs using java mapping..

    <b>Can any one please send me sample programs using java mapping with input and output?</b>
    please let me know how to get started with java mapping?
    Prerequisites for java mapping ?
    What are the jars need to be deployed for SAX,DOM.  And how to do it in NWDS?
    Use of Execute() and setparameter() ... StreamTransformation?
    Some sample program using java mapping with simple logic(input and output)?

    Hi,
    Did you go thro these blogs?
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    Nice blogs to start Java Mapping.
    Go thro this one too.
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Regards,
    P.Venkat
    Message was edited by:
            Venkataramanan

Maybe you are looking for

  • Unable to load DLL after Impersonating (0x80070542)

    I have an application that prompts a user for credentials and impersonates the user before taking some action on that user's behalf.  However, when I try to call some framework methods that require .NET to load a native DLL, the call fails with the f

  • Hiding the Key column in EVS

    Hello, Can anyone please let me know if there is a way to suppress the Key column in the ExtendedValueSelector ui that appears for IModifiableSimpleType ? Thanks and Best Regards, Ritu

  • Connecting Two Monitors VIA USB

    I was wondering if there are any setups for connecting two external DVI monitors VIA USB to my Macbook Pro late 2011. OS X Mavericks 10.9.5

  • Dynamic actions in sequence

    Hi all,         I have 5 dynamic actions in a page.             I want to know whether there is any way to execute these dynamic actions in order ( i.e when the 1'st action is completed then only the 2'nd and 3'rd should be processed).. waiting for u

  • Fatal Exception occurred when trying to execute a JAR file

    Hi, I have compiled my project in a jar file with the purpose of having an 'almost' executable file that would run with a simple double click. When running this file from the netbeans directory, it works fine, but if I move this jar file to, say, my