File Transfer Progress

I am writing a file transfer application where a client from one machine can send files to another machine. I want to display a progress bar signifying the progress of the transfer. For that i need to know how much of the data has been consumed by the other client. How can i get this information. Or am i beating the wrong bush here. Please help. Any help is welcome.

@ejp's suggestion is best/simplest.
However, what you could do, if you can change the receiver, is have the receiver send you a number indicating how much data it has read. This will be slightly out of date so doesn't gain you much.
You can also reduce the TCP buffer size on the server and the client. This will give you greater accuracy, but its likely to make the download slower. Most systems have a minimum buffer size. It isn't likely to be something you will want to do either.

Similar Messages

  • Display progress of file transfer

    I made a app that uses tcp sockets to transfer a file im using ObjectOutputStream/ObjectInputStream. The thread that downloads the file has:
    package chat;
    import javax.swing.*;
    import java.net.Socket;
    import java.net.URL;
    import java.io.*;
    public class DownloadSocket extends Thread{
        Socket peer;
        ObjectInputStream obin;
        FileOutputStream fout;
        String fileName;
        String filePath;
        Thread runner;
        JFrame parent;
        public DownloadSocket(Socket peer, JFrame parent){
    this.parent = parent;
         try{        obin=newObjectInputStreamnewBufferedInputStreampeer.getInputStream()));
                start();
            }catch(IOException ioe){}
        public void start(){
            runner = new Thread(this);
            runner.start();
        public void run(){
            try {
                fileName = (String)obin.readObject();
                byte[] b = (byte[])obin.readObject();
                fout = new FileOutputStream(fileName);
                fout.write(b);
                JOptionPane.showMessageDialog(parent,"Received File " + fileName,"Confirmation",JOptionPane.INFORMATION_MESSAGE);
            }catch(Exception e){ }
            finally{
                try{
                    runner = null;
                    fout.close();
                    obin.close();
                    peer.close();
                }catch(Exception e){}
        }How do I get the percentage of the transfer or how many bytes are sent at any given time so i can use it to update a JProgress bar at any given time. The max value for the progress bar ill be the number of byte to send and this class can send an update to it every second or so. This class send the whole file in one go so im not sure.
    I also saw another file transfer snippet that gets the byte count sent, but i'd like to do it this way if possible. The other way was:
    try{
                byte[] buf = new byte[1024];
                    OutputStream os = socket.getOutputStream();
                    BufferedOutputStream out = new BufferedOutputStream(os,1024);
                    String file = "test.exe"
                    FileInputStream in = new FileInputStream(file);
                    int i;
                    int bytecount=0;
                    while ((i = in.read(buf,0,1024)) != -1){
                    bytecount=bytecount+1024;
                    out.write(buf,0,i);
                    out.flush();
                in.close();
                    out.close();
                    System.out.println("Bytes Sent :"+bytecount);
            catch (IOException e){
                System.out.println(e);
            try {
                socket.close();
            catch (IOException e){
                System.out.println(e);

    Have you considered using a ProgressMonitorInputStream?

  • How to achieve the maximum file transfer rate from PXI to local host?

    I will have to copy a huge amount of data (as big as 50 GB) from a PXI-8106 unit on site to a laptop. Currently it would take several hours. It is critical to max out the data transfer rate.
    The standard method we've been using is just drag and drop using Windows Explorer via FTP. I tried to use FTP VIs with Filezilla Server as well but the transfer rate is only like 1.5 MB/s. Is this normal? Once I saw it was 3.0 MB/s but for some reason, that isn't happening now.
    For another option, I tried to transfer data to a USB flash drive but it's even slower. As far as I know, USB 2.0 transfer rate is supposed to be around 60 MB/s but why would it be slower than 1.5 MB/s? What could be the speed limiting factor in my file transfer setup?
    Any tips on improving file transfer rate would be appreciated!

    Sustained 40 MB/s? That is my dream speed! The maximum speed I've ever seen here was about 25 MB/s, which is still very good, and that happened only after copying back and forth, which I explained above. Let me go through what I did with screencaps first.
    These are the test tdms files to transfer in the PXI: an original file witten in the PXI and its copy file. I copied the original file from PXI to laptop and renamed it (added '_copy') and then copied it back to PXI.
    FTP module is transferring the original file to the Filezilla server on laptop. Note the low speed.
    FTP module is transferring the copy file to the Filezilla server on laptop. Note the higher speed.
    This is the FTP sub VI I'm using. It transfers files in sub-folders (one level lower), too. The data connection is set to 'passive' on the FTP Put Multiple Files VI but it doesn't seem to make any difference. I attach the sub VI.
    You tried the file transfer with a 500 MB text file. Would there be any difference if the file type was tdms? Would the RAM size matter? It is 2GB here.
    And the LED is orange, which means Gigabit.
    Another question: Is there any way to programmatically stop file transfer in progress? Currently, I just have to restart the PXI.
    Thank you!
    Attachments:
    FTP.vi ‏40 KB

  • Creative Zen USB and File transfer probl

    Am the unhappy owner of a brand new Creative Zen touch 20gb mp3 player which apparently works with usb 2.0. After installing the software which came on the cd (file transfer software and nomad explorer) the Zen appears to get recognised by the pc with no problems when i connect via the usb cable. The Zen also displays 'docked' which is all very well. However if i select say 0 tracks to download to the player the xp progress bar seems to halt at around 60-70% and eventually the program (nomad) complains that the operation cannot be completed. I noticed that the small hard dri've in the player feels as though it is 'spinning down' around a similar time to the message being displayed. If at this stage i refresh the players view in nomad explorer it can be found with no problem....its just i cant write to it until i unplug the usb from the zen and reconnect. I spoke to creative who told me that because my pc (in system devices) reports that my usb is an 'open host' adapter...this means it cannot supply adequate power to the player....but surely USB2.0 is USB2.0 and if something claims to be USB2.0 compliant that would be the end of the story? The usb card im using is a usb 2.0 pci card and is also pretty new. Any help/ideas would be greatly appreciated.
    I have tried various usb ports, usb and2 conections ( I have both), various cables and combinations and the same happens. I have also tried win xp and win98, and other disks I have with the same result. I have managed to transfer 20 os so mp3s (a small proportion of those I have been trying to transfer)after 3-4 hours hard labour but never the contents of a full folder. After a proportion of the files are transferred then Zen touch becomes 'busy' or 'not connected'. Obviously there is no way I can continue like this and it will have to go back.
    I have tried the slightly newer driver but this did not work at all and I had to roll back to the one that came on the CD. I feel that I have given it a fair shot trying all the workarounds.
    Is is a USB power problem? Should a powered usb hub cure it's If so why?
    But is this surely is Creative's problem. It is obviously a known issue but what are they doing about it's Putting out Zens which are prone to this problem is not good practice. Any solutions out there?

    Hey,
    If you tried it on a friend's computer and you're still having problems then it may be a problem with the Zen. Before you call or e-mail tech support, here is what they will tell you do to first before they really get in depth with helping you. Go into Rescue Mode (there is an explanation on how to do this at the top of the forum) and do a disk clean up. After that, try it. If that doesn't work then click the reload OS option which will take the firmware (like windows to your PC) off the Zen. Don't worry you can easily put it back on. Go to Support>Downloads>select Zen Touch, etc, etc. and download the latest firmware and run it. Hopefully that will fix it....
    I had some connection problems myself with my ZT as soon as I got it as well. and simply reflashing the firmware fixed and now I love my Zen. I hope everything works out for you.
    Wilco

  • Finder windows not opening, file transfer box not showing.

    If I go to open Finder from the dock, or using Command + N a new window doesn't open, I have to open it using harddrive icon off my desktop. Also, when transferring files from drive to drive (either on my computer or across the network) the box showing how far the transfer has progressed doesn't turn up. These are causing me significant problems, so if anyone can help that would be hugely appreciated!
    Oh, as I've been writing this about 30 finder windows opened at once, so it appears soemthing is delaying the response, although not regurlary, as they all opened at once. They do now open but the file transfer isn't showing still. My computer has been on an hour and a half for finder to sort itself out, it's ridiculous!

    Hi MLansdell, Welcome to Apple Discussions.
    Create a new account, name it "test" and see how your Finder works in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    Let us know and we'll troubleshoot this further.
    -mj
    [email protected]

  • Measure file-transfer speed?

    Hello to all of you!
    I would like to know if there's a way to monitor the speed during a file transfer (either from the internal disk to an external, or from an internal folder to another internal folder). I'm not referring to online file tranfers (eg. FTP).
    To help describe my question even more, lets say I'm transfering 5GB of data. I can see the estimated time in the progress window, but I'd like to view the speed at which the data is transfered.
    Any tips?
    Thanks a lot!

    Efthymis , It really depends on just what you want to measure.....'Benchmarking'- which is what you are trying to do is (truly) a complex art - IF you want meaningful results...there are various special-purpose tools (you CAN'T rely on the computer's/program's estimates because they tend to be sec-by-sec and don't allow for start-up,overheads, etc etc and are usually quite misleading)...)
    You WILL get different results if you transfer 100 * 1MB files compared to those you get if you xfer one 100MB file, for example.
    Most accurate test of speed is a set of known filesizes:e.g 100meg, 500meg etc, a stopwatch and a quick hand.
    For an accurate 'real life' test,include a folder containing 3 or4 real-life filesizes -e.g. a few 2kb, a few 100kb, a few 500k, a 1000k, a cpl of 5 meg, DUPE That folder a few times, place results in yet another then copy THAT somewhere whilst armed with a stopwatch
    Otherwise, as I said here, there are various tools (see versiontracker and try a few of those)
    best of luck

  • 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.

  • How to see the  file transfer speed on a mac

    Hi, I'm kind of a beginner with a Mac, I have worked on windows for all this years and now I have a small dilema. Can someone please tell me how you can see the file transferring speed on a mac. When you copy and paste from one drive to another, or from time capsule to my mac, etc a dialog appears showing you a progress bar and the time remaining. I would also like to see the speed of the transfer. Is it posible to see this variable?

    In windows - vista when you copy or paste a folder from one location to another in the file transfer pop-up you can see the speed of the transfer.(You must press the more details arrow on that pop-up). Does Leopard has any configuration for this kind of information.
    I will try iGet and write here my feedback.

  • Large file transfer problems over client/server socket

    Hi,
    I wrote a simple chat problem in which I can send files from client to client. The problem is when I send large files over 101 MB the transfer freezes. I do not even get any error mesages in the console. The files I am sending are of any type (Ex mp3, movies, etc...). I am serializing the data into a "byteArray[packetSize]" and sending the file packet by packet until the whole file has been sent, and reconstructed on the other side. The process works perfectly for files smaller than 101MB, but for some reason freezes after that if the file is larger. I have read many forums and there aren't too many solutions out there. I made sure to use the .reset() method to reset my ObjectOutputStream each time I write to it.
    Here's my file sending code:
    byte[] byteArray = new byte[defaultPacketSize];
    numPacketsRequired = Math.ceil(fileSize / defaultPacketSize);
    try {
    int i = 0;
    reader = new FileInputStream(filePath);
    while (reader.available() > 0) {
    if (reader.available() < defaultPacketSize) {
    byte[] lastPacket = new byte[reader.available()];
    reader.read(lastPacket);
    try {
    if (socket == null || output == null) {
    throw new SocketException("socket does not exist");
    output.writeObject(lastPacket);
    output.reset();
    output.writeObject("DONE");
    output.reset();
    output.close();
    socket.close();
    catch (Exception e) {
    System.out.println("Exception ***: " + e);
    output.close();
    socket.close();
    else {
    reader.read(byteArray);
    try {
    if (socket == null || output == null) {
    throw new SocketException("socket does not exist");
    output.writeObject(byteArray);
    output.reset();
    catch (Exception e) {
    System.out.println("Exception ***: " + e);
    output.close();
    socket.close();
    reader.close();
    catch (Exception e) {
    System.out.println("COULD NOT READ PACKET");
    Here's my file receiving code:
    try {
    // The message from the client
    Object streamInput;
    FileOutputStream writer;
    byte[] packet;
    while (true) {
    streamInput = input.readObject();
    if (streamInput instanceof byte[]) {
    packet = (byte[]) streamInput;
    try {
    writer = new FileOutputStream(outputPath, true);
    writer.write(packet); //Storing the bytes on file
    writer.close();
    catch (Exception e) {
    System.out.println("Exception: " + e);
    else if (streamInput.equals("DONE")) {
    socket.close();
    input.close();
    break;
    catch (Exception e) {
    I'm looking for any way I can possibly send large files from client to client without having it freeze. Are there any better file transfer ways other than socket? I don't really want FTP. I think I want to keep it HTTP.
    Any suggestions would be helpful.Thanks!
    Evan

    I've taken a better look a the code you posted, and
    there is one problem with the receiving code. You
    keep repeatedly opening and closing the
    FileOutputStream. This is not going to be efficient
    as the file will keep needing to be positioned to its
    end.Yes sorry I did change that code so that it leaves the file open until completely done writing. Basically I have a progress bar that records how far along in the writing process the client is, and when the progress bar reaches 100%, meaning the file is complete, the file.close() method is invoked. Sorry about that.
    I also ran some memory tests using the "Runtime.getRuntime().totalMemory()", and "Runtime.getRuntime().freeMemory()" methods. I put these methods inside the loop where I read in the file and send it to the client. here's the output:
    Sender's free memory: 704672
    File reader read 51200 bytes of data.
    767548 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 702968
    File reader read 51200 bytes of data.
    716348 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 701264
    File reader read 51200 bytes of data.
    665148 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 699560
    File reader read 51200 bytes of data.
    613948 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 697856
    File reader read 51200 bytes of data.
    562748 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 696152
    File reader read 51200 bytes of data.
    511548 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 694448
    File reader read 51200 bytes of data.
    460348 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 692744
    File reader read 51200 bytes of data.
    409148 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 691040
    File reader read 51200 bytes of data.
    357948 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 689336
    File reader read 51200 bytes of data.
    306748 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 687632
    File reader read 51200 bytes of data.
    255548 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 685928
    File reader read 51200 bytes of data.
    204348 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 684224
    File reader read 51200 bytes of data.
    153148 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 682520
    File reader read 51200 bytes of data.
    101948 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 680816
    File reader read 51200 bytes of data.
    50748 left to read.
    Sender's runtime memory: 2818048
    Sender's free memory: 679112
    File reader read 50748 bytes of data.
    0 left to read.
    Creating last packet of size: 50748
    Last packet size after setting it equal to byteArray: 50748
    Here's the memory stats from the receiver:
    Receiver's free memory: 639856
    Receiver's total memory: 2842624
    Receiver's free memory: 638920
    Receiver's total memory: 2842624
    Receiver's free memory: 637984
    Receiver's total memory: 2842624
    Receiver's free memory: 637048
    Receiver's total memory: 2842624
    Receiver's free memory: 636112
    Receiver's total memory: 2842624
    Receiver's free memory: 635176
    Receiver's total memory: 2842624
    Receiver's free memory: 634240
    Receiver's total memory: 2842624
    Receiver's free memory: 633304
    Receiver's total memory: 2842624
    Receiver's free memory: 632368
    Receiver's total memory: 2842624
    Receiver's free memory: 631432
    Receiver's total memory: 2842624
    Receiver's free memory: 630496
    Receiver's total memory: 2842624
    Receiver's free memory: 629560
    Receiver's total memory: 2842624
    Receiver's free memory: 628624
    Receiver's total memory: 2842624
    Receiver's free memory: 627688
    Receiver's total memory: 2842624
    Receiver's free memory: 626752
    Receiver's total memory: 2842624
    Receiver's free memory: 625816
    Receiver's total memory: 2842624
    Receiver's free memory: 624880
    Receiver's total memory: 2842624
    Receiver's free memory: 623944
    Receiver's total memory: 2842624
    Receiver's free memory: 623008
    Receiver's total memory: 2842624
    Receiver's free memory: 622072
    Receiver's total memory: 2842624
    Receiver's free memory: 621136
    Receiver's total memory: 2842624
    Receiver's free memory: 620200
    Receiver's total memory: 2842624
    Receiver's free memory: 619264
    Receiver's total memory: 2842624
    Receiver's free memory: 618328
    Receiver's total memory: 2842624
    Receiver's free memory: 617392
    Receiver's total memory: 2842624
    Receiver's free memory: 616456
    Receiver's total memory: 2842624
    Receiver's free memory: 615520
    Receiver's total memory: 2842624
    Receiver's free memory: 614584
    this is just a sample of both receiver and sender's stats. Everything appears to be fine! Hope this message post isn't too long.
    Thanks!

  • 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!

  • Macbook to Blackberry Bold bluetooth file transfer failed

    I successfully paired my macbook with my blackberry bold. I sent one picture from my mac to the blackberry. But since, then i have not been able to successfully transfer any files to the blackberry.
    I get the transfer going and the progress bar starts and runs quickly to 100% and then says transfer failed.
    Any ideas on what might be happening or what I could do to fix it?

    The iPod does not have the necessary BT profiles to support file transfer.
    iOS: Supported Bluetooth profiles

  • DiskWarrior crashes during file transfer/backup..

    Guys, im able to get thru the Original and Preview pane of DW...there was a pop out that i need to backup my files as fast as i can because my original directory is damaged..so i backup/transfer all my files in Preview to my external hd...and after i copy 10GB files out of my 330GB it shows some errors the progress window dissapear out of nowhere..wth..i dont know what to do next and i tried thrice and it crashes again and again. pleaseae
    Need your inputs..Thanks!!

    Ok i finally found out that its advisable to copy  every folder one a time rather than copying all then paste to your external hd...now ive done all the file transfer i still can see the REPLACE button is still greyed out..is there any chance that i can continue the rebuild/replace of my directory then install ML? or ny hd needs a replacement?

  • JProgressBar,how to update in file transfer?

    Hi ..
    I have the following copy code that uses java nio package, how to update jProgressBar to indicate movement in file transfer?
    I needn't use progress monitor...
        public static void copyFile(File sourceFile, File destFile) throws IOException {
    if(!destFile.exists()) {
      destFile.createNewFile();
    FileChannel source = null;
    FileChannel destination = null;
    try {
      source = new FileInputStream(sourceFile).getChannel();
      destination = new FileOutputStream(destFile).getChannel();
      destination.transferFrom(source, 0, source.size());
    //JOptionPane.showMessageDialog(null, destination.position());
    finally {
      if(source != null) {
       source.close();
      if(destination != null) {
       destination.close();
        }Thanks..
    Feras

    Inorder to update your progress bar, you have to have it in a different thread and update it--you also have to do the copy in segmented fashion... if you have one stream running continuously, then you cannot update anything.

  • Bluetooth file transfer from Sharp GX29 mobile phone to iBook

    hello all,
    got a new sharp gx29 mobile phone.
    problem:
    cannot send files via bluetooth to my ibook.
    but can send from ibook to Sharp.
    when trying to send from phone, a dialog window opens on mac os x, asking whether accept or cancel the transfer.
    no matter how many times i click on accept, nothing happens, sometimes it hits it, and goes further to a transfer dialog window with the transfer progress bar, but it starts to transfer and stops at about 5-10%, and nothing happens.
    Any one has Sharp GX series and problems like me?
    I know that Sharp is not supported by isync, but that's not what I am trying to do (isync), just a normal file transfer.
    Thnx
    Tom

    I myself have missed the obvious many times so I'm going to ask.
    In System Preferences/Bluetooth/Sharing. Do you have: Bluetooth File Transfer and File Exchange checked???? Then make sure your settings in the pop up menus on the right are correct.
    If you have everything set properly in Bluetooth preferences on your iBook then you might try the Sharp web site for troubleshooting since you can't send files via Bluetooth to your iBook, not the other way around. Sounds like maybe your Sharp possibly has something blocked somewhere...
    Carolyn

  • Time machine file transfer very slow during OSX 10.7 re-install

    I am using a macbook pro, and was running 10.7. (not sure exact version, and cannot look now, but should have been up to date)  I tried the free upgrade to Mavericks, but it failed and said I had a disk error.  At this point I could not boot back to 10.7 so I booted with apple-R.  I tried to do a repair from disk utility but that failed so I erased my hard drive.  Then I proceeded with an install of 10.7, which proceeded fine.  I got  to a point where it asked about transferring files, (forget the exact wording) and I said to use my time machine backup (from right before I tried the upgrade - backup was 80GB) and I started that.  It has been 16 hours and it still has not finished.  The external hard drive (Lacie)  clicks / whirs, and I see signs of very slow progress... (seems to be at about 80% now judging by the progress bar) but it can go hours without any noticeable change.  The "time remaining" information is variable -- going up and down -- and is clearly not correct-- has said 1.5 to 2.5 hours for the last 12 hours 
    Any ideas?  should I just wait a few more days     should I abort and restart the file transfer (if so, what is the best way to do this?)
    I cannot provide details on the computer since it is still busily restoring (I hope), but it is roughly 3-4 years old, lots of free space on hard drive (>100GB),

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for