File tranfer

ciao to everybody,
i have a question about garageband.
i know that it's possible to tranfer the files created in garageband from ipad to imac.
I have several garageband files created in imac and i'd like to transfer in ipad to have a possibility to menage them (modification, add midi files, so on...)
is it possible?
thank you

valeb63 wrote:
what does it mean Gbi
GarageBand for iPad
valeb63 wrote:
gbx?
GarageBand for OS X

Similar Messages

  • File tranfer avoiding temp folde

    Is there a way to tranfer files (nomad explorer) from the zen touch to the pc hdd avoiding the temp foler?
    Asking because although my windows partiotion is almost full i have like a lot of gigs of free space elsewhere and cant tranfer the files i want.
    Thnx happy holidayz

    Well I just changed the path to my massi've storage partition. Moving isnt a problem anymore.
    If anyone wants to do it he just has to change the Temp dir of his profile (f.e. C:\Documents and Settings\admin\Local Settings\Temp) to wherever he wants (f.e. E:\Tempmod).
    The path is specified in the System Properties->Environment Variables.
    njoy

  • File tranfer on through rs232

    sir i want to tranfer a file to another pc through serial port plz hepl ,me out
    maak

    If you had done a search, you would have found the following:
    this code example http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=109527#M109527
    examples of file send & receive here http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=147796#M147796
    this discussion http://forums.ni.com/ni/board/message?board.id=170​&message.id=388871&query.id=53367#M388871
    R

  • CSV to CSV file tranfer

    Hi,
    I need the steps for file to file(csv to csv) transfer scenario. Please help.
    Regards,
    Vinithra

    Hi Vidhya,
    I think you are new to SDN. Please search the SDN before posting such general questions.. You can find a lot of blogs and info. on the same.
    I am providing some links...But, don't forget to search SDN next time
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    The specified item was not found.
    File Receiver with Content Conversion
    Content Conversion (Pattern/Random content in input file)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Regards,
    Sachin

  • Many idoc to one unix file tranfer

    Hi,
    I have a requirement where in i have to extract all the vendor master data into an idoc.For this i am using BD14 transaction and i am giving vendor number and message type as selection criteria.So I am generating the idoc for each vendor number and written the same to a application server file through file port.
    In this process for each idoc one file will be generated and i need to send each file.For example if i have to send 1000 vendors then it will generate 1000 files and i need to  send all 1000 files to other system. My question is 'Is there any way we can write all the idoc into one file and send to other system.
    Many thanks,
    Raghav.

    Hi Raghav,
    For this you can specify the packet size within the partner profile (WE20) outbound parameters settings.
    1) You can specfiy the packet size as 1000 and set the output mode as 'Collect IDocs'.
    2) With this the IDocs will be collected at the ALE layer.
    3) When the packet size reaches 1000 they will be downloaded to a single file.
    To do this you have to run the report RSEOUT00. So if there are 2000 idocs then on running the report RSEOUT00 two files will be created.
    RSEOUT00 can be scheduled as a batch job to run at regular intervals.
    Hope this helps.
    Regards,
    Gajendra.

  • HT2534 how to itunes file tranfer in iphones 3gs

    how to long time iphone games playing

    FYI, I now remember what I wasn't remembering.
    I ran a apple script to copy the file location to another field that I could display.
    Then I could sort and find music files not stored in the correct master location.
    Sundry Info was the script I used to copy the file path to another field (comments, description or categories)
    I used categories since I wasn't using this field.
    bdog

  • How to calculate file tranfer rate

    I am working on applet which uplaod the files on ftp now i want to add progress bar on it which tell me exactly how much time it takes to upload or how manay percent it completed.
    import cz.dhl.ftp.Ftp;
    import cz.dhl.ftp.FtpConnect;
    import cz.dhl.ftp.FtpFile;
    import cz.dhl.io.CoFile;
    import cz.dhl.io.CoLoad;
    import cz.dhl.io.LocalFile;
    i am using these libraries

    So what's the question?I think it is how do I put in a progress bar which means I need to know how to calculate the file transfer rate.

  • Slow file tranfer on my pc

     hai
    I am having HP pavilion dv6 laptop with windows 7 and a 6gb installed ram which i got when i bought my laptop.
    It seems that whenever i try to copy my files to external hdd initially it start copying with greater speeds(52mb/s....)
    but when then it reduces to 1 or 2mb/s or even to kb.i have tried using teracopy but it looks like teracopy is slower than windows explorer copier.
    pls help me!!

    mukthar123 wrote:
     hai
    I am having HP pavilion dv6 laptop with windows 7 and a 6gb installed ram which i got when i bought my laptop.
    It seems that whenever i try to copy my files to external hdd initially it start copying with greater speeds(52mb/s....)
    but when then it reduces to 1 or 2mb/s or even to kb.i have tried using teracopy but it looks like teracopy is slower than windows explorer copier.
    pls help me!!
    What kinda ext HDD do you have and you sure it's not full to capacity that it slows down? If your drive is too full that will cause it to slow down when moving files.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • File Tranfer support in Tuxedo Messaging

    Hi,
    I would like to know if the file transfer support is there through tuxedo service call or not?
    We have a scenario where by we need to bring back .pdf files in the output of a tuxedo service call which are already created through a process.
    I would like to know the following detials about it:
    1. The data type supporting the files.
    2. Any limitation on the file size.
    3. Any special configuration setting requirements.
    Thanks,
    Nitesh

    Nitesh,
    Tuxedo does not offer an API to directly support the transfer of application
    files, but it is easy to implement file transfer yourself using a Tuxedo
    service.
    The best way to implement file transfer is write a Tuxedo service that takes
    as input or output an FML32 buffer with 2 fields:
    FILENAME should be a string field containing the file name of the file to be
    transferred
    FILEDATA should be a carray field containing the actual contents of the
    file.
    FML32 buffers can hold over 2 billion bytes of data.
    (Note that from time to time you may see the term "file transfer" used on
    this newsgroup to describe the situation when Tuxedo uses a temporary file
    to transfer a message that cannot fit on a message queue. This use of term
    "file transfer" is different than the usage of "file transfer" which
    describes transferring application files between machines.)
    Ed
    <Nitesh Gandhi> wrote in message news:[email protected]..
    Hi,
    I would like to know if the file transfer support is there through tuxedo
    service call or not?
    We have a scenario where by we need to bring back .pdf files in the output
    of a tuxedo service call which are already created through a process.
    I would like to know the following detials about it:
    1. The data type supporting the files.
    2. Any limitation on the file size.
    3. Any special configuration setting requirements.
    Thanks,
    Nitesh

  • Dynamic file tranfer

    hi Gurus,
             I have a scenario where in I will get the filename with complete path as a response from the JDBC adapter and I need to get that file and copy it to another location with the same filename.
    I tried the file copy with file adapters on both sides creating the dummy dts,MT's but I dont know how to do it in this scenario.
    I am using a BPM my complete scenario looks like:
    webservice(sync)->xi->jdbc(sync)->file(async). I am doin the following:
    1.sync recieve(opens bridge)
    2.tranform(db req)
    3.send synch(db call)
    The response of this wil be a filename and now I dont know how to do from here.
    4. I am lost..........
    Thank you

    Thank you Prakash,
              I think either I havent present my question properly or I am not getting what you said correctly. I dont need anything in the file. The file name that I get as a response from the DB is the actual file with some content in that and I just need to move that file to a new location.
    For eg: The response msg I get is <statement>
                                                          <row>
                                                              <filename>c:/dir/file1.txt</filename>
                                                          </row>
                                                        </statement>
    So that file1.txt has something in it and I just need to copy that from 'dir' to say 'targetdir' with the same file name.
    thank you

  • How can I improve my file tranfer performance

    I have file transfers that take 10 hours using rcp. (Huge amounts of data) I want to use SCP but a 1 GB file takes 4mins with a max transfer rate of 4.5 Mb. RCP only take 1.5 mins. (SFTP take only a few second less that SCP)
    I have a Sun E10k with 100Mb cards locked at 100/full. Does anyone have a suggestions on how to bring SCP more in-line with the rcp transfer rate?

    is this from ISP-to-ISP or is this within the same network LAN..? How close are the computers 10 feet away or 2000 miles away?
    What is the packet size set for ? There are many factors here when passing data back-and-forth.
    You have transfers that take 10 hrs using rcp. Then you say rcp takes 1.5 minitues. Interesting but need more facts.

  • File Tranfer from First Generation (1998!) iMac

    Hello all. I hope someone can help me with this conundrum. I'm trying to transfer all the files from the hard drive of the 1998 original first gen imac i had in college to my new powerbook. I really want some of those files before the computer leaves my hands.
    I've already tried plugging in an external harddrive, but the computer wouldn't recognize it. I tried to install the software that came with the drive, but it didn't want to do that either.
    Is there anyway that I can save these files to another place? Especially now that so much time has elapsed (9 years!) and the technology then as compared to now is so different.
    Help?
    Thanks,
    Jason
    Powerbook G4   Mac OS X (10.3.9)  

    You should be able to run an Ethernet cable between the machines. Your new Mac should have auto-sensing so you can use a regular cable.
    You will need to go into
    -- Preferences > Sharing > Services and turn on Personal File Sharing.
    -- Preferences > Sharing > Internet and turn on Share your local connection. ( This turns on the dhcp client. )
    You will need you ip address
    Preferences > network
    copy down the ip address on built in ethernet. You may need to activate you internet connection for the ip address to appear.
    On your iMac.
    apple > control panels > tcp/ip
    set you get info from dhcp
    apple > network browser
    click on the finger
    and fill in your ip address
    fill in your short username & password
    double click on the disk name that appears in the network browser. Yes, you are running things from you old imac but you can copy what you want.
    Robert
    I have done this with the iMac Rev A running Mac OS 8.6.

  • Bluetooth Keyboard slow to respond during file tranfer

    I have a pc that syncs to my mac mini. On the PC there is a mapped drive for a folder on the mini. When the app is running the sync and copying files over everything on the mac seems to be running fine except for the bluetooth keyboard that I have connected to the mini. The keyboard becomes almost unresponsive and if I try and type it will sometimes not register any key presses or it may see multiple. Once the file transfer stops everything is back to normal....

    Hi,
    I just posted on the Bluetooth forum a similar problem. On my 2009 mini, which is my media center, I was getting erratic mouse response and delays of literally minutes (sometimes between 10 and 15) between keypresses and characters appearing. This was during ripping DVDs to my external 1.5Tb disk, and renaming the folders in the Finder. My hard drive went down, and when I shut it off, the problem seemed to go away. The drive got replaced, and now I am seeing the problem again. I can't create it on-demand, it seems to get worse the longer the system is up (after boot or sleep).
    Any comments or suggestions?

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

  • I woke up at 3am to find my MacBook Pro in the middle of a file transfer using AirDrop.

         I woke up at 3am to find my MacBook Pro in the middle of a file transfer using AirDrop. I had not accepted any file transfers via AirDrop as I was asleep so I am a bit confused by all the posts that say that the only way it will work is by the end user accepting a request to transfer files. I am on a home network which has both a soft and hard firewall. I checked my firewall logs and have no signs of intrusion or intrusion attempts. I checked my network map to see see if someone had brute forced my router and was using it but the only assets listed were mine. My router is set up to not be accessable from wireless computers, and is filtered to only allow use by a assets in the MAC Address list. I am an IT by trade but this is my first mac so I am not completely savy in the ways of the ways of macdom. I have found several posts with suggestions on how to turn off and came up with the following terminal command "defaults write com.apple.NetworkBrowser DisableAirDrop -boolean YES". My question is this, how is it possible that my AirDrop was activated and in the middle of a file tranfer if I did not initiate it? I do have a MacMini on my network but its WiFi is turned off so the transfer was not with it. I have read on different posts that you cannot AirDrop if the computer is not on the same network but there were no foreign assets on my network. So my question is this
    1. If AirDrop can not be used with another computer if it is not on the same network, how was it being used?
    2. How can AirDrop be used to xfer files if I did not accept or initate it?
         It seems to be a pretty big security hole to me. Any suggestions or help would be greatly appreciated.
    Ethan

    It could just be a bad disc - I use Verbatim and have only had one fail in a ten-year time period. Try getting a batch of Verbatims and see if you have any problems. I didn't even know that there were Kodak branded discs...
    Clinton

Maybe you are looking for

  • Free Lion update not showing in purchases in App store.

    Hi I have just bought a new I mac. I want the Lion update so went to the up to date program page and entered in the information required. Lion sucessfully purchased although is not showing in the purchases tab of the app store. I have checked my orde

  • SB Audigy SE (SB0570) / Win 8.1 64bit completely freezes on sound playback

    hi there, I got a problem: my audigy se doesnt work on windows 8.1 64bit. I freshened up my pc and installed a clean win 8.1 os on a new harddrive. I tried installing the official SB24_PCDRV_LB_1_04_0090a.exe driver. I got a audigy se (sb0570), and d

  • Adobe Content Viewer problem. Please Help me...

    Hi after updating online. Folio, I tried to update the trial version of the publication on my iPad but I get this message: "the issue isavailable for dowload, but new signing for an application version. Update the application from the App Store. "I w

  • Record.CheckOut Status

    Hi, Can someone tell me what exactly the difference is between Record.CheckOut Status =1 and Record.CheckOut Status = 3?I have checked it in MDM API.But i need some inputs.At times the status of the record is returned 1 and at times 3 in my code.When

  • Broken Codec in new versions of QuickTime?

    Broken Codec in new QT upgrades? Why is it that my QuickTime video files: (Dimensions 720x480, Codec DV/DVCPRO-NTSC, Integer Big Endian) playback crystal clear when using QT 7.0.4, but when I playback these same files using QT 7.1.6 or QT 7.3.1 or th