cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kilinskiy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9027) FileTransfer#download fails with FileTransferError.CONNECTION_ERR after 60 sec. on iOS
Date Thu, 14 May 2015 12:30:59 GMT
Alexander Kilinskiy created CB-9027:
---------------------------------------

             Summary: FileTransfer#download fails with FileTransferError.CONNECTION_ERR after
60 sec. on iOS
                 Key: CB-9027
                 URL: https://issues.apache.org/jira/browse/CB-9027
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
    Affects Versions: 3.4.0
         Environment: iPhone 4s, iOS 8.3
iPhone 5s, iOS 8.3
Cordova 3.4.1
FileTransfer 0.4.2
            Reporter: Alexander Kilinskiy


(x) when I try to download large file on iOS I receive FileTransferError.CONNECTION_ERR in
60 seconds (file generation tooks ~ 70-90 sec).

Standard code used:
{code:javascript}var fileTransfer = new window.FileTransfer(),
  fileUrl = "", // some valid url (big file ~ 100Mb)
  filePath = ""; // some valid location
fileTransfer.download(fileUrl, 
                                    filePath, 
                                    function(entry) {
                                      // process file
                                    }, 
                                    function(error) {
                                      // process error
                                    });{code}

Could i set custom timeout instead of 60 sec? 
Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message