Fastest File transfer (Point to point)

Hi guys,
I'm programming a Java RMI system, which should function similiarily to Napster or any other file sharing freeware.
However, I am stuck with client-to-client file transfer.
Here is what I have now:
========================
1.) An RMI server, which should be the middle man between two clients.
Here is a sample procedure:
- Server decides client A is the server on the socket connection.
- Server determines client B is the client on the socket connection.
My problem is
=============
How do I use socket to send and receive binary files?
Is socket the fastest way to send files?

Why are you doing this from scratch?
Check out:
http://www.jxta.org
Les

Similar Messages

  • Fastest file transfer PC to iMac??

    Pictures, Word docs, and music files are primary interest.  The iMac app via wifi transfer on home network is saying 15+ hours!
    Gotta be something faster...?

    a. what kind of wifi network?  802.11n or g between them?
    b. just how much stuff we talking about here?  a few megabytes, 100s of gigabytes, terabytes?
    If connecting over a LAN on 802.11n, you should actually be getting pretty good speeds.  Unless you have something like fibrechannel cards in both machines, why not just let it copy overnight?  Who cares how long it takes if your sleeping while it does it

  • 2 steps STO - Load Transfer Points

    Hi gurus,
    Could you please advise how we could manage below flow.
    We would like to have a kind of 2 steps STO in case we have to deliver from Plant A to Plant C (STO with vendor Plant A and as receiving plant, Plant C) but we have to transit by Plant B...
    . STO1 is created between Plant A and Plant C (Plant A > Plant C)
    . Physically: Plant A > Plant B > Plant C
    . For STO1, the goods are transiting by Plant B and combined to other goods directly issued from PlantB
    . We would like to track the fact that the goods of STO1 are downloaded from the truck into Plant B but in fact we can not yet post the GR because the initial STO has been created for Plant C and not Plant B. The Plant B is only a transit point...
    This kind of flow will happen in case the truck leaving Plant A to Plant C is not full and that we have the opportunity to add some goods from Plant B in order to have then a full truck leaving Plant B towards Plant C.
    The questions are:
    1. How can we design that the truck leaving Plant A to Plant C and which is not completely full needs to transit via Plant B. >>> Routes ? Is it possible to use "load transfer points",  how can we then see the different steps of the goods? In the Outbound Delivery? In the STO ? In the shipment ?
    2. We also want to be able to track the different physical statuses of the goods.
    Thanks for any ideas that could help us.
    Regards,
    Karim

    Just a precision, I'm actually on a R/3 4.6C system.
    Regards.

  • How can i extract the text from the PDF files,Power point files,Word files?

    hi friends,
    i need to extract text from the PDF files,Power Point,Ms word files.Is it possible with java?if yes how can i extract text from those files.please give solution this problem.i would be thankful if u provide solution.
    regards,
    prakash.

    Find an API which could read each of those files and start coding.

  • How do I download/open documents if my iPad isn't giving me the option to "open with---"? (It's only allowing me to view the files/power points)

    How do I download/open documents if my iPad isn't giving me the option to "open with---"? (It's only allowing me to view the files/power points)

    Do you have an app to open it installed? Keynote. powerpoint

  • Why is my file transfer so slow?

    I got a Time Capsule for Christmas and am hoping to use it as a backup drive but also storage facility.
    I understand it can take some time to back up the initial disk (I've only had my Macbook since October) but 72GBs taking 24 hours and stalling at 5 seconds remaining is unusual isn't it?
    I also tried copying a folder the size of 8GB to the drive and it said it would take 2 hours to do this! Is there a common problem with the transfer rate?
    And are there any fixes?
    Colm

    You are using wireless I presume. Wireless is a shared media and transfer speed on wireless whilst absolutely fine for internet is going to slow things right down to move large files. The basic recommendation is to do the first backup over ethernet and then use wireless for the incremental backup.. anytime you need to move large files or directories then cable it.
    8GB in 2 hours is slow.. but the estimation is made at the point the wireless maybe busy. And those estimations are not accurate at all.
    Try and get the your Macbook close to the TC and check the link speed. You can see it by holding the options key and clicking the airport icon... at least you can in SL .. Lion not sure.
    You want it using 5ghz as the TC is slow in 2.4ghz and range is poor at 5ghz.
    IMHO it is better to force the wireless yourself to 5ghz by using different network names. But Apple designed it to automagically swap to the fastest link.. the trouble is, links tend not to be dropped during a file transfer.
    stalling at 5 seconds remaining is unusual isn't it?
    Not for wireless it isn't.

  • IChat File Transfer/Video Chat won't work... :(

    Hi Everyone,
    I am trying to get ichat to allow file transfers/video chatting on my Mac, I have a feeling that the setup through the routers that we have are not allowing it to function as it is constantly giving me errors. My set up is a Cable Modem hooked into a Netgear WGR614 v6 and then an ethernet wire running from that router to a Linksys WRT54G v8. I have the WRT54G set up with the following settings:
    IP: 192.168.1.136
    Subnet: 255.255.255.0
    Gateway 192.168.1.1
    Static DNS 1 and 2: Are my IP's DNS servers
    Static DNS 3 is blank
    Local IP address is .199 with a subnet of 255.255.255.128
    I have DHCP enabled starting at .200 with 30 users
    My computer is also set up statically at port .233.
    The Netgear WGR614 v6 is set up with the following settings:
    Get IP/DNS dynamically from ISP
    DHCP Range from 192.168.1.2 to 192.168.1.51. Router is on a subnet of 255.255.255.0 the linksys is set up statically to the Netgear
    SO, this brings me to my issue, I am trying to get ichat file transfer/video to work, I have followed the instructions for setting up portforwarding from portforward.com for ichat on both the netgear and the linksys. On the linksys, i set the IP address to forward to as my computers (.233)
    On the netgear, i set the ip address to forward to as 192.168.1.136 (the static IP of the linksys).
    Anyway, I am hoping someone can point out what I am doing wrong as I am still getting this error: An AIM error has occurred. Unable to talk directly to your buddy. I am also getting this error: An AIM service error occurred. The server message was: Serv:RequestTimeout.
    My OS X firewall is off.
    THANK YOU SO MUCH FOR YOUR HELP IN ADVANCE!!

    Hi,
    I am not sure I have understood your Networking here.
    You say the Netgear is getting an IP (Via DHCP) from the ISP.
    You go onto say it is at 192.168.1.1
    It issues IP addresses from 192.168.1.2 through 192.168.1.51 and the Linksys has an IP outside this range at 192.168.1.136
    Your computer is at 192.168.1.233
    As both devices are using the 192.168.1.xxx group and doing DHCP (even with restricted groups) how does the computer know which one to connect to ?
    You should be able to change the group that each device is using for it's own network (I would suggest the Netgear)
    You should also turn Off DHCP (to the LAN) in the Netgear so it's own network (subnet) only goes as far as the Linksys.
    Similarly in the Linksys make sure DHCP is Off or change the Mac to use Manually (Static) with DHCP.
    Both devices can do UPnP found in the Administration tab in the Linksys and the WAN page of the Netgear.
    Turn Off/disable all Port Forwarding in both devices.
    It may also pay to copy across the Linksys and Computer the DNS server IPs from the Netgear.
    2:47 PM Wednesday; August 29, 2007

  • New to MacBook - slow LAN file transfer problem

    My new MacBook is painfully slow when wifi-ing to my house LAN.
    I turned in my old G4 iBook for a MacBook (2GHz C2D, 2GB, 10.4.9, all updates). I have a LAN that consists of a wired 1G Ethernet backbone (a Mini and a Powermac G5 are wired in) and a Snow AEB that provides 802.11g wifi access to the LAN. The wired LAN connects to a D-Link GB Ethernet switch so the wired systems can exchange files fast. The switch connects to a D-Link EBR2310 router that connects to a cable modem to ComCast. The router has the latest firmware (1.05, it's an 'A' version router).
    The Mini, G5, and MB are static IPs on the LAN. The D-Link router passes out DHCP addresses >100, with addresses <101 reserved for static LAN IPs. I use static IPs for network reliability when recovering from power outages and other unforeseen glitches. The LAN has worked very well in this configuration, with fast file transfers among machines and good stability.
    With my old 802.11g G4 iBook, I was able to watch DVDs that are stored on an external FW drive connected to the Mini. No stalls, no pauses, no dropouts - MenuMeters showed an average throughput of about 700KBytes/sec on the iBook when viewing a DVD. I used both VLC and DVD Player with good results.
    With my new MacBook, I can't view my DVD files. 802.11g network transfer rates to the MB (indicated by MenuMeters and by Activity Monitor) vary rapidly from a high of about 1.1 MBytes/sec to 20 KBytes/sec. Movies stall, skip, etc.
    Simple file copies from one system to another are also much slower with the MacBook - an average of ~100KBytes/sec vs. ~ 1.5 MBytes/sec with my old iBook. In short, the MacBook is dog-slow in file transfers from the other machines compared with my old iBook when using the wifi connection, with no change to the network infrastructure in going from the old laptop to the new. I would like to fix this.
    My AEB is set up in bridge mode (simple access point) with WPA2 security. All three Macs are completely current with latest updates, as is the Snow AEB. The MB has 4 bars of signal strength. Slow file transfer problem does not change when moving the MB to or from the AEB.
    Curiously, when I download a large file (like the Intel 10.4.9 combo update), the MB shows a steady ~800KBytes/sec download speed, with none of the speed variation it shows with file transfers from either the Mini or the G5. File transfers to/from the MB to either of the other Macs are very slow.
    Both the Mini and the G5 have Airport cards: when I switch them from wired Ethernet LAN to wifi LAN, they transfer files between each other at ~ 2MBytes/sec - about what you'd expect from an 802.11g protocol. So the slow file transfer doesn't seem to be due to the AEB, it seems to be specific to the MacBook. When I connect the MB using its hardware Ethernet port, files transfer just as fast as the other systems.
    I have tried these measures, without effect on the problem:
    - power off/restart of every component in the system;
    - changing the AEB to an open network mode;
    - changing the MB from static IP to DHCP;
    - toggling IPv6 on/off;
    - running no applications other than Finder on all systems;
    Activity Monitor on the MB doesn't show anything sucking up CPU cycles during file transfers. I have plenty of RAM. The only thing I've changed in the network is the swap of the iBook for the MacBook.
    Can anyone suggest what else I can try to make acquisition of this nice shiny MacBook a step forward, rather than a step back? Thank you!
    G5 DP 1.8, Mini CD1.83 GHz, MacBook C2D,2GHz   Mac OS X (10.4.9)  
    G5 DP 1.8, Mini 1.83 GHz, G4 iBook   Mac OS X (10.4.8)  
    G5 DP 1.8, Mini 1.83 GHz, G4 iBook   Mac OS X (10.4.8)  

    Hi,
    Did you want to use the Live Migrations for that?
    We recommend that you configure separate dedicated networks with gigabit or faster speed for live migration traffic and cluster communication, and these networks should be separate from the network used by the management operating system, and from the network
    used by the virtual machines.
    For more and detail information, please refer to:
    http://technet.microsoft.com/en-us/library/ff428137(WS.10).aspx
    Regards.
    Vivian Wang

  • SCCM Distribution Slow? BITS disabled, bandwidth unlimited, regular file transfer is fast

    Hello,
    I have noticed that when I'm distributing large files (Operating System Images) to our on-site distribution points, the file transfers have been taking a substantial amount of time. Using resource monitor and task manager, the transfer is happening at less
    than 100Mb/s on our Gigabit network. However, when I do a normal file transfer between the site server and distribution point using Explorer, the transfer maxes out the connection at 970-987Mb/s.
    I have confirmed that BITS is disabled for all my distribution points, maximum threads per package was increased to 500 with no performance increase, and Client Computer Communication under site properties is set to HTTPS or HTTP (distribution points set
    to HTTP).
    Setup:
    Site Server - Server 2012
    3 Distribution Points (On-site) - Server 2012
    I did a lot of research online the past few days and didn't find anything relating to my issue, nor any solutions resolving this slow transfer. Is there something I'm not understanding correctly or may I have a setting wrong?

    BITS is not used when transferring content to DPs (unless you are using pull DPs).
    Have you alreada checked if the transfer to those DPs is throttled (can be found in the properties of each remote DP)?
    Also monitor distmgr.log and pkgtransfermgr.log.
    The 'Rate Limits' tab on each distribution point's properties page is set to unlimited. The only thing I can think of is the environment was setup in our old building (just built a new headquarters) on a 100Mbit connection, but the new building now has gigabit. 
    distmgr.log and pkgtransfermgr.log doesn't really give me any indicators of what would be causing it to be slow. :\
    Should I open a premiere ticket?

  • Can we able to write code File transfer protocol code in HTTPServlet file ?

    Can we able to write code File transfer protocol code in Http file ?
    if Yes , give some details about how to write
    if No, give some reason why not .
    Thanks

    Hi Paul(DrClap)
    My question is ,if we are using a java
    file(servlet) which is handing httprequest , can we
    use this to handle FTP request also.As I already said, you can't use a servlet as an FTP server.
    can we able to write FTP code in above mentioned file?As I already politely pointed out, "FTP code" is ambiguous until you specify whether you mean server or client code.
    So. If you don't understand what clients and servers are, then drop this question and go away until you do understand. It's not that complicated.
    And please don't waste my time by responding with the same questions over again.

  • Windows 7 network file transfer absurdly slow

    I know there are plenty of other posts about slow network file transfer. Here, elsewhere, I can't say I read them all but most are referring to slow down to 1MB/s.
    I am getting <20KB/s.
    If I transfer a very small file (less than 100KB) it would start quickly then slow down to <20KB/s. all subsequently network file transfer would be slow, a reboot is needed to reset this. If I transfer a large file it would be stuck on calculating for
    a long time and then begin with <20KB/s immediately.
    This is a fairly newly built desktop. Realtek gigabit on-board LAN of ASRock Extreme3 gen3. I have tested network file transfer to and from a Windows 7 laptop and a MacBook Pro, so I am fairly certain it is the desktop's problem. The slow speed only happens
    with one direction, outbound from the desktop, regardless of whether I initiate the file transfer action from the origin or the destination. Inbound network file transfer and internet speeds are fine, so I don't think this is a hardware issue.
    Remote Differential Compression is off. Drivers are up-to-date from ASRock's website. I am getting 74.8MB/s internet upload speed from speedtest.net (http://www.speedtest.net/result/1852752479.png). Inbound network file transfer I can get around 10-15MB/s.
    I looked everywhere and can't find symptoms that fits my case well. I'd be cheering if I can get 1MB/s. Well, maybe not, but at this point it is more efficient for me to upload everything to the Internet and download them again than to use local file transfer,
    which is just absurd.
    I am hoping this community has some insight for me to troubleshoot this. I don't see anything obviously related from the Event Viewer, and beyond that I just don't know where else to look.
    Any suggestions are greatly appreciated, thank you in advance.

    Hi,
    Firstly, would you please try again to install the HotFix instead of disabling TCPAuto-Tuning and Windows Scaling heuristics via netsh manually.
    If issue persists, please try following:
    1. Test the issue in Safe Mode with Networking.
    2. Disable "Large Send Offload".
    How to:
    1) Open an elevated command prompt and press Enter:
    netsh int ip set global taskoffload=disabled.
    2) Disable and re-enable the network interface or reboot your system. 
    3) Run the following command in an elevated command prompt to confirm the command above is successful:
    netsh int ip show offload
    3. Check the value of “Speed & Duplex” is Auto in Advanced Properties of the NIC. If not, please let us know your value.
    4. Check if “Flow Control” is disabled in Advanced Properties of your NIC.
    5. Go to your Start Menu, search for “Local Security Policy“ and run it as administrator. Under Security Settings -> Local Policies -> Security Options.
    1) Open “Network security:Minimum session security for NTLM SSP (including RPC based) Clients”,
    unselect “Require NTLMv2 session security” and “Require 128-bit encryption”.
    2) Do the same operation to “Network security:Minimum session security for NTLM SSP (including RPC based) Servers”.
    3) Open
    the policy “Network Security LAN Manager authentication level“. Locate and select the option “Send LM & NTLM – use NTLMv2 session security if negotiated“. Click Apply, and close out of all
    policy management windows.
    Hope this helps.
    If a post solved your problem, click “Mark as Answer” on the post. If a post helped you, click "Vote As Helpful" on the left side of post.

  • Alert if there is no file transfer

    Dear All,
    Client needs to get a alert if there is no file transfer for a day(Interface will execute 2hrs per day).whether we can achieve this in PI 7.0 ?
    Regards,
    Manikandan

    The standard functionality of the alert mechanism does not provide for this. You can however, try using a pre-processing script that will throw an exception if no file is found at the specified time. Use Availability Time planing mechanism to active your sender adapter at the desired point of time.
    You can also refer the following links for more help on this.
    Exception Throwing in case of "No File Found"
    trigger email if no file found
    The Other alternate
    Create a ccBPM process. When the scenario starts, have the Sender channel as one of the steps and put a timeout for the correlation. Since no messages will come, correlation won't be met and it can then trigger an alert by going to the exception branch.
    Regards
    Pothana

  • Backed Up Music/Missing Music/Ipod File Transfer

    Hi there!
    I recently rebooted my computer (Windows XP) back to factory settings, which obliterated my iTunes. I had backed up my files (or so I thought) by saving my "iTunes" folder from the "My Music" folder onto an external hard drive--as suggested by the New York Times tech section. When I rebooted, reinstalled my iTunes start up disk from 2005, and transferred my music back into the correct folder, very few songs seemed to have survived the transfer--including none of my purchases and none of my playlists.
    When I then updated iTunes to the current version, all my playlists and my entire library came back, but often in name only. Many, many songs--including many purchases--now have little exclamation points next to them that indicate that iTunes cannot find the original file, yet they are listed, thus taunting me that iTunes knows I own them, but refuses to cooperate. This is true both when the external drive is plugged in and when it's not. In addition, the blocks of songs that made it versus those that didn't seems very random--it's a mix of downloads from early on, recent trips to the iTunes store, and in between.
    I know that it is my responsibility to back up my music, but I thought I had taken appropriate precautions. I have read in a few other postings about the option to select File-->Transfer Purchases from Ipod (all of my purchased music is alive and well on the ipod), but nothing really seems to happen when I do this. How do I know if it's working? Is there a trick to using this tool? Having tried it, I have seen no removal of the exclamation points, and I'm worried to do it wrong in case iTunes erases my ipod as well.
    Any pointers or assistance would be very greatly appreciated!

    hmmm... ok, so iTunes has updated itself to version 8.2 something since i first reinstalled the 2005 version, so i think it's entirely current. i am happy to remove this version of itunes and start over without reinstalling the 2005 version, if you think that will help. i'm just not sure exactly how to go about doing that. i'm also not sure how to get around this full disk warning, as it also happens when i add the library to the desktop rather than try to work from the external HD (which, it seems to me, should give it the full use of my internal hard drive to operate, which is far from full).
    so, let's say that uninstalling and restarting iTunes won't save me or my music. how do i then go about returning the music to itunes from my ipod? i'm so sorry for the peppering of questions, i really am a technologically lost cause...
    to clarify:
    1. should i uninstall my iTunes and start over?
    2. if yes, how do i do this without the 2005 start up disk?
    3. if i do this and my music doesn't seem to automatically recover, should i then try the shift option?
    4. how do i get around the "full disk" warning message if it continues to happen?
    5. if everything else recovery-based fails, how do i transfer my purchased files from my ipod to my itunes if nothing seems to happen when i try file-->transfer from ipod?
    thank you both so, so much!

  • Bluetooth File Transfer Problem with Video Clips -...

    Hello!
    I am posting this problem even though a similar one is claimed to be solved ...
    I have a similar Problem with BT video clip file transfer in my E5-00 as someone had earlier with music files (SW up to date). Except that in this case the files are unique video clips received from one of the latest Samsung Android phones via Bluetooth (don't ask me which format).
    Tried the obvious first, using Windows File Manager over USB. Even Windows Search could not locate the files, not even using wildcards.
    Also tried using Ovi Suite Syncronisation, but the files did not appear in either Photos/Videos or Messages (even though the files are in the SMS Inbox - does not make sense why). 
    The problem in applying the solution approach presented here for Music seems to be that the files cannot be played at all in my E5-00's. Therefore I don't get as far as to the menu where the E5 would ask whether or not the files should be saved or not.
    So far I have not been able to connect to an old bluetooth laptop (Windows XP) so that the Bluetooth Exchange would connect let alone seen whether the BTexchange works in this case or not.
    Is there any other chance of getting to the files through the directory structure? If so, please give me the (Windows) directory path? Any other advice than switching to Android?

    Unfortunately I have reached an impasse.  If I touch a video clip (in organizer) the system crashes.  I mean locked up cold. I'm not sure what has caused this but I do know that I will not be able to communicate correctly or sufficiently with you in order for you to help me out.
    I've found PS and Premier to be very difficult to work with.  Very, very frustrating.  Photography, both still and video, is not as enjoyable as it once was.
    Again, I very much appreciate your initial help and if I get to a point where I've improved my situation ... I'll reach out again.  Thanks

  • WRT350N File Transfer Issues...

    I'm unable to transfer files from one PC to the other.  I've upgraded the firmware to the latest revision (1.03.2).  PC1 is my laptop from work.  At work, I can connect to it w/o any problem and transfer files to/from any PC on the work network.
    From home, If I attempt to connect to the laptop from the home computer, XP Pro comes back w/ "Cannot find...".  This should be fairly simple, but I can't seem to get it working.  I had the same problem w/ my other Linksys router before it died.  I went w/ the WRT350n because of the 1GB transfer rate between computers.
    If I attempt to ping the laptop from the desktop, I get the correct results.  Going from the desktop from the laptop, no such luck.  Both systems are in the same workgroup and running XP Pro.
    If I attempt to RDC into either system, I'm prompted for a username & password.  I receive the "This computer can't connect..." error.  Single Port Forwarding w/ port 3389 is enabled.
    I've just about given up...  Anyone have any ideas?

    I have this exact issue on my new WRT 610.  I'm all connected between laptop (Vista Home Premium) and desktop (Vista Ult), but when I try to copy files from a shared dir on the desktop to my laptop, it works ok for a while and then STOPS dead in the water after 10-15 mins and says "file is no longer located at location xxxxx".  Basically, my connection severs at that point, in midstream, because I can't even see the desktop anymore from the laptop until I reboot (I just reboot both machines).  This thread seems to indicate that shutting down the firewalls on both machines is the solution and thus is ok to do, but I'm unsure of that solution and scared to implement it.  I did a search and it seems that it is NOT recommended to shut down the Vista firewall even tho I have the hardware firewall now...  because only the Vista firewall can monitor the outgoing connections and halt them...   is this true?  Appreciate feedback, in the meantime I will risk it for a half hour and shut them down and see if the transfer goes longer and/or quicker.  My transfer speed between the two 'puters is disappointingly slow altho I can't quote an exact speed...  70 megs of files was gonna take 2 hrs and 30 mins per the windows popup.
    P.S. Can someone please explain why the Vista firewall would be the issue here?  Why would it allow the transfer for 15 mins and 4-5 MB but then slice the connection?  Wouldn't it either allow the full file transfer or else not allow it at all?  I don't understand.
    Message Edited by asb3pe on 06-20-2009 07:16 PM

Maybe you are looking for

  • Separate project for each ADF task flow?!

    Hi, We have a BPM process application which is having a few human tasks. The form for each of the human tasks is similar. We'd like to be able to share some page fragments or code between them and create single web application to handle all the human

  • I can't read crash reports

    I realize my PS cs3 is outdated and I only have a G5 power pc tiger - but my PS worked beautifully until around the time I loaded in an Epson NX625 and its extras. Now PS keeps crashing at startup. Only PS; my Bridge and others don't. I'm going crazy

  • How to call the XML file as PrivateResourcePath in JSP

    Hi All, I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution. locaiton: dist/PORTAL-INF/layer-config.xml   <?xml version="1.0" encoding="utf-8" ?>

  • I have malware and can't get rid of it...

    After running Bitdefender, it found this: Gen:Variant.Symmi.2065     Disinfect failed     /Users/rippeleffect/Library/Mail/V2/[email protected]@imap .mail.yahoo.com/Deleted Messages.mbox/AA6F5AF9-63F3-4748-82C8-E7C555C76881/Data/8/7/2/2/Messages/2278

  • Scanner is not recognized

    Hello all, Attempting to use scanner; MUSTEK SE A3 USB 1200 PRO; with new mac book pro 10.8.2 ; this scanner worked fine with iMac 27" 10.4.11; now it's not recognized by macbook; doesn't come up as a device on Image Capture; I know it's not on the s