WIFI dies when transferring big files over the network

Hi, I have Dell Inspiron 1520 with ipw3945 driver, when I transfer big files over the network, my wifi dies, anybody knows what could it be? If you need additional information, feel free to ask...
Thanks in advance

I guess we shall see. I can't imagine we are the only 7 with these issues.  Mine is mainly just lag... and overall slowness.  I hope to work through this.  If it lasts much longer I will have to revert back all 3 of my lappies to FC which I really do not want to do.  But on the lappies i connect via wireless 90% of the time and need it to work. 
By the way how are you guys configuring your wifi?  I am using the iwl drivers and wicd.
Well I did some more testing and loaded up netcfg and still get the same results so that rules out that part.  I also did some packet captures and I am getting a bunch of tcp retransmissions followed by tcp segment lost followed by a reset which in turn kills my rdp session (remote desktop protocol). I also went back several versions of the uucode driver and still get the same reults so I guess it seems to be a kernel issue.  Back to FC I go.  Damn shame...
Last edited by BKJ (2008-10-08 01:08:56)

Similar Messages

  • WiFi breaks when transferring large file over LAN

    Hi guys,My WiFi mostly behaves itself, however if I try to transfer a large file (The last one was ~1GB) over the LAN (standard SMB file copy), WiFi drops out. It gets roughly 30MB through before connectivity is lost.The WiFi continues to show as connected, but I cannot even ping my router.Only disconecting and reconnecting WiFi re-establishes the connection.Any idea what's up? (My router is the black 'home hub' style. I can't find any version information in it's admin panel.) (And before someone asks, no I'm not telling you the contents of the file as it isn't relevant. With the greatest of respect, if you just ask unrelated questions to pry, please don't waste everyones time.)

    Didn't think of that, thanks. Great workaround.I'm going to call Sky, see if they have any firmware updates or other solution. Surely they wouldn't leave such a big knows issue unfixed. I'll report back with what they say. Edit:Just got off the phone from Sky technical support.This issue was first reported Nov/Dec 2014.The chap I spoke to does not know of a fix, or whether a fix is being worked on, or if a fix will ever be worked on.He has not way of contacting the development team to find out any of this information.He said firmware updates are pushed out to routers every now and again. He does not know when this is going to happen and does not have a way to notify about firmware updates installed on my router. (This terrifies me. Sky have a backdoor into my router and can install any code they wish, without even telling me what they changed/installed). There is no way to turn these auto-updates off either. Here's a key thing he did say though:He said he was not at liberty to provide my ADSL credentials, but if I chose to extract them from the router and install my own router instead, they would not have any problem with that.When I told him that this was against their TOS and they could terminate my contract for doing this, he went silent and just said "errr..." Allowing Sky, their subcontractors and anyone else they choose to install any code they wish to my router whenever they please and have free open access to my entire LAN is a total deal breaker for me. That router is getting unplugged today and I'm putting a new router on the credit card. I told tech support this. I said if they have a problem with that, let's go the legal route. I literally have a recorded call where they give me permission to install my own router. 

  • Corporate Win7/Office 2010 | Severe Lag when opening Office 2010 files over the network

    Good Evening Everyone,
    I work in a corporate environment for one of the top banks in the country (USA). We recently upgraded our computers to Windows 7. (The image has office 2010 included in the build)
    I've been experiencing some severe lag when opening Office files over the network. Let me start by saying I've researched a lot and have yet to find a solution that works or even makes much of an improvement. 
    Notes: My laptop is new (64-bit Win 7 Enterprise). The remote desktop where the files lie is new as well. (64-bit Win 7 Enterprise) Both computers have good hardware and more than enough juice to handle applications. 
    There are certain files I work on along with other co-workers that we store on a computer within the office. We simply create shortcuts to the files on our local machines and make changes, etc. from there. However, after this upgrade, every time I try to
    open a file on the remote computer, it takes over a 1 minute to load. I've spoken to our support team who sent someone out and confirmed it's not the network. 
    Both computers are on the same subnet as well. I've changed the trust center settings on both the client computers and "server" to trust any computer on the network. I have also changed the network card's speed from "Auto Negotiate" to
    full duplex 100mbps with no luck.
    I am out of options here and in desperate need for a fix. Even saving changes to a file we work on takes forever. 50% of the time when I close a spreadsheet, the title bar has a not responding message and takes a minute to eventually close. 
    PS: Extra Info : All computers run McAfee AV and use McAfee for disk encryption. I've confirmed all computers are up-to-date in every respect with the AV software. 
    Thanks,

    Try: 
    Open My Computer.
    Open the Tools menu and choose Folder Options...
    Select the File Types tab.
    Select the extension (for example DOC, or XLS) of the file that is slow to open.
    In the Details section, click [Advanced], and another dialog box will open. 
    In the Actions section, click Open then click [Edit...], and another dialog box will open.
    http://windowssecrets.com/forums/showthread.php/149672-10-9-2012-Updates-and-very-slow-opening-of-Office-files
    KR

  • Streaming audio file over the network w JMF. How to know when the file end

    Hi
    I am streaming audio file over the network using JMF. I want to be able to know when a file end so I can close the streaming session.
    Can some one please help
    Thanks

    If you put a ControllerListener on the Processor that's associated with generating the RTP stream, it'll generate an "EndOfMedia" event when the end of the file is reached.

  • I need to copy files over the network PSSession . ( Firewall / DMZ / Etc. )

    Hello
    I need to copy files over the network PSSession . ( Firewall / DMZ / Etc. )
    I have a script where I copy from my local server ( server1) to the remote server ( server2 ), but I can´t not make script that will copy from the remote server to my local by my session. From server2 to server1
    Script is as below ...:-)
    HELP : ....
    winrm s winrm/config/client '@{TrustedHosts="SERVER2"}'
        $Source = "D:\test\ok.log"
        $Destination = "D:\test\ok.log"
        $session = New-PSSession -ComputerName SERVER2
    Set-StrictMode -Version Latest
    ## Get the source file, and then get its content
    $sourcePath = (Resolve-Path $source).Path
    $sourceBytes = [IO.File]::ReadAllBytes($sourcePath)
    $streamChunks = @()
    ## Now break it into chunks to stream
    Write-Progress -Activity "Sending $Source" -Status "Preparing file"
    $streamSize = 1MB
    for($position = 0; $position -lt $sourceBytes.Length;
        $position += $streamSize)
        $remaining = $sourceBytes.Length - $position
        $remaining = [Math]::Min($remaining, $streamSize)
        $nextChunk = New-Object byte[] $remaining
        [Array]::Copy($sourcebytes, $position, $nextChunk, 0, $remaining)
        $streamChunks += ,$nextChunk
    $remoteScript = {
        param($destination, $length)
        ## Convert the destination path to a full filesytem path (to support
        ## relative paths)
        $Destination = $executionContext.SessionState.`
            Path.GetUnresolvedProviderPathFromPSPath($Destination)
        ## Create a new array to hold the file content
        $destBytes = New-Object byte[] $length
        $position = 0
        ## Go through the input, and fill in the new array of file content
        foreach($chunk in $input)
            Write-Progress -Activity "Writing $Destination" `
                -Status "Sending file" `
                -PercentComplete ($position / $length * 100)
            [GC]::Collect()
            [Array]::Copy($chunk, 0, $destBytes, $position, $chunk.Length)
            $position += $chunk.Length
        ## Write the content to the new file
        [IO.File]::WriteAllBytes($destination, $destBytes)
        ## Show the result
        Get-Item $destination
        [GC]::Collect()
    ## Stream the chunks into the remote script
    $streamChunks | Invoke-Command -Session $session $remoteScript `
        -ArgumentList $destination,$sourceBytes.Length
        Remove-PSSession -Session $session

    But have will the script look,  if i need to copy from
    From server2 to server1.
    My script copy from server1 to server2 and working, but I need server2
    to server1.

  • Bluetooth mouse cuts out when transferring files over the network

    Just as the title says: whenever I copy files to a PC over the network (via SMB I think its called) My bluetooth mighty mouse will start getting very jerky and makes is very difficult to move the cursor on the screen. However, my Bluetooth keyboard is comply fine. Both are using Lithium batteries and where just replaced about a month ago. Also, both are in close range...about 2 feet. And it only happens when coping files.
    Any ideas?
    -Scott

    I don't connect to network volumes that often, but I did again today and noticed that my bluetooth keyboard completely cut out (had the "discounted" HUD come up) and then the keyboard would not reconnect until the file copy was complete. I don't know about the mouse as lately I've been using my Microsoft mouse that hasn't been giving me any troubles. (like really, Microsoft and "no troubles" in the same sentence??? lol)

  • Weird X on corner of copied file over the network

    i was copying a file from my Mac Pro (Lion) to my MBP (ML) over the network and i noticed this little x in a black box on the top left hand corner of the icon while it was being copied.
    does anyone know if this is normal?
    the two little red marks mean that the file is a windows file for my virtual machine but i have seen this x before and i was curious to know if this is in fact a Mac OS functionality.
    TIA

    OK. weird. the files on my dropbox have this weird blue x and then a green checkmark in this spot if i am not mistaken.
    so we are saying this is a function of a PROGRESS BAR and it goes away when the copy has completed?
    i mean, it did go away over here but i don't remember seeing it before for some reason.
    THANKS

  • Error -43 when opening a quicktime over the network

    Hi, a really strange one here. I've moved our FTP server internally to a different Mac running 10.5.x Server. Everything seems to be working except when we try and play a quicktime over the network on a Windows PC. The file will play correctly in VLC but trying to open the same file in Quicktime, brings up the error -43. Very strange.
    Anyone got any ideas? Do I need to have something enables in the services for this to work? It all works fine playing on a Mac.
    Cheers,
    Dave.

    More results from some testing. If I move the QT file into the root directory of the FTP server where I have this problem, it plays on PCs fine. Must be something to do with the path name, but this has all worked fine before but on a different version of Mac OS X Server. Any ideas?

  • I cannot printany web pages or emails over a wireless home network. My OS is windows 7 and am using an Epson printer. I know I have the home network set up correctly as i can print files over the network.

    I cannot print any email or web pages over a wireless home network. I know that I can print my files over this network, just not anything from the web or emails using Firefox. I am using Windows 7 and printing to an Epson.
    == This happened ==
    Every time Firefox opened
    == when I set up the wireless home network.

    The most likely reason for this is that the wrong printer is chosen in the File->Print window.
    In Firefox, go to File->Print and click the dropdown box with printer names. Ensure that the correct network printer is selected, then try printing again.

  • Access Denied error when trying to print over the network

    I just upgraded my Internet service and leased a new modem. My laptop is connected to the network and is able to browse the Internet. I have file and printer shared tuned on on both the desktop and the laptop. The printer is listed on my laptop, but I cannot print over the network to my HP PSC 1401 All In One. I get an Access Denied error even though the printer should still be connected to the network.

    bump

  • Slow access when opening XLS or DOC files over the network but XLSX and DOCX files are fast

    I am working with a small office that has 3 Windows 7 Pro PC's.  Two of these PC's have shared folders that hold Word and Excel files and all 3 of the PC's have drives mapped to these shared folders.  When browsing these mapped drive in Windows
    Explorer  and double-clicking a file 1 of the computers takes about 30-50 seconds to open any file with a .doc or .xls extension.  It opens .docx and .xlsx files in a couple seconds though, it also open PDF files very quickly.  The other 2 PC's
    have no trouble any any type of file.  I have tried many things over the last couple weeks to get this fixed.  I have added the file locations as 'trusted locations' in the Trust Center and added a couple Registry tweaks to the SMB/ lanman workstation
    and server. 2 PC's are running Office Pro 2010 SP2 and the other is Office Pro 2013, the one having the slow access is running Office 2010.  Has anyone come across this problem and have any advice??

    Try: 
    Open My Computer.
    Open the Tools menu and choose Folder Options...
    Select the File Types tab.
    Select the extension (for example DOC, or XLS) of the file that is slow to open.
    In the Details section, click [Advanced], and another dialog box will open. 
    In the Actions section, click Open then click [Edit...], and another dialog box will open.
    http://windowssecrets.com/forums/showthread.php/149672-10-9-2012-Updates-and-very-slow-opening-of-Office-files
    KR

  • CC Crashing when copy / saving files to the network

    Example crash report below from a very active user of CC in our photo editing suite.  He claims the crashes are random and there is no pattern.
    This can be opening the first file of the day, or the thousandth.
    I have removed all the plug-ins -  this didn’t fix things I am still getting freezes
    I then deativated GPGPU – still having the same problem
    I have looked to remove possible fonts that may be bad – removed font cache – still the same problem
    I am running out of things to try…
    Can you advice anything else I can try to fix this problem – its becoming very tedious and I am constantly losing work and having to remake it..
    Log Name:      Microsoft-Windows-Diagnostics-Performance/Operational
    Source:        Microsoft-Windows-Diagnostics-Performance
    Date:          27/03/2014 13:56:38
    Event ID:      500
    Task Category: Desktop Window Manager Monitoring
    Level:         Warning
    Keywords:      Event Log
    User:          LOCAL SERVICE
    Computer:      Windsor.er.local
    Description
    The Desktop Window Manager is experiencing heavy resource contention.
         Scenario          :               Video memory resources are over-utilized and there is thrashing happening as a result. Reducing number of running programs and open windows may help resolve this condition.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Diagnostics-Performance" Guid="{CFC18EC0-96B1-4EBA-961B-622CAEE05B0A}" />
        <EventID>500</EventID>
        <Version>1</Version>
        <Level>3</Level>
        <Task>4006</Task>
        <Opcode>39</Opcode>
        <Keywords>0x8000000000010000</Keywords>
        <TimeCreated SystemTime="2014-03-27T13:56:38.248245900Z" />
        <EventRecordID>767</EventRecordID>
        <Correlation ActivityID="{03914C80-F800-0008-253F-3F3C8D49CF01}" />
        <Execution ProcessID="1732" ThreadID="6588" />
        <Channel>Microsoft-Windows-Diagnostics-Performance/Operational</Channel>
        <Computer>Windsor.er.local</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="DisplayDeviceFriendlyNameLength">20</Data>
        <Data Name="DisplayDeviceFriendlyName">NVIDIA Quadro K2000</Data>
        <Data Name="MemoryBandwidth">14620000</Data>
        <Data Name="MemorySize">1780017152</Data>
        <Data Name="Scenario">2</Data>
      </EventData>
    </Event>
    Log Name:      Microsoft-Windows-Diagnostics-Performance/Operational
    Source:        Microsoft-Windows-Diagnostics-Performance
    Date:          26/03/2014 12:59:42
    Event ID:      500
    Task Category: Desktop Window Manager Monitoring
    Level:         Warning
    Keywords:      Event Log
    User:          LOCAL SERVICE
    Computer:      Windsor.er.local
    Description:
    The Desktop Window Manager is experiencing heavy resource contention.
         Scenario          :               The Desktop Window Manager responsiveness has degraded.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Diagnostics-Performance" Guid="{CFC18EC0-96B1-4EBA-961B-622CAEE05B0A}" />
        <EventID>500</EventID>
        <Version>1</Version>
        <Level>3</Level>
        <Task>4006</Task>
        <Opcode>39</Opcode>
        <Keywords>0x8000000000010000</Keywords>
        <TimeCreated SystemTime="2014-03-26T12:59:42.578898300Z" />
        <EventRecordID>764</EventRecordID>
        <Correlation ActivityID="{038B3C90-F800-000A-E6F6-1A41FA47CF01}" />
        <Execution ProcessID="1692" ThreadID="5596" />
        <Channel>Microsoft-Windows-Diagnostics-Performance/Operational</Channel>
        <Computer>Windsor.er.local</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="DisplayDeviceFriendlyNameLength">20</Data>
        <Data Name="DisplayDeviceFriendlyName">NVIDIA Quadro K2000</Data>
        <Data Name="MemoryBandwidth">14620000</Data>
        <Data Name="MemorySize">1780017152</Data>
        <Data Name="Scenario">3</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Application Error
    Date:          27/03/2014 13:52:04
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Windsor.er.local
    Description:
    Faulting application name: Photoshop.exe, version: 14.2.1.570, time stamp: 0x52f4a9f2
    Faulting module name: ole32.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c92c
    Exception code: 0xc0000005
    Fault offset: 0x000000000002bfd1
    Faulting process id: 0x1320
    Faulting application start time: 0x01cf49c26f32ef65
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe
    Faulting module path: C:\Windows\system32\ole32.dll
    Report Id: f9e86479-b5b6-11e3-85b1-18037336c83a
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-27T13:52:04.000000000Z" />
        <EventRecordID>28323</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Windsor.er.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Photoshop.exe</Data>
        <Data>14.2.1.570</Data>
        <Data>52f4a9f2</Data>
        <Data>ole32.dll</Data>
        <Data>6.1.7601.17514</Data>
        <Data>4ce7c92c</Data>
        <Data>c0000005</Data>
        <Data>000000000002bfd1</Data>
        <Data>1320</Data>
        <Data>01cf49c26f32ef65</Data>
       <Data>C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe</Data>
        <Data>C:\Windows\system32\ole32.dll</Data>
        <Data>f9e86479-b5b6-11e3-85b1-18037336c83a</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Application Hang
    Date:          27/03/2014 12:26:54
    Event ID:      1002
    Task Category: (101)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Windsor.er.local
    Description:
    The program Photoshop.exe version 14.2.1.570 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
    Process ID: 770
    Start Time: 01cf49aa8e889de4
    Termination Time: 50
    Application Path: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe
    Report Id:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Hang" />
        <EventID Qualifiers="0">1002</EventID>
        <Level>2</Level>
        <Task>101</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-27T12:26:54.000000000Z" />
        <EventRecordID>28319</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Windsor.er.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Photoshop.exe</Data>
        <Data>14.2.1.570</Data>
        <Data>770</Data>
        <Data>01cf49aa8e889de4</Data>
        <Data>50</Data>
        <Data>C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe</Data>
        <Data>
        </Data>
        <Binary>430072006F00730073002D0074006800720065006100640000000000</Binary>
      </EventData>
    </Event>

    Thanks for moving this here, Jeff.
    You should be able to find a more helpful crash log by opening Applications > Utilities > Console and finding the most recent crash report under User Diagnostic Reports.  If you can send the latest Audition crash log as an attachment to [email protected], I'd be happy to investigate further.

  • Accessing a file over the network

    Hi ,
    I need to access a file for read/write operations. The file may exist or may not on another computer in my network. I use the File class for accessing the file. (File f = new File("\\192.23.23.23\file.txt");
    My problem is how can I know if I cannot access the file because I have network issues (e.g. The file exists but the network is down so its not accessible) or because the file really dont exist on the given address.
    Since File operations does not throw a specific exception Its hard to know the exact reason for access failure.
    Any suggestions ?
    Thanks.

    Javaist wrote:
    Hi ,
    I need to access a file for read/write operations. The file may exist or may not on another computer in my network. I use the File class for accessing the file. (File f = new File("\\192.23.23.23\file.txt");
    My problem is how can I know if I cannot access the file because I have network issues (e.g. The file exists but the network is down so its not accessible) or because the file really dont exist on the given address.
    Since File operations does not throw a specific exception Its hard to know the exact reason for access failure.
    Any suggestions ?Here's a complete hack that only uses File that is completely coupled to Windows and the "\\hostname\dir\file..." syntax. This is not a universal solution and strongly urge you not to use it:
    public class NetworkFileTest {
       public static void main(String[] args) {
          File file = new File("\\\\myhostname\\tmp\\filethatexists");
          if ( file.exists() ) {
             System.out.println("File exists");
          } else {
             if ( hasPathToHost(file) ) {
                System.out.println("File doesn't exist");
             } else {
                System.out.println("No path to host");
       private static boolean hasPathToHost(File file) {
          if ( file.exists() ) {
             return true;
          } else {
             file = file.getParentFile();
             if ( file != null ) {
                return hasPathToHost(file);
             } else {
                return false;
    }This just recursively checks the parent to see if it exists. Once it gets up to the host "directory," it will return false if the network is down, or true otherwise.
    Remember that there's absolutely no way to check if a remote file exists if the network is down, short of carrier pigeons. This will just tell you if the file might exist.
    Edited by: endasil on 9-Oct-2009 10:43 AM

  • Parsing file over the network

    We are using Xerces implementation of jaxp - (xercesImpl.jar, xmlParserAPIs.jar).
    Below is my code:
    DocumentBuilder builder = getBuilder();
    java.io.FileInputStream fi = new java.io.FileInputStream(�file://c$/config/tmp.xml�);
         org.w3c.dom.Document outNode = builder.parse(fi);
         fi.close();
    Inside the tmp.xml is reference to tmp.dtd without specifying any path, just tmp.dtd. The line of code that parses the file throws exception that it can�t find tmp.dtd and it shows me the path where it expects it to be � it is a current user directory. Is there a way of telling the implementation to look somewhere else for files referenced by the file being parsed?.
    Janusz

    yes, intercept the calls to the DTD and point the parser to the right file:
    builder.setEntityResolver(new EntityResolver() {
      public InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
             throws SAXException, java.io.IOException
        if (systemId.endsWith(".dtd"))
          return new InputSource(new FileInputStream("mypath/"+systemId));
        else return null;

  • Trouble sending files over the network.

    I have a network application that corrupts any files that it sends, although the received file is very close (but never exact) to the number of bytes it should be. There is a socket client that each client has, and the Packet data structure is searializable and simply contains a string message and the byte[]. Am I doing something wrong?
    Here is my code for Sending:
    ObjectOutputStream toOtherClient = new ObjectOutputStream(client.getOutputStream());
    ObjectInputStream fromOtherClient = new ObjectInputStream(client.getInputStream());
    Packet fileRequest = (Packet)fromOtherClient.readObject();
    File file = new File(DefaultConfig.defaultFileDirectory+"\\"+fileRequest.getMessage());
    FileInputStream fromDisk = new FileInputStream(file);
    BufferedInputStream fromDiskBuffered = new BufferedInputStream(fromDisk);
    byte[] buffer = new byte[maxPayload];
    while(fromDiskBuffered.available() > 0)
         if (fromDisk.available() > maxPayload)
              fromDiskBuffered.read(buffer);
              toOtherClient.writeObject(new Packet(Packet.Command.File,"",buffer));
         else
              buffer = new byte[fromDiskBuffered.available()];
              fromDiskBuffered.read(buffer);
              toOtherClient.writeObject(new Packet(Packet.Command.File,"",buffer));
    fromDiskBuffered.close();
    fromDisk.close();
    toOtherClient.writeObject(new Packet(Packet.Command.File,"ack"));
    fromOtherClient.close();
    toOtherClient.close();
    client.close();Here is my code for recieving:
    Socket client = new Socket(host, Integer.parseInt(port));
    ObjectOutputStream toOtherClient = new ObjectOutputStream(client.getOutputStream());
    ObjectInputStream fromOtherClient = new ObjectInputStream(client.getInputStream());
    FileOutputStream toDisk = new FileOutputStream(DefaultConfig.defaultFileDirectory+"//"+whatFile); BufferedOutputStream toDiskBuffered = new BufferedOutputStream(toDisk);
    toOtherClient.writeObject(new Packet(Packet.Command.File,whatFile));
    Packet incoming;
    while(true)
         incoming = (Packet)fromOtherClient.readObject();
         if (incoming.getMessage().equals("ack"))
              break;
         byte[] fileData = (byte[])incoming.getData();
         toDiskBuffered.write(fileData);
    toDiskBuffered.flush();
    toDiskBuffered.close();
    toDisk.close();
    fromOtherClient.close();
    toOtherClient.close();
    client.close();

    You're assuming that available() gives you the total length of the file, which it doesn't, and you're ignoring the result returned by the read call, so you're assuming you've read data you may not have read.
    I would rethink the tactic of reading the entire file into a single buffer - this doesn't scale. It's only safe if you know that the file size has an upper bound and that this is relatively low.

Maybe you are looking for

  • How do I set up a rescue email for my existing apple ID?

    The question is pretty self explanitory, but there is a long story that led me to this question. Basically I just got a new iPhone 5 on the second and iTunes keeps asking me to verify myself. So when I do, and I'm positive I'm answering the security

  • Own class in Email action doesn't work

    Hello, all! I have copied the std class CL_DOC_PROCESSING_CRM_ORDER to a z* one and what i want to do is to change the mail sender based on some conditions. I write new class and smartfrom in action profile. But instead of my new class system execute

  • Editing Slide Names in TOC

    I'm using Cap5 with the most recent patch installed. I've added lables to my slides, yet when they appear in the TOC, they only display as "slide 1", etc. I had to do some "creative editing" with some recorded slides so the numbering is rather odd (s

  • Can't figure out why "Offline" Pls -Help!

    I am running a HP Officejet Pro k5400 Series on a network through a print server running Windows Server 2008 64bit. I have the printer installed and configured and was working fine however, now it is offline and I cannot figure out why.  I have redir

  • Satellite T230D regularly crashes

    My T230D regularly crashes for no apparent reason, three of four times a day. It has been like this since I bought it. Sometimes when I have no programs running. It's running Windows 7 (Home Premium) 32bit. Can anyone suggest a solution? Maybe a soft