Sending files to remote clients

I am trying to send some files to client computers. The "copy item status" window says it has "qued the task" but then nothing happens.
I have tried sending the file to different destinations, no difference.
Suggestions?
Intel imac   Mac OS X (10.4.7)   ARD v. 2.2

Several things can cause a task to que... Make sure that you are not actively controlling another system, there are no other tasks active, the item is not in use, and you don't have another system set as your task server. If none of these apply, try quitting ARD and relaunching it and give it another shot.

Similar Messages

  • Using FetchType.LAZY when sending entity to remote client

    Is it possible to use FetchType.LAZY when sending an entity (let's say Person) to a remote client? I'm fine with the fact that a call to person.getAddress() would have to return null o throw an exception of some sort. But, is it possible to even send the Person object when using lazy fetching?

    yeah, if you add the CMP jars to the client, it should work, but, if they attempt to introspect the lazy collection, a runtime exception will be thrown since their local copy does not have access to the backing DB... ..I understand the hesitance to have separate object types for different consumers, but, in some cases, it can save time in the long run because you a) avoid these access exceptions and b) have a middle API that can insulate the client or server from changes on the other end (i.e. the server now holds all 'tenants' as a Set, rather then List, but the VO objects still return it as a List so that client code does not need to be updated). You can also find tools to generate the value objects, so your development costs aren't too much hire during the initial release...

  • Sender File Adapter - remote FTP server program execution

    Hi all,
    I have a scenario
    X12 -> XI -> File
    where sender File adapter is used. The input file is X12 txt document which needs to be converted into X12 xml format. I have created astylus studio XSLT mapping which uses Convertor to convert this txt file to X12 XML.
    I don't know how to configure sender file adpater to run this mapping on the source file before picking it up. have created a windows batch file on the FTP server which runs tis XSLT mapping on the txt file and replaces it with X12 format xml. This batch file uses command line parameters of stylus studio to run XSLT mapping on input txt file and generates an xml.
    I am not sure how to run this mapping on the input file before processing starts in PI file adapater.
    I tried running command line parameters of Sender file adapter but that didn't worked.
    Please help.
    Thanks
    -Kulwant

    Hi, Kulwant:
    Looks like you would like to execute your mapping program before file adapter pick it up.
    Right ? for one interface, it seems out of the XI scope, however if this is your requirement, you can separate into two interfaces:
    The first interface is file to file scenario, it is used to execute your mapping program:
    The file sender just pick up the txt file, send to integration engine.
    Your Message Mapping program need to specify your XSLT mapping, after the mapping, the message is XML format,
    then you will use file receiver to send it to certain directory.
    Now the XML format file is your input of your second interface.
    Regards.
    Liang

  • Remote Client Copy failed

    Hi,
    I am doing remote client copy from (Development Server - ECD 140) to
    our (Sandbox System - E6S 150) and the client copy keeps failing. I get
    the below error message. Please advise what is the solution to this
    problem? I am also copying the log file of the remote client copy below
    Error Message:
    Change documents are not copied
    3 Tables cannot be converted
    Critical differences: Missing tables: 125
    Log file of remote client copy below
    Target Client
    150
    Source RFC Dest.:
    ECDCLNT140
    System Name:
    ECD
    Client in Source System
    140
    Copy Type
    Remote copy
    Profile
    SAP_ALL
    Status
    Cancelled. See Log
    User
    SAP*
    Start on
    08.05.2010 / 17:05:18
    Last Entry on
    08.05.2010 / 17:13:36
    Last Action:
    RFC DDIC System Comparison
    Statistics for this Run
    - No. of Tables
    0 of     56508
    - Copied Lines
    0
    Warnings and Errors
    Table Name
    Component
    Package
    /SAPTRX/EXT_AOT
    Table Def. Missing Locally
    /SAPTRX/EXT_EE
    Table Def. Missing Locally
    /SAPTRX/EXT_ETY
    Table Def. Missing Locally
    /SAPTRX/EXT_EVT
    Table Def. Missing Locally
    /SAPTRX/EXT_FLD
    Table Def. Missing Locally
    /SAPTRX/EXT_FLDS
    Table Def. Missing Locally
    /SAPTRX/EXT_FLDT
    Table Def. Missing Locally
    /SAPTRX/EXT_PAR
    Table Def. Missing Locally
    A850
    Table Def. Missing Locally
    A851
    Table Def. Missing Locally
    A852
    Table Def. Missing Locally
    A900
    Table Def. Missing Locally
    A901
    SD-MD-CM
    Different Field Names
    A902
    Table Def. Missing Locally
    A903
    Table Def. Missing Locally
    A904
    Table Def. Missing Locally
    A909
    Table Def. Missing Locally
    A910
    Table Def. Missing Locally
    A911
    Table Def. Missing Locally
    A912
    Table Def. Missing Locally
    A933
    Table Def. Missing Locally
    A935
    Table Def. Missing Locally
    A942
    Table Def. Missing Locally
    A943
    Table Def. Missing Locally
    A944
    Table Def. Missing Locally
    A945
    Table Def. Missing Locally
    A946
    Table Def. Missing Locally
    A947
    Table Def. Missing Locally
    A948
    Table Def. Missing Locally
    A949
    Table Def. Missing Locally
    A952
    Table Def. Missing Locally
    A953
    Table Def. Missing Locally
    A954
    Table Def. Missing Locally
    A955
    Table Def. Missing Locally
    A956
    Table Def. Missing Locally
    A957
    Table Def. Missing Locally
    A958
    Table Def. Missing Locally
    A961
    Table Def. Missing Locally
    A962
    Table Def. Missing Locally
    A963
    Table Def. Missing Locally
    A964
    Table Def. Missing Locally
    A965
    Table Def. Missing Locally
    A966
    Table Def. Missing Locally
    A967
    Table Def. Missing Locally
    A981
    Table Def. Missing Locally
    A982
    Table Def. Missing Locally
    A983
    Table Def. Missing Locally
    A984
    Table Def. Missing Locally
    A985
    Table Def. Missing Locally
    A986
    Table Def. Missing Locally
    A987
    Table Def. Missing Locally
    A999
    Table Def. Missing Locally
    AFRU
    PP-SFC-EXE-CON
    Field missing locally
    B901
    Table Def. Missing Locally
    B902
    Table Def. Missing Locally
    B903
    Table Def. Missing Locally
    B905
    Table Def. Missing Locally
    B906
    Table Def. Missing Locally
    B907
    Table Def. Missing Locally
    B950
    Table Def. Missing Locally
    B997
    Table Def. Missing Locally
    B998
    Table Def. Missing Locally
    B999
    Table Def. Missing Locally
    K9RECD1400004
    Table Def. Missing Locally
    KOTD601
    Table Def. Missing Locally
    KOTD602
    Table Def. Missing Locally
    KOTD603
    Table Def. Missing Locally
    KOTE901
    Table Def. Missing Locally
    KOTE902
    Table Def. Missing Locally
    LIKP
    LE-SHP
    Field missing locally
    S001BIW1
    LO-LIS-DC
    Table has convertible differen
    S001BIW2
    LO-LIS-DC
    Table has convertible differen
    Z864DATA
    Table Def. Missing Locally
    Z864DIRECT
    Table Def. Missing Locally
    Z864INVOICETYPES
    Table Def. Missing Locally
    Z864ORDERTYPES
    Table Def. Missing Locally
    Z864RATES
    Table Def. Missing Locally
    Z864YENADJUST
    Table Def. Missing Locally
    ZBJOB_EMAIL
    Table Def. Missing Locally
    ZCSTMATNRLBL
    Table Def. Missing Locally
    ZCUSTJULIAN
    Table Def. Missing Locally
    ZFEDEX_COUNTRY
    Table Def. Missing Locally
    ZFEDEX_INBOUND
    Table Def. Missing Locally
    ZFEDEX_OUTBOUND
    Table Def. Missing Locally
    ZFI_EXCG_CURR
    Table Def. Missing Locally
    ZGBASE
    Table Def. Missing Locally
    ZGPRICE
    Table Def. Missing Locally
    ZHIPVALUES
    Table Def. Missing Locally
    ZIDOCDSS
    Table Def. Missing Locally
    ZLABOR_TIME
    Table Def. Missing Locally
    ZMACH_TIME
    Table Def. Missing Locally
    ZMM_GIMS_MTART
    Table Def. Missing Locally
    ZMM_WM_MAP
    Table Def. Missing Locally
    ZNGK_WORKFLOW
    Table Def. Missing Locally
    ZPPCRT
    Table Def. Missing Locally
    ZPPERRORLOG
    Table Def. Missing Locally
    ZPPEXPIRE
    Table Def. Missing Locally
    ZPPJOBMAP
    Table Def. Missing Locally
    ZPPNUM
    Table Def. Missing Locally
    ZPPWRKMAP
    Table Def. Missing Locally
    ZPP_COMP
    Table Def. Missing Locally
    ZPP_EXT_SOP
    Table Def. Missing Locally
    ZPP_MV_IN
    Table Def. Missing Locally
    ZPP_MV_OUT
    Table Def. Missing Locally
    ZPP_OPID_HU
    Table Def. Missing Locally
    ZPP_SOP_PBCR1
    Table Def. Missing Locally
    ZPP_SOP_PBCR3
    Table Def. Missing Locally
    ZPP_SOP_PBCR5
    Table Def. Missing Locally
    ZQM_CUST_BATCH
    Table Def. Missing Locally
    ZSD_NAPA
    Table Def. Missing Locally
    ZSD_PRICE_BLOCK
    Table Def. Missing Locally
    ZSD_SHPCND
    Table Def. Missing Locally
    ZSHIPVALUES
    Table Def. Missing Locally
    ZTABMAINT
    Table Def. Missing Locally
    ZUPS_COUNTRY
    Table Def. Missing Locally
    ZUPS_FEDEX_LOG
    Table Def. Missing Locally
    ZUPS_INBOUND
    Table Def. Missing Locally
    ZUPS_OUTBOUND
    Table Def. Missing Locally
    ZWMPACK2LABEL
    Table Def. Missing Locally
    ZWM_CUST_HU
    Table Def. Missing Locally
    ZWM_HU_HDR
    Table Def. Missing Locally
    ZWM_HU_ITEM
    Table Def. Missing Locally
    ZWM_IB_GR
    Table Def. Missing Locally
    ZYA1
    Table Def. Missing Locally
    ZYA2
    Table Def. Missing Locally
    ZYA3
    Table Def. Missing Locally
    ZYA5
    Table Def. Missing Locally
    ZYADDER
    Table Def. Missing Locally
    ZYATYPES
    Table Def. Missing Locally
    ZYAVG
    Table Def. Missing Locally

    I ran the report "RSCLICHK" on the target client and below are the results. There are  some table differences. How do i syncronnize the tables so that i can successfully complete the remote client copy? Do i make the table changes on the source system or the target system? I was also told that the table changes will take days to complete. What is the most efficient way to syncronize the tables?
    AFRU     Field Missing Local     PP-SFC-EXE-CON     CORU     SAP     TRANSP          Order Confirmations     SAPK-603DDINSAPAPPL
    S001BIW1     Convertable     LO-LIS-DC     MCS     SAP     TRANSP          S001BIW1 * SIS: Customer Statistics     
    S001BIW2     Convertable     LO-LIS-DC     MCS     SAP     TRANSP          S001BIW2 * SIS: Customer statistics     
    A901     Fields Missing <->     SD-MD-CM     VKOK     VLOVELACE     TRANSP          Sales org./Distr. Chl/Division/Cust.group/PH2/Price grp/Pric     
    LIKP     Field Missing Local     LE-SHP     VL     SAP     TRANSP          SD Document: Delivery Header Data     SAPK-603DDINSAPAPPL
    /SAPTRX/EXT_AOT     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_EE     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_ETY     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_EVT     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_FLD     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_FLDS     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_FLDT     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    /SAPTRX/EXT_PAR     Table Missing Local     SCM-EM     /SAPTRX/ATIF          TRANSP               
    A850     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A851     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A852     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A900     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A902     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A903     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A904     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A909     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A910     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A911     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A912     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A933     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A935     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A942     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A943     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A944     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A945     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A946     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A947     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A948     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A949     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A952     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A953     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A954     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A955     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A956     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A957     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A958     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A961     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A962     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A963     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A964     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A965     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A966     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A967     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A981     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A982     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A983     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A984     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A985     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A986     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A987     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    A999     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B901     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B902     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B903     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B905     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B906     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B907     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B950     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B997     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B998     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    B999     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    K9RECD1400004     Table Missing Local     CO-PA     KEG0          TRANSP               
    KOTD601     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    KOTD602     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    KOTD603     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    KOTE901     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    KOTE902     Table Missing Local     SD-MD-CM     VKOK          TRANSP               
    Z864DATA     Table Missing Local          ZDEV          TRANSP               
    Z864DIRECT     Table Missing Local          ZDEV          TRANSP               
    Z864INVOICETYPES     Table Missing Local          ZDEV          TRANSP               
    Z864ORDERTYPES     Table Missing Local          ZDEV          TRANSP               
    Z864RATES     Table Missing Local          ZDEV          TRANSP               
    Z864YENADJUST     Table Missing Local          ZDEV          TRANSP               
    ZBJOB_EMAIL     Table Missing Local          ZDEV          TRANSP               
    ZCSTMATNRLBL     Table Missing Local          ZDEV          TRANSP               
    ZCUSTJULIAN     Table Missing Local          ZDEV          TRANSP               
    ZFEDEX_COUNTRY     Table Missing Local          ZDEV          TRANSP

  • What is about remote client copy?

    hi
    pls send me about remote client copy
    regards,
    jana

    Hi All,
        This is the web site that is built to help the consultant who is having problem in implimentation, support & while practice. But you are playing is this to gain point Both the reddy. from morning you ask the query & other on replays. this in not fair.
    Stop this things immediatly.
    pherasath

  • Sending file from server to client

    I am creating a server that stores application updates. When the client connects the server send the update. The server is sending the file but the file is not complete, i.e, if the file is 317kb,its send 117kb. Below is the code i am using
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class TestFileServer {
      public final static int SOCKET_PORT = 13267;
      public final static String FILE_TO_SEND = "/home/test/1234.exe"; //Does the extension matter?
      public static void main (String [] args ) throws IOException {
      FileInputStream fis = null;
      BufferedInputStream bis = null;
      OutputStream os = null;
      ServerSocket servsock = null;
      Socket sock = null;
      try {
      servsock = new ServerSocket(SOCKET_PORT);
      while (true) {
      System.out.println("Waiting...");
      try {
      sock = servsock.accept();
      System.out.println("Accepted connection : " + sock);
      // send file
      File myFile = new File (FILE_TO_SEND);
      byte [] mybytearray = new byte [(int)myFile.length()];
      fis = new FileInputStream(myFile);
      bis = new BufferedInputStream(fis);
      bis.read(mybytearray,0,mybytearray.length);
      os = sock.getOutputStream();
      System.out.println("Sending " + FILE_TO_SEND + "(" + mybytearray.length + " bytes)");
      os.write(mybytearray,0,mybytearray.length);
      os.flush();
      System.out.println("Done.");
      finally {
      if (bis != null) bis.close();
      if (os != null) os.close();
      if (sock!=null) sock.close();
      finally {
      if (servsock != null) servsock.close();
    What could the problem be?

    What could the problem be?
    The FIRST problem is that your code has NO exception handler and is just HIDING any exceptions that might be occuring.
    Why are you doing that?
    Code should either HANDLE an exception or let it bubble up to the caller.
    Add exception handling to the code and rerun it to see if any exceptions are occuring that could be affecting the outcome.
    The SECOND problem is that you are NOT showing the client side that is being used and any code that might be causing/handling/hiding exceptions on the client side.
    Post a simple test case that includes both server and client that demonstrates the problem you have.

  • Help: question on send XML file from java client to java server

    Hi, I am now to Java, and now I am going to set up a simple network in the lab.
    I have created a random array of data and transferred to XML file on my client. Now, I would like to send it to the server. I am wondering how I can put the XML file into my client, and do I need any parser to let the server show what random date it has received?
    Anybody can give me any idea or some basic code? Thank you.
    Now, I am referring the KnockKnock example in Java online tutorial. But, not clear how to deal with the XML File.
    Fengyuan

    There are several ways you can achieve this: one could be that you transfer data over HTTP, using Servlets for instance. Have a Servlet listening on the Server with content type 'text/xml', POST the XML data to the server and have the Servlet to receive the data and re-compose the XML file. This can be achieved with different libraries:
    1) JAXB --> this is good because is the JDK standard, also for web services
    2) Castor (http://www.castor.org/)

  • How to generate graphs from csv file and show on remote clients?

    Hi,
    I have set of csv files. Each file has 104 parameters. From these parameters different graphs have to be generated and displayed to remote clients thru tomcat.
    Can anyone tell me how to do that?
    cheers,
    its reeju

    it's very easy to load the CSV into java objects. Once you have done that why not use the Java2D API to draw your graphs and then use the Sun JPG encoder tools to write out a jpg stream back to the browser (you will need to set the content type for jpg).

  • Help send file with axis webservice to another langague client

    Please anyone know if i can send any file from any client (in any language) to my webservice (axis)?//
    sorry my english..
    tks

    Hi,
    From my experience, we can consider upload file to azure storage blob when click send button, after this process end, we send message and let other person to download this file form azure storage blob. Refer to
    http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/ for more details about upload/download files. Hope this helps.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I send a large Illustrator CS3 file to a client that needs it for printing?

    How do I send a large Illustrator CS3 file to a client that needs it for printing?

    Hey, another way that i just discovered by complete accident is by selecting what you want to send, and in Illustrator, going to File>Save For > and then click on okay. > then you save it under Pictures or wherever you wish, and name it. Now, all you have to do is compose an email, and attach it!
    Hopefully this works for you like it does for me!
    -Alex H

  • Send Files to Mac remotely

    The next time I go on vacation im going to use my camera to take raw image files and would like to send them back to my mac mini from a remote laptop (id like to use linux but could use windows I suppose lol).  Should I get OSX server (wait for mountain lion of course) or some other method?  I know I can just get more storage on dropbox but id rather not have to pay the monthly fee.
    Thanks

    Even if the term "to share" also addresses using belongings of other persons
    I think giving own belonging to others for use by them is mainly addressed by thas term,
    I mean as for the term "to share" its outbound sense comes before its inbound sense.
    Nevertheless if the term "to share" covers both giving as well as receiving the System Preferences,
    the Bluetooth section should cover these two. Otherwise the naming is misleading.
    Currently for sending files through BT to peers works even if the BT sharing is disabled.

  • Sending an Image file to a client using UDP

    I wants to send an Image file from the client to the server using UDP. As UDP can only sends data of type byte, how can i convert the Image file to byte & send it. Here is the Client program:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.awt.*;
    public class Client {
    public static void main(String[] args) throws IOException {
    if (args.length != 1) {
    System.out.println("Usage: java Client <hostname>");
    return;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    br.close();
    // get a datagram socket
    DatagramSocket socket = new DatagramSocket();
    // send request
    byte[] buf = new byte[65500];
    buf = str1.getBytes();
    InetAddress address = InetAddress.getByName(args[0]);
    DatagramPacket packet = new DatagramPacket(buf, buf.length, address, 4445);
    socket.send(packet);
    // get response
    packet = new DatagramPacket(buf, buf.length);
    socket.receive(packet);
    // display response
    String received = new String(packet.getData());
    System.out.println("Received: " + received);
    socket.close();
    Thanx.

    DataInputStream inStream = new DataInputStream(new FileInputStream(filename));
    try {
    byte bindata = inStream.readByte();
    catch (EOFException eof) {
    }

  • Lion IChat cannot send files to other chat clients in Lion yet?

    So we have facetime and Ichat and none of them can send files to google talk or any other client?
    Everyone I know uses google talk
    If you'd like to make calls or transfer files through Google Talk, you need to:
    Enable UDP connections to anywhere on any port; or
    Enable TCP connections to anywhere on port 443.

    Hi Jordan,
    iChat sends Files on Port 5190. It does not matter whether this is with a Text chat or not (dragging the files to the Buddy's name).
    It uses the UDP protocol to do this. If you or your Buddy have used Port Triggering you are almost certainly going to have to speicfy protocols. Some device also do this on Port Forwarding.
    UPnP if you have it will get around this.
    With some devices that Port Forward and want you to specify Protocols you can have problems. In this case delete or disable any Port Forwarding for the TCP protocol on port 5190 and change the port in iChat > preferences > Accounts (AIM) > Server Setting tab (Near the top) to 443
    12:56 PM Wednesday; March 15, 2006

  • When client send file  connection with server close

    please help me.
    i want to transfer a file via server - client model.
    Client send the file, server receive it.
    Then when i send a msg from server to client i have this error:
    java.net.SocketException: socket closed
    why the socket closed?

    client waiting for response. i don't know what to do.
    the client code is:
    import java.net.*;
    import java.io.*;                              
    class Client{               
         Socket clientSocket;               
           byte[] byteArray;                    
           BufferedInputStream bis;          
            BufferedOutputStream bos;          
           int in;                                   
           BufferedReader inm = null;
            PrintWriter outm = null;
           public Client(){
             try{
                    clientSocket = new Socket("localhost", 9632);
                   System.out.println("i am client & connect");
                   inm = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
                   outm = new PrintWriter(clientSocket.getOutputStream(), true);
                   System.out.println("------1--------" +clientSocket.isClosed());
                      outm.println("msg 1: hi");
                      System.out.println("from server__ " +inm.readLine());
                      outm.println("msg 2: now i will send you a file");
                      System.out.println("from server__ " +inm.readLine());
                      sendFile();
                     System.out.println("-------2-------" +clientSocket.isClosed());
                      System.out.println("from server__ " +inm.readLine());
             catch(IOException e){
                    e.printStackTrace();
           public void sendFile(){
                try{
                     bis = new BufferedInputStream(new FileInputStream("encryptAtmMsg.txt"));
                    bos = new BufferedOutputStream(clientSocket.getOutputStream());
                    byteArray = new byte[8192];
                    while ((in = bis.read(byteArray)) != -1){
                       bos.write(byteArray,0,in);
                        bis.close();
                      bos.close();
               catch(IOException e){
                    e.printStackTrace();
           public static void main(String[] args){
             new Client();
    }And server code is:
    import java.net.*;
    import java.io.*;
    class Server{
         BufferedInputStream bis;
           BufferedOutputStream bos;
           byte[] data;
           Socket socket;
           ServerSocket serverSocket;
           int in;
            BufferedReader inm = null;
            PrintWriter outm = null;
           public Server(){
             try{
                    serverSocket = new ServerSocket(9632);
                    System.out.println("i am server & listening...");
                   socket = serverSocket.accept();
                     System.out.println("a client connect");
                   System.out.println("------1--------" +socket.isClosed());
                    inm = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                    outm = new PrintWriter(socket.getOutputStream(), true);
                   System.out.println("from client: " +inm.readLine());
                     outm.println("ack 1: hi....");
                     System.out.println("from client: " +inm.readLine());
                     outm.println("ack 2: ok....");
                    receiveFile();
                      System.out.println("------2--------" +socket.isClosed());
                   outm.println("ack 3: take the file");
             catch (IOException e){
                  e.printStackTrace();
         public void receiveFile(){
              try{
                  byte[] receivedData = new byte[8192];
                 bis = new BufferedInputStream(socket.getInputStream());
                   bos = new BufferedOutputStream(new FileOutputStream("encryptAtmMsg22.txt"));
                 while ((in = bis.read(receivedData)) != -1){
                       bos.write(receivedData,0,in);
                 bos.close();
             catch (IOException e){
                  e.printStackTrace();
         public static void main(String[] args){
             new Server();
    }any idea pls

  • Remote client

    I have to send the XML message along with JPG attachment to remote client.
    can we handle  jpg attachments through soap adapter?
    What type of attachments can we handle through SOAP?
    which is the better option in perforamance point  to handle this requirement SOAP or Mail?
    Thanks in advance
    kartikeya

    HI,
    You can send the image file as an attachment via SOAP adapter as well as with Mail adapter.
    Refer below links that will help you to design & configure the scenario.
    Sending an Image File Through Exchange Infrastructure in a File-to-Mail Scenario
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    SOAP with attachments
    SOAP with attachments
    SOAP
    Thanks
    swarup

Maybe you are looking for

  • Passing the data from a internal tabe to sapscript form

    Hi folks, I have an question, how to pass an each character value of a field into the sapscript form separately, I have an field value from an internal table in the print program say - itab-ssn = 123789345 and I need to pass each character separately

  • PDF not attaching to Outlook using Adobe Reader

    When clicking the Mail icon on the tool bar in adobe reader to attach the PDF to an email, adobe reader freezes and the document does not attach. It does work if Outlook 2013 is closed but if Outlook 2013 is open adobe reader just freezes for a minut

  • Using StyledEditorKit text actions

    Hi I'm trying to build a text editor using a JTextPane. I want to be able to provide a toolbar for things like font size, bold, underline, etc. Bold and Underline are no problem. There exist classes StyledEditorKit.BoldStyleAction Which I can create

  • Editable CD ROM presentation

    Hi I've been asked to create a CD ROM Presentation in Flash/Director which allows the user to select pages from the full version to re-package as a cut-down version that can be shown to target audiences. (They don't need to be able to edit text etc.

  • How to get First node in an XMLList as String.

    Hello I have this XMLList: <content>   <TextFlow  color="#000000" columnCount="2">   <p>One</p> </TextFlow>   </content> I need to get <textFlow> as an XMLList and as String.