Download Manager API
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!
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.