using network.download to download on external sd card

is there anyway to download using network.download on sd card?
i used something like this:

network.download( rawResponse.download, "GET", function(event) downloadFile(event) end, request, newFileName,"file:///storage/extSdCard/Android/data/com.mycompany.app/files/" )

but it gives error:
 

‘baseDirectory’ parameter must be a system directory constant(got string)

You would have to download to a sandbox directory like system.TemporaryDirectory and then use file IO API’s to copy the file to external storage.

Rob

You would have to download to a sandbox directory like system.TemporaryDirectory and then use file IO API’s to copy the file to external storage.

Rob