×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    42

    Download Manager API

    Hi developers,

    i am making use of Download Manager API for getting a file from an URL, and then move it to a local file. Everything works fine in the emulator, but in release, though the Download state is EHttpDlCompleted, the file seems (it is under private folder and returns -1 when open), not to be created.

    Does somebody have an idea about this, or has he had some similar problem?

    Of course i am working with 3rd edition.

    This is how i prepare the download:

    download.SetStringAttribute( EDlAttrDestFilename, file );
    User::LeaveIfError( download.Start() );

    I have tried different possibilities at EHttpDlCompleted, like force the move of the file, and so on.. but nothing.

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    42

    Re: Download Manager API

    I answer myself... fucking security!. Do not use a file under private folder to move your content, it will not be created. Why, i duno really, but use instead a temp folder/file.

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 30
    Last Post: 2014-07-15, 05:44
  2. [Undocumented Evil] Download Manager API crashes and timeouts
    By Dexterp37 in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2008-07-01, 17:29
  3. Symbian C++ API Library Download?
    By ViruDoshi in forum Symbian
    Replies: 1
    Last Post: 2005-12-21, 14:13
  4. Download Manager API
    By fullscale in forum Symbian
    Replies: 0
    Last Post: 2005-10-03, 08:43
  5. Nokia download manager image banner
    By mgianota in forum Mobile Java General
    Replies: 0
    Last Post: 2005-07-03, 21:09

Posting Permissions

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