Incoming file transfer canceled

Hi,
When somebody is trying  to send me a picture or voice note using bbm,  I am geeting a message that said "incoming file transfer canceled. Your built in media storage and media card are full". I have 23.9 MB free memory and 5.1GB in the media card.
My blackbery is 8520 v5.0.0.900 Bundle 1626
BBM is 6.1.0.71
Could somebody help me?
Thanks in advance,
Pablo

Never mind, is working now, I delete several pics and now is receiving with no problem. Apparently the bbm has a limit in the storage.

Similar Messages

  • Incoming file transfer cancelled. Your built-in media storage and media card are full

    There is a knowlege base KB29417 descussing the error, and it says that we have to upgrade to BBM 6.1.0.37. The problem is I have 6.1.0.49 and cannot downgrade to that version.

    Try transferring your files thru FTP, maybe be mediahub is having a problem when using Windows File Transfer. You could also try a reboot of the mediahub and use the teracopy utility for transferring large files.
    Cheers.

  • Incoming file transfer problem

    Whenever I accept a file transfer from a friend, iChat freezes up and the rainbow wheel shows up. After a few seconds, my whole computer becomes agonizingly slow. Just switching between apps or waiting for the dock to appear can take around 5 seconds. I have to force quit iChat and wait for my computer to calm down a bit before opening iChat back up. After I re-open it, I'm able to accept the file transfer immediately without trouble. However if I accept a file transfer later on, the same problem occurs.
    I've looked around, but haven't been able to find any information about this problem. Help is much appreciated.

    In iChat > Preferences > Accounts > Server Settings what port is iChat logging on to the AIm servers with ?
    If it is port 5190 log out of AIM and try port 443
    9:28 PM Sunday; May 11, 2008

  • Re AD002357145UK I have just subscribed to Adobe Send. I am sure that v revently I used Adobe Send Now for free. Is that still possible (which means I could cancel AdobeSendNow subscription) or do I have to subscribe to Adobe Send to carry out file transf

    Re AD002357145UK I have just subscribed to Adobe Send. I am sure that v revently I used Adobe Send Now for free. Is that still possible (which means I could cancel AdobeSendNow subscription) or do I have to subscribe to Adobe Send to carry out file transfer. Incidentally I have Adobe Creative Suite. Thanks. Nadim Othman

    [topic moved to Adobe Send forum]

  • "Windows - No Disk" error message on file transfer

    Hello!
    I updated our ZDM7 server from plain old ZDM7 with no updates to ZDM7 SP1
    IR1. Now, when initiating File Transfer operation with any workstation, up
    comes this error message:
    "Windows - No Disk"
    "Exception Processing Message c0000013 Parameters 75b6bf9c 4 75b6bf9c 75b6bf9c"
    [Cancel] [Try Again] [Continue]
    If I click "Continue" 4 times, file transfer starts up successfully.
    Any ideas about how to get rid of this annoying message?
    Toomas Aas

    Toomas,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • UCMA 4 and back to backing a file transfer request

    OK, I know that file transfer isn't technically supported on UCMA 4.0, but I wanted to take another look at it and see whether there was a way to b2b a file transfer request. After all, there's no reason that it shouldn't work if the messaging is correct,
    right? The scenario I have is A <-b2b-> app <-b2b->B.  I have an IM conversation going on between A and B, so now I'm trying to set it up so that A can send a file to B. 
    So far I've extended the platform to accept file transfer requests by creating my own call and factory classes, and then registering them using RegisterPlatformExtension.  This means that when A sends a file, the INVITE gets delivered to my application. 
    Now I'm taking that INVITE and creating a new b2b call.  A file transfer request looks something like this:
    TL_INFO(TF_PROTOCOL) [0]16A8.4B28::02/10/2015-19:53:05.007.001d492f (SIPStack,SIPAdminLog::ProtocolRecord::Flush:ProtocolRecord.cpp(265))[3939761282] $$begin_record
    Trace-Correlation-Id: 3939761282
    Instance-Id: FDB3
    Direction: incoming
    Peer: 10.0.154.20:49282
    Message-Type: request
    Start-Line: INVITE sip:[email protected] SIP/2.0
    From: <sip:[email protected]>;tag=eafd3e699d;epid=ccd5657cac
    To: <sip:[email protected]>
    Call-ID: 0acf0330423241258576d7c5cc42aa01
    CSeq: 1 INVITE
    Contact: <sip:[email protected];opaque=user:epid:d2lIs-103l2YSpDwCSajtAAA;gruu>
    Via: SIP/2.0/TLS 10.0.154.20:49282
    Max-Forwards: 70
    Content-Length: 1920
    Content-Type: multipart/mixed;boundary="----=_NextPart_000_0026_01D04541.4641C2D0"
    Message-Body:
    ------=_NextPart_000_0026_01D04541.4641C2D0
    Content-Type: application/sdp
    Content-Transfer-Encoding: 7bit
    Content-ID: <[email protected]>
    Content-Dis; handling=optional; ms-proxy-2007fallback
    v=0
    o=- 0 0 IN IP4 192.168.200.71
    s=session
    c=IN IP4 192.168.200.71
    b=CT:99980
    t=0 0
    m=data 21300 TCP/RTP/SAVP 127
    a=ice-ufrag:lYAu
    a=ice-pwd:y0gkW4r9zGSW6E2VdtMprlEh
    a=candidate:1 1 TCP-PASS 2120613887 192.168.200.71 10856 typ host
    a=candidate:1 2 TCP-PASS 2120613374 192.168.200.71 10856 typ host
    a=candidate:2 1 TCP-ACT 2121006591 192.168.200.71 21300 typ host
    a=candidate:2 2 TCP-ACT 2121006078 192.168.200.71 21300 typ host
    a=candidate:3 1 TCP-PASS 2120612863 10.0.154.20 31624 typ host
    a=candidate:3 2 TCP-PASS 2120612350 10.0.154.20 31624 typ host
    a=candidate:4 1 TCP-ACT 2121005567 10.0.154.20 3921 typ host
    a=candidate:4 2 TCP-ACT 2121005054 10.0.154.20 3921 typ host
    a=cryptoscale:1 client AES_CM_128_HMAC_SHA1_80 inline:4CZbzYM/GYDbygj8JwMTodKo85C4Xx7TMzeMIuBU|2^31|1:1
    a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:Ohlo65gDsUvxCF39A382Rl4vGL+SG9R/lUEYU/br|2^31|1:1
    a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:EZ7Zm3K0H/WW5K49LAk9/C0T8x8nhkumJOycSek7|2^31
    a=setup:active
    a=connection:new
    a=rtcp:21300
    a=mid:1
    a=sendonly
    a=rtpmap:127 x-data/90000
    ------=_NextPart_000_0026_01D04541.4641C2D0
    Content-Type: application/ms-filetransfer+xml
    Content-Transfer-Encoding: quoted-printable
    Content-ID: <[email protected]>
    Content-Dis; handling=optional
    <request xmlns=3D"http://schemas.microsoft.com/rtc/2009/05/filetransfer" =
    requestId=3D"13">
    <publishFile>
    <fileInfo embedded=3D"true">
    <id>{67190A30-C59F-480D-96DD-5F3941C39C49}</id>
    <name>dbchange.log</name>
    <size>3609</size>
    </fileInfo>
    </publishFile>
    </request>
    ------=_NextPart_000_0026_01D04541.4641C2D0--
    $$end_record
    I've got my b2bed invite looking almost identical to the original invite by creating a custom MIME type on the CallEstablishOptions for the back to back call using something like this:
    Regex r = new Regex(@"^((.|\n)*)(\<request)((.|\n)*)(request\>)((.|\n)*)$");
    Match m=r.Match(args.RequestData.GetMessageBodyString());
    content=string.Format("Content-Transfer-Encoding: quoted-printable\r\n{0}{1}{2}",m.Groups[3],m.Groups[4],m.Groups[6]);
    opt.CustomMimeParts.Add(new MimePartContentDescription(new ContentType("application/ms-filetransfer+xml"),System.Text.ASCIIEncoding.UTF8.GetBytes(content)));
    opt.CustomMimeParts[0].ContentDispositionHeader = new SignalingHeader("Content-Disposition", "render; handling=optional");
    So far the only differences I can see in my outbound message vs the original SDP are that the Content-Transfer-Encoding might not be seen as a header (since the SignalingHeaders property on the MimePartContentDescription is read only), and the Content-Transfer-Encoding
    on the first MIME part (created by the BackToBackCall) is missing (even though I specified it on the PassThroughHeaders).  Even with all of this though, I still get a 488 on client B when I attempt the transfer (even though the invite goes through). 
    What I'm wondering though, is whether there's any way at all to get this working the way I'd expect, where a file gets transferred directly between A and B, without my bot having to receive it first.  The other approach I've looked at is binding my
    own media provider class to customize the SDP, but if this MIME part approach isn't going to work, then I have a feeling the media provider won't work either. 
    Any suggestions on where to look next? 
    Thanks!
    Chris

    Chris,
    I am trying to do something similar to this and from what I have read and in talking to MS is that you need to extend the Call and Flow class which it looks like you have been able to do. Could I bother you to share what you have written? Maybe we can help
    each other out on this. I am basically trying to create an application that will be able to capture a file transfer and save it, then send the original request on to the intended recipient.
    Thanks in advance,
    Anthony

  • How to increase the speed of network file transfer

    hi ,
    In my application i want to use the file from one system to another system.
    i am using stream reader to get the file over the network , its working fine for small file,
    but i want to access file size exceed 10 MB then i faced the problem. Its get very slow the file transfer over the network.
    so i am try to use java NIO for transfer file,
    Using NIO , While i am make server and client both are same system then the file tranfer is 10MB file in 10 seconds , but i am making server and client are different machine then its take so long to transfer file ie (10 MB file in 3 minutes).
    I want to reduce the time . If any chance to reduced the file transfer time then please suggest me.
    my code is
    Server Code :
    public class NioServer implements Runnable {
      // The host:port combination to listen on
      private InetAddress hostAddress;
      private int port;
      // The channel on which we'll accept connections
      private ServerSocketChannel serverChannel;
      // The selector we'll be monitoring
      private Selector selector;
      // The buffer into which we'll read data when it's available
      private ByteBuffer readBuffer = ByteBuffer.allocate(10000);
      private EchoWorker worker;
      // A list of PendingChange instances
      private List pendingChanges = new LinkedList();
      // Maps a SocketChannel to a list of ByteBuffer instances
      private Map pendingData = new HashMap();
      public NioServer(InetAddress hostAddress, int port, EchoWorker worker) throws IOException {
        this.hostAddress = hostAddress;
        this.port = port;
        this.selector = this.initSelector();
        this.worker = worker;
      public void send(SocketChannel socket, byte[] data) {
        System.out.println("Server Send ");
        synchronized (this.pendingChanges) {
          // Indicate we want the interest ops set changed
          this.pendingChanges.add(new ChangeRequest(socket, ChangeRequest.CHANGEOPS, SelectionKey.OP_WRITE));
          // And queue the data we want written
          synchronized (this.pendingData) {
            List queue = (List) this.pendingData.get(socket);
            if (queue == null) {
              queue = new ArrayList();
              this.pendingData.put(socket, queue);
            queue.add(ByteBuffer.wrap(data));
        // Finally, wake up our selecting thread so it can make the required changes
        this.selector.wakeup();
      public void run() {
        while (true) {
          try {
            // Process any pending changes
            synchronized (this.pendingChanges) {
              Iterator changes = this.pendingChanges.iterator();
              while (changes.hasNext()) {
                ChangeRequest change = (ChangeRequest) changes.next();
                switch (change.type) {
                case ChangeRequest.CHANGEOPS:
                  SelectionKey key = change.socket.keyFor(this.selector);
                  key.interestOps(change.ops);
              this.pendingChanges.clear();
            // Wait for an event one of the registered channels
            this.selector.select();
            // Iterate over the set of keys for which events are available
            Iterator selectedKeys = this.selector.selectedKeys().iterator();
            while (selectedKeys.hasNext()) {
              SelectionKey key = (SelectionKey) selectedKeys.next();
              selectedKeys.remove();
              if (!key.isValid()) {
                continue;
              // Check what event is available and deal with it
              if (key.isAcceptable()) {
                this.accept(key);
              } else if (key.isReadable()) {
                this.read(key);
              } else if (key.isWritable()) {
                this.write(key);
          } catch (Exception e) {
            e.printStackTrace();
      private void accept(SelectionKey key) throws IOException {
        System.out.println("Server Accept ");
        // For an accept to be pending the channel must be a server socket channel.
        ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key.channel();
        // Accept the connection and make it non-blocking
        SocketChannel socketChannel = serverSocketChannel.accept();
        Socket socket = socketChannel.socket();
        socketChannel.configureBlocking(false);
        // Register the new SocketChannel with our Selector, indicating
        // we'd like to be notified when there's data waiting to be read
        socketChannel.register(this.selector, SelectionKey.OP_READ);
      private void read(SelectionKey key) throws IOException {
        System.out.println("server Read : ");
        SocketChannel socketChannel = (SocketChannel) key.channel();
        // Clear out our read buffer so it's ready for new data
        readBuffer.clear();
    //    readFully( readBuffer , socketChannel ) ;
        // Attempt to read off the channel
        int numRead;
        try {
          numRead = socketChannel.read(readBuffer);
        } catch (IOException e) {
          // The remote forcibly closed the connection, cancel
          // the selection key and close the channel.
          key.cancel();
          socketChannel.close();
          return;
        if (numRead == -1) {
          // Remote entity shut the socket down cleanly. Do the
          // same from our end and cancel the channel.
          key.channel().close();
          key.cancel();
          return;
        // Hand the data off to our worker thread
        this.worker.processData(this, socketChannel, this.readBuffer.array(), numRead);
      private void write(SelectionKey key) throws IOException {
        System.out.println("Server Write ");
        SocketChannel socketChannel = (SocketChannel) key.channel();
        synchronized (this.pendingData) {
          List queue = (List) this.pendingData.get(socketChannel);
          // Write until there's not more data ...
          while (!queue.isEmpty()) {
            ByteBuffer buf = (ByteBuffer) queue.get(0);
            socketChannel.write(buf);
            if (buf.remaining() > 0) {
              System.out.println( "buf.remaining() " + buf.remaining() ) ;
              // ... or the socket's buffer fills up
              break;
            queue.remove(0);
          if (queue.isEmpty()) {
            // We wrote away all data, so we're no longer interested
            // in writing on this socket. Switch back to waiting for
            // data.
            key.interestOps(SelectionKey.OP_READ);
      private Selector initSelector() throws IOException {
        // Create a new selector
        Selector socketSelector = SelectorProvider.provider().openSelector();
        // Create a new non-blocking server socket channel
        this.serverChannel = ServerSocketChannel.open();
        serverChannel.configureBlocking(false);
        // Bind the server socket to the specified address and port
        InetSocketAddress isa = new InetSocketAddress(this.hostAddress, this.port);
        serverChannel.socket().bind(isa);
        // Register the server socket channel, indicating an interest in
        // accepting new connections
        serverChannel.register(socketSelector, SelectionKey.OP_ACCEPT);
        return socketSelector;
      private static void readFully(ByteBuffer buf, SocketChannel socket) throws IOException
        int len = buf.limit() - buf.position();
        while (len > 0)
          len -= socket.read(buf);
      public static void main(String[] args) {
        try {
          EchoWorker worker = new EchoWorker();
          new Thread(worker).start();
          new Thread(new NioServer(null, 9090, worker)).start();
        } catch (IOException e) {
          e.printStackTrace();
    }Client Code :
    public class NioClient implements Runnable {
      // The host:port combination to connect to
      private InetAddress hostAddress;
      private int port;
      // The selector we'll be monitoring
      private Selector selector;
      // The buffer into which we'll read data when it's available
      private ByteBuffer readBuffer = ByteBuffer.allocate( 10596 ) ;
      // A list of PendingChange instances
      private List pendingChanges = new LinkedList();
      // Maps a SocketChannel to a list of ByteBuffer instances
      private Map pendingData = new HashMap();
      private byte[] bufferByteA = null ;
      // Maps a SocketChannel to a RspHandler
      private Map rspHandlers = Collections.synchronizedMap(new HashMap());
      public NioClient(InetAddress hostAddress, int port) throws IOException {
        this.hostAddress = hostAddress;
        this.port = port;
        this.selector = this.initSelector();
      public void send(byte[] data, RspHandler handler) throws IOException {
        // Start a new connection
        SocketChannel socket = this.initiateConnection();
        // Register the response handler
        this.rspHandlers.put(socket, handler);
        // And queue the data we want written
        synchronized (this.pendingData) {
          List queue = (List) this.pendingData.get(socket);
          if (queue == null) {
            queue = new ArrayList();
            this.pendingData.put(socket, queue);
          queue.add(ByteBuffer.wrap(data));
        // Finally, wake up our selecting thread so it can make the required changes
        this.selector.wakeup();
      public void run()
        while (true)
          try
            // Process any pending changes
            synchronized (this.pendingChanges)
              Iterator changes = this.pendingChanges.iterator();
              while (changes.hasNext())
                ChangeRequest change = (ChangeRequest) changes.next();
                switch (change.type)
                  case ChangeRequest.CHANGEOPS:
                    SelectionKey key = change.socket.keyFor(this.selector);
                    key.interestOps(change.ops);
                    break;
                  case ChangeRequest.REGISTER:
                    change.socket.register(this.selector, change.ops);
                    break;
              this.pendingChanges.clear();
            // Wait for an event one of the registered channels
            this.selector.select();
            // Iterate over the set of keys for which events are available
            Iterator selectedKeys = this.selector.selectedKeys().iterator();
            while (selectedKeys.hasNext())
            System.out.println( " ----run 5 " ) ;
              SelectionKey key = (SelectionKey) selectedKeys.next();
              selectedKeys.remove();
              if (!key.isValid())
                continue;
              // Check what event is available and deal with it
              if (key.isConnectable())
                this.finishConnection(key);
              else if (key.isReadable())
                this.read(key);
              else if (key.isWritable())
                this.write(key);
          catch (Exception e)
            e.printStackTrace();
      private void read(SelectionKey key) throws IOException {
        System.out.println( "---------read 1 " ) ;
        SocketChannel socketChannel = (SocketChannel) key.channel();
        // Clear out our read buffer so it's ready for new data
        this.readBuffer.clear();
        System.out.println( "---------read 2 " + readBuffer.capacity()) ;
         readBuffer = ByteBuffer.allocate( bufferByteA.length  ) ;
        // Attempt to read off the channel
    //    int numRead;
        try {
    //      numRead = socketChannel.read(this.readBuffer);
          readFully( readBuffer , socketChannel ) ;
        } catch (IOException e) {
          // The remote forcibly closed the connection, cancel
          // the selection key and close the channel.
          key.cancel();
          socketChannel.close();
          return;
    //    if (numRead == -1) {
    //      // Remote entity shut the socket down cleanly. Do the
    //      // same from our end and cancel the channel.
    //      key.channel().close();
    //      key.cancel();
    //      return;
        // Handle the response
        this.handleResponse(socketChannel, this.readBuffer.array(), readBuffer.capacity() );
      private void handleResponse(SocketChannel socketChannel, byte[] data, int numRead) throws IOException {
        // Make a correctly sized copy of the data before handing it
        // to the client
        byte[] rspData = new byte[numRead];
        // Look up the handler for this channel
        RspHandler handler = (RspHandler) this.rspHandlers.get(socketChannel);
        // And pass the response to it
        if (handler.handleResponse(rspData)) {
          // The handler has seen enough, close the connection
          socketChannel.close();
          socketChannel.keyFor(this.selector).cancel();
      private void write(SelectionKey key) throws IOException {
        SocketChannel socketChannel = (SocketChannel) key.channel();
        readBuffer.flip() ;
        List queue = null ;
        synchronized (this.pendingData) {
          queue = (List) this.pendingData.get(socketChannel);
          writeFully( readBuffer , socketChannel ) ;
          // Write until there's not more data ...
          while (!queue.isEmpty()) {
    //        ByteBuffer buf = (ByteBuffer) queue.get(0);
    //        socketChannel.write(buf);
    //        writeFully( buf , socketChannel ) ;
    //        if (buf.remaining() > 0) {
    //          // ... or the socket's buffer fills up
    //          break;
            queue.remove(0);
          if (queue.isEmpty()) {
            // We wrote away all data, so we're no longer interested
            // in writing on this socket. Switch back to waiting for
            // data.
            key.interestOps(SelectionKey.OP_READ);
      private void finishConnection(SelectionKey key) throws IOException {
        SocketChannel socketChannel = (SocketChannel) key.channel();
        // Finish the connection. If the connection operation failed
        // this will raise an IOException.
        try {
          socketChannel.finishConnect();
        } catch (IOException e) {
          // Cancel the channel's registration with our selector
          System.out.println(e);
          key.cancel();
          return;
        // Register an interest in writing on this channel
        key.interestOps(SelectionKey.OP_WRITE);
      private SocketChannel initiateConnection() throws IOException {
        // Create a non-blocking socket channel
        SocketChannel socketChannel = SocketChannel.open();
        socketChannel.configureBlocking(false);
        // Kick off connection establishment
        socketChannel.connect(new InetSocketAddress(this.hostAddress, this.port));
    //    socketChannel.finishConnect() ;
        // Queue a channel registration since the caller is not the
        // selecting thread. As part of the registration we'll register
        // an interest in connection events. These are raised when a channel
        // is ready to complete connection establishment.
        synchronized(this.pendingChanges) {
          this.pendingChanges.add(new ChangeRequest(socketChannel, ChangeRequest.REGISTER, SelectionKey.OP_CONNECT));
        return socketChannel;
      private Selector initSelector() throws IOException {
        // Create a new selector
        return SelectorProvider.provider().openSelector();
      public static void main(String[] args) {
        try {
          NioClient client = new NioClient(InetAddress.getByName("healsoft1"), 9090);
          Thread t = new Thread(client);
          t.setDaemon(true);
          t.start();
          RspHandler handler = new RspHandler();
          client.readBytesFromFile( handler ) ;
        } catch (Exception e) {
          e.printStackTrace();
      private void readBytesFromFile( RspHandler handler ) throws IOException
        File file = new File( "Y:/output.txt") ;
        bufferByteA = getBytesFromFile( file ) ;
        readBuffer = ByteBuffer.allocate(bufferByteA.length ) ;
        readBuffer.put( bufferByteA , 0 , bufferByteA.length ) ;
        send(bufferByteA , handler);
        handler.waitForResponse();
      private static void readFully(ByteBuffer buf, SocketChannel socket) throws IOException
        System.out.println( "readFully  : " ) ;
        int len = buf.limit() - buf.position();
        int count = 0 ;
        while (len > 0)
          len -= socket.read(buf);
      private void writeFully(ByteBuffer buf , SocketChannel socketChannel) throws IOException
        System.out.println( "writeFully  : " ) ;
        int len = buf.limit() - buf.position() ;
        SocketChannel socket = socketChannel ;
        socket.open();
        while (len > 0)
          len -= socket.write(buf);
      private static byte[] getBytesFromFile(File file) throws IOException
        InputStream is = new FileInputStream(file);
        // Get the size of the file
        long length = file.length();
             * You cannot create an array using a long type. It needs to be an int
             * type. Before converting to an int type, check to ensure that file is
             * not loarger than Integer.MAX_VALUE;
        if (length > Integer.MAX_VALUE)
          System.out.println("File is too large to process");
          return null;
        // Create the byte array to hold the data
        byte[] bytes = new byte[(int)length];
        // Read in the bytes
        int offset = 0;
        int numRead = 0;
        while ( (offset < bytes.length)
                ( (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) )
                offset += numRead;
        // Ensure all the bytes have been read in
        if (offset < bytes.length)
          throw new IOException("Could not completely read file " + file.getName());
        is.close();
        return bytes;
      public static String printTimeWithMilliSec(long l )
        Date date = new Date( l ) ;
        SimpleDateFormat f = new SimpleDateFormat("HH:mm:ss SSS");
        return f.format(date);
    }

    Data transfer rate for a single client is unlikely to be effected by using NIO or old blocking IO. The important factor is the maximum transfer rate you can get between the sender and receiver.
    You should be able to get 0.5-1.0 MB per second for each 10 Mbit per second of available bandwidth. Your timings suggest you are getting about a 10-20 Mbit/s link speed.

  • HT204144 File transfer using Airdrop from iphone to Macbook Pro

    File transfer using airdrop form Macbook Pro to iphone is working...but from iphone to Macbook Pro is not working, Why?

    Hi Brok25;
    Thanks for the question.  The resource below explains the specs and settings that are needed for AirDrop.  Check the settings and look to see if your MacBook Pro is listed.
    Mac Basics: AirDrop lets you send files from your Mac to nearby Macs and iOS devices - Apple Support
    http://support.apple.com/en-us/HT203106
    Sending files to and from an older Mac
    If a Mac you're using with AirDrop was manufactured before 2012, you can send and receive files with other Mac computers.
    On the sending Mac, click "Don't see who you're looking for" in the AirDrop window.
    Select the option to "Search for an Older Mac."
    On the receiving Mac, open a new Finder window and click AirDrop in the sidebar.
    Tips for sending files
    Make sure Wi-Fi and Bluetooth are enabled on your Mac and your iOS device. Although you don't have to connect to a specific network, Wi-Fi needs to be on to send and receive files using AirDrop.
    Move your devices closer together. AirDrop is designed to work within a range of approximately 30 feet (9 meters). If you need to send a file to someone farther away, consider using File Sharing, iCloud, or email instead.
    If you're using a firewall on your Mac, you won't be able to receive AirDrop files if you have enabled "Block all incoming connections" in the Security & Privacy pane of System Preferences.
    Make sure your devices meet system requirements for AirDrop.
    System Requirements
    To see if your Mac works with AirDrop, make sure you’re in the Finder by clicking the desktop (the background area of your screen), or by clicking the Finder icon in the Dock. Then, check to see if AirDrop is listed as an option in the Go menu. If you don't see AirDrop listed, your Mac doesn't support this feature.
    In order to transfer files between a Mac and and an iPhone, iPad or iPod touch
    your iOS device needs to include a lightning connector 
    your iOS device needs iOS 7 or later installed
    your Mac needs to be a 2012 or later model with OS X Yosemite installed
    Your Mac and iOS device both need bluetooth and Wi-Fi turned on. You do not have to be connected to a specific Wi-Fi network. 
    To transfer files between two Mac computers, you need the Mac models listed below with Wi-Fi turned on and OS X Lion or later installed.
    MacBook Pro (Late 2008 or newer)*
    MacBook Air (Late 2010 or newer)
    MacBook (Late 2008 or newer)*
    iMac (Early 2009 or newer)
    Mac Mini (Mid 2010 or newer)
    Mac Pro (Early 2009 with AirPort Extreme card, or Mid 2010)
    *The MacBook Pro (17-Inch Late 2008) and the white MacBook (Late 2008) do not support AirDrop.
    For help identifying your Mac, choose About This Mac from the Apple menu. You can refer to the Apple Support website to find out if your iPhone, iPad or iPod Touch includes a lightning connector. 
    Cheers,
    - Judy

  • File transfer issues in Skype 6.22?

    Recently updated to 6.22 and lost the ability to decline incoming files. In previous versions you had to options - accept or decline, now the only options seem to be "accept" or ignore and then the file request just sits in the chat window as incomplete. Is this a setting that can be changed or do I need to stay annoyed by it forever?
    Moreover: After accepting a file transfer, you used to be able to click the "view in folder" link and open the file location. This also seem to be removed. Comments on this?

    ...also you can just start by opening the conversation with the first member of your future group you want to create and then simply use the "Add contacts" button on top right to add the other members. This way a new group conversation will be created as well.
    We are right now working to update this FAQ to reflect that information: https://support.skype.com/en/faq/FA1005/how-do-i-start-a-group-instant-message-in-skype-for-windows-...
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • JProgressBar and file transfer

    Hi, I am trying to use a JProgressBar to determine how many bytes have been sent so far. I have constructed the JProgressBar with the maximum size of the file size. For each 'segment' of the file sent, the progress bar should increment using the setProgress() within the SwingWorker class. If I print the values out, they appear to be correct. However, if I use setProgress() the file transfer seems to fail (not even begin).
    Here's the relevant code:
    public class FileTracker extends JDialog implements PropertyChangeListener {
         private JPanel mainPnl = new JPanel(new BorderLayout());
         private JPanel progressBarPnl = new JPanel(new BorderLayout());
         private JPanel midPnl = new JPanel(new GridBagLayout());
         private JPanel bottomPnl = new JPanel(new GridBagLayout());
         private JLabel fileNameLbl = new JLabel("File name: ");
         private JLabel fileNamexLbl = new JLabel();
         private JLabel sizeLbl = new JLabel("File size: ");
         private JLabel sizexLbl = new JLabel();
         private JButton cancelBtn = new JButton("Cancel");
         private JProgressBar progressBar;
         private FileSender fileSender;
         private FileReceiver fileReceiver;
         private File file;
         public FileTracker(JFrame parent, String ip, int port, File file) {
              super (parent);
              this.file = file;
              fileSender = new FileSender(ip, port, file);
              fileSender.addPropertyChangeListener(this);
              fileSender.execute();
              setLocationRelativeTo(null);
              progressBar = new JProgressBar();
              progressBar.setMaximum((int)file.length());
              add(progressBarPanel());
              setResizable(false);
              setTitle("File sending..");
              pack();
              setVisible(true);
         private JPanel progressBarPanel() {
              progressBar.setValue(0);
              progressBar.setEnabled(true);
              progressBar.setStringPainted(true);
              progressBar.setIndeterminate(true);
              progressBarPnl.add(progressBar, BorderLayout.CENTER);
              return progressBarPnl;
         public void propertyChange(PropertyChangeEvent evt) {
            if ("progress" == evt.getPropertyName()) {
                int progress = (Integer) evt.getNewValue();
                if (progressBar.isIndeterminate())
                     progressBar.setIndeterminate(false);
                progressBar.setValue(progress);
                if (fileSender != null && fileSender.isDone())
                     progressBar.setString("Transfer finished");
                if (fileReceiver != null && fileReceiver.isDone())
                     progressBar.setString("Transfer finished");
    }The SwingWorker:
    public class FileSender extends SwingWorker<Void, Void> {
         private Socket socket;
         private FileInputStream fileIn;
         private OutputStream output;
         private File file;
         private byte buffer[];
         private int bufferSize;
         int bytesRead;
         int progress = 0;
         public FileSender(String ipAddress, int port, File file) {
              try {
                   System.out.printf("NOTICE: FileSender initialised. Sending to:%s on port: %d\n", ipAddress, port);
                   socket = new Socket(InetAddress.getByName(ipAddress), port);
                   output = socket.getOutputStream();
                   bufferSize = socket.getSendBufferSize();
                   buffer = new byte[bufferSize];
                   this.file = file;
                   setProgress(0);
              } catch (UnknownHostException e) {
                   // THE USER MUST BE INFORMED THAT THE RECIPIENT COULD NOT BE RESOLVED
                   e.printStackTrace();
              } catch (java.net.ConnectException ce) {
                   // INFORM THE USER THAT THE RECIPIENT COULD NOT BE REACHED
                   ce.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
         public Void doInBackground() {
                   sendFile();
              return null;
         public void sendFile() {
              System.out.printf("NOTICE: Sending file %s   %d bytes formed of %d segments.\n", file.getName(), file.length(), file.length()/bufferSize < 1 ? 1 : file.length()/bufferSize);
              try {
                   fileIn = new FileInputStream(file);
                   while ((bytesRead = fileIn.read(buffer)) > 0) {
                        output.write(buffer, 0 , bytesRead);
                        progress = progress + bufferSize;
                        if (progress  < file.length())
                             setProgress(progress);
                        else
                             setProgress((int)file.length());
                   output.close();
                   fileIn.close();
                   socket.close();
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException ioe) {
                   ioe.printStackTrace();
    }This has been bugging me for a long time. Any help/suggestions much appreciated.

    when you create an SSCCE and get rid of all the File, socket, streams and whatnot (something that you should do next time), you notice something funny:
    import java.awt.BorderLayout;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JProgressBar;
    import javax.swing.SwingWorker;
    public class FileTracker extends JDialog implements PropertyChangeListener
        private static final int MAX = 500;
        private JPanel progressBarPnl = new JPanel(new BorderLayout());
        private JProgressBar progressBar;
        private FileSender fileSender;
        private FileReceiver fileReceiver;
        public FileTracker(JFrame parent)
            super(parent);
            fileSender = new FileSender(MAX);
            fileSender.addPropertyChangeListener(this);
            fileSender.execute();
            setLocationRelativeTo(null);
            progressBar = new JProgressBar();
            progressBar.setMaximum(MAX);
            add(progressBarPanel());
            setResizable(false);
            setTitle("File sending..");
            pack();
            //setVisible(true);
        private JPanel progressBarPanel()
            progressBar.setValue(0);
            progressBar.setEnabled(true);
            progressBar.setStringPainted(true);
            progressBar.setIndeterminate(true);
            progressBarPnl.add(progressBar, BorderLayout.CENTER);
            return progressBarPnl;
        public void propertyChange(PropertyChangeEvent evt)
            //if ("progress" == evt.getPropertyName()) // *** avoid doing this
            if ("progress".equals(evt.getPropertyName()))
                int progress = (Integer) evt.getNewValue();
                progressBar.setValue(progress);
                System.out.println("progress is: " + progress);
                if (fileSender != null && fileSender.isDone())
                    progressBar.setString("Transfer finished");
                    System.out.println("file sender is done");
                if (fileReceiver != null && fileReceiver.isDone())
                    progressBar.setString("Transfer finished");
                    System.out.println("file receiver is done");
        private class FileReceiver
            public boolean isDone()
                return false;
        private class FileSender extends SwingWorker<Void, Void>
            private int max;
            private int bufferSize;
            int bytesRead;
            int progress = 0;
            public FileSender(int max)
                this.max = max;
                System.out.println("NOTICE: FileSender initialised. ");
                bufferSize = max;
                setProgress(0);
            public Void doInBackground()
                sendFile();
                return null;
            public void sendFile()
                System.out.println("NOTICE: Sending file ");
                System.out.println("Max = " + max);
                bufferSize = 10;
                while (progress < max)
                    try
                        Thread.sleep(100);
                    catch (InterruptedException e)
                        e.printStackTrace();
                    progress += bufferSize;
                    if (progress < max)
                        setProgress(progress);
                    else
                        setProgress(max);
                System.out.println("after while loop");
        private static void createAndShowUI()
            JFrame frame = new JFrame("FileTracker");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
            FileTracker filetracker = new FileTracker(frame);
            filetracker.setVisible(true);
        public static void main(String[] args)
            java.awt.EventQueue.invokeLater(new Runnable()
                public void run()
                    createAndShowUI();
    }The SwingWorker stops when only 20% of "file transfer" has occurred, but when the progress has reached 100. Then if you go into the [SwingWorker API for setProgress|http://java.sun.com/javase/6/docs/api/javax/swing/SwingWorker.html#setProgress(int)] , you see why the program is stopping here: the SwingWorker stops when its progress property reaches 100. So you must change this to a ratio rather than total bytes.

  • Hide the Bluetooth File Transfer Window

    Can anyone give me any clues as to how I could stop the File transfer WIndow appearing when I Bluetooth an image from phone to my Mac?
    It is the Obex Agent window. That says Incoming File etc
    It will appear over any open applications right in the centre of the screen. I have tried instantly hiding it when it appears with Applescript but this is not quite good enough for my purposes.
    Any idea how I can ideally disable it. Or at least move its location.
    Or a better place to ask for help?
    Thanks
    Gavin

    Apple aren't here. You won't get a response from Apple on this user-to-user help forum.
    Although speculation on Apple policies is not permitted on this forum, it has been previously speculated frequently, that the reasons for not allowing Bluetooth file transfers are:
    1) Bluetooth is too slow for transferring multi-megabyte / gigabyte media files that iOS devices typically store. There are much faster ways of transferring files, not limited by arbitrary distances Bluetooth is.
    2) Allowing file transfers would allow illegal sharing of copyrighted music and video files. Apple has a duty to protect such files from easy sharing due to agreements with the copyright holders for whom they sell this copyrighted content in the iTunes Store.

  • IChat AV 4 File Transfer is broken

    Whenever someone sends me a file transfer, a message pops up that you can either press, "Save" or "Cancel". Of course I press save and my file transfers window comes up. It says "Size - Calculating" then always a few seconds later it says, "No response from (whoever sent me the file). They never canceled it or anything. And they get a message saying that I canceled the transfer. But I can send a file and it works fine. This is really bugging me.
    Why does this happen? I really would like for my transfers to work!!!
    What can I do???
    Thanks
    Message was edited by: Asher Stockler

    Hi,
    Welcome to the  Discussion Pages
    1) Open up iChat > Preferences > Accounts > Server Settings
    Log out of your AIM or @mac screen name and then change the port from 5190 to 443 and log back in again.
    2) Check that whatever method you are using to open ports in your modem or router allows Port 5190 on UDP
    10:11 PM Monday; February 4, 2008
    Message was edited by: Ralph Johns (UK)

  • How to know when FTP of incoming file is complete

    Dear all,
    i would like to know when the FTP is complete on my server of an incoming file from another machine.
    and as soon as the FTP is complete i want to start the SQLLDR for that file automatically.
    i am using Redhat linux enterprise linux server release 5.5 with Oracle 11gR2 RAC.
    i have already made the SQLLDR script for the file uploading. however at this time i can only manually run the script or schedule it using cronjob. but with cronjob i cannot know if the FTP has completed or not.
    many thanks .

    Who is initiating the ftp task? Why not creating a checksum file using "cksum" or "md5" command and include it in the ftp transfer. Then verify the checksum of the uploaded file before performing the SQL Loader process.
    Sounds like a job for the DBMS_SCHEDULER or SQL Loader preprocessor feature.
    Re: Need to call Shell script that uses SQL loader in APex4.1/11g

  • Bluetooth file transfer from BB Z10 to Windows 7 Laptop

    I have my BBZ10 (OS 10.2.0.424) successfully paired with Windows 7 Laptop. I often use the BBZ10 BT Internet Teethering. It works very well.
    However, when I want to transfer a file from BBZ10 to my Laptop. I follow this process
    In the background the Internet Teethering is ON, and working
    select the file in Z10 File Manager.
    click on share icon to share using BLUETOOTH
    Before pressing the name of my paired devices on Z10. I click Bluetooth icon on laptop and select 'receive a file'. This opens a box showing the laptop is waiting in receive mode.
    Then I select my paired computer name on Z10 to initiate transfer.
    The transfer bar appears on Z10 showing the progress, but in 4-5 seconds, it says 'TRANSFER CANCELLED'.
     And on my laptop it says 'BLUETOOTH FILE TRANSFER NOT COMPLETED'.
    i have used exactly same process with my BB 9800 several times with success.
    Another thing I note is, if the Internet teethering is OFF, I cannot turn BT connection to the laptop on. It come up with error message ' Cant' connect , you must turn on internet teethering on yoru device.'
    Please troubleshoot.

    hi eddie-n200,
    Can you send a file from the laptop to the cellphone? If you can, check if the "Allow remote devices to browse, send, and receive pictures, music, and other files" option is enabled on the BT settings:
    Spoiler (Highlight to read)
    As an alternative, you may also want to try Bluesoleil or similar software to send/receive from the laptop.
    Edit: Added image
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Skyp file transfer on LAN slow for windows and Mac...

    Hi,
    We are extensively use skype and since we upgrade skype to 6.18 and above ... file transfer on LAN is super slow... to transfer file 200MB it took over 15 minutes but when i'm skype 6.16 it took about 45 seconds... can anyone lemme know to fix it or tweak it on both Mac and windows so i can speed up file transfer on LAN....

    I've been experiencing the same issue. I keep having to downgrade to 6.16 and cancel automatic updates for this same reason. It's really frustrating as my work involves sendig and receiving files via Skype. Versions 6.18 and up not only are too slow (a large file, for example, that would normally take 18 hours or less to transfer takes 1 week! on 6.18 and higher) but also slow down my whole connection while surfing. 6.16 allows me to transfer at a fast speed and I can watch videos and have a 256k livestream radio going, be on a skype call and still have enough speed to download from the Internet without slowing anything down. This is completely unacceptable. I see that no one has replied to this and nothing has been done to fix this issue. I wonder if Skype even browses through these. 

Maybe you are looking for