×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    1

    Exclamation WebClient download file failed in my lumia 710

    Hi,

    I`m using WebClient to download the jpg file, but WebClient give me the following exception: "The remote server returned an error: NotFound".

    I`m sure the link is OK, and can access by any browser and the same code can run fine under console application. Also HttpWebRequest has the same issue.

    Then I tried to use the BackgroundTransferRequest, and it is OK for WiFi, but cannot use under GPRS network.

    Finally, I use the fiddler to analysis and find out and make sure it is a bug of the WebClient.

    You can get the fiddle export file from here(https://dl.dropboxusercontent.com/u/...t_sessions.saz), and than see all the sessions.

    #1,#2: with no headers from my Nokia Lumia 710 with my app use WebClient

    #3: no usage.

    #4: requestd from PC chrome

    #5,#6: requested from my Nokia Lumia 710 IE browser

    #7,#8: different headers I changed, but no work. from my Nokia Lumia 710 with my app use WebClient

    At the end, I want to set the referer to "", but no request showed on fiddler.

    You can download my C# code from here(https://dl.dropboxusercontent.com/u/52714692/temp%20using/TestWebClient.7z).("please make sure, don`t use your PC connection and you must disconnect your USB connection!!!")

    The latest research shows if there is a WP7 project, I will receive an excetion, if it is WP8 project, the result is OK. Could you please do some fix? Thanks.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    564

    Re: WebClient download file failed in my lumia 710

    Is the ID_CAP_NETWORKING capability set properly in your app?

    http://msdn.microsoft.com/en-us/libr...v=vs.105).aspx

Similar Threads

  1. Load Failed TRKProtocolplugin Unable to download file
    By GTO_India in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2011-11-09, 05:37
  2. TRK Protocol Plugin: Failed to download the specified file to the target
    By george0095 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2010-12-18, 21:01
  3. How to get streamed .mp3 file from server using WebClient Engine
    By jameskittu in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2010-05-27, 06:34
  4. Replies: 4
    Last Post: 2008-09-24, 07:16
  5. Download failed for MMS file
    By iqbalabd in forum General Messaging
    Replies: 1
    Last Post: 2006-02-24, 04:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×