Welcome to the Xceed Community Sign in | Join | Help
Community Search  

App hangs when calling SendMemoryFileData

Sort Posts: Previous Next
  •  11-28-2007, 5:46 PM Post no. 6078

    App hangs when calling SendMemoryFileData

    My app is written in C++ and the version of the XceedFtp.dll is 1.1.6461.

    I'm sending the file via SendMemoryFileData() since I need to limit the bandwidth. When the internet connection is up everything works fine. I wanted to simulate what would happen if the internet connection goes down as the file is being sent. This is a realistic scenario when this app is deployed since the connection will be over a satellite link that sometimes goes down. Anyway, I set a breakpoint on SendMemoryFileData() and disconnected the ethernet cable. When I continued running the app it just hung. The call to SendMemoryFileData() never returned.

    As a side note, I have event handlers in place. If I set a breakpoint on raw_Disconnected() the breakpoint gets hit and SendMemoryFileData() returns (therefore not hanging the app). I don't know if this is of any value but I just thought I would mention it.

    Does anyone have any ideas on how to resolve this?

    Any help would be greatly appreciated!
  •  12-05-2007, 9:38 AM Post no. 6079 in reply to 6078

    Re: App hangs when calling SendMemoryFileData

    This case was resolved through e-mail support.
    Charles Bérubé-Rémillard
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.