You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "dharmendra sharma (JIRA)" <ji...@apache.org> on 2016/03/01 09:52:18 UTC

[jira] [Commented] (CB-4029) FileTransfer: No error code for "no space left"

    [ https://issues.apache.org/jira/browse/CB-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15173455#comment-15173455 ] 

dharmendra sharma commented on CB-4029:
---------------------------------------

In current version the Json error formate has changed like below where message has added about exception.
So  should we consider this issue for future fix ? 

{"target":"file:\test.file_path","http_status":200,"code":3,"source":"https:\test.com\test.file","exception":"write failed: ENOSPC (No space left on device)"}

> FileTransfer: No error code for "no space left"
> -----------------------------------------------
>
>                 Key: CB-4029
>                 URL: https://issues.apache.org/jira/browse/CB-4029
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 2.8.0
>            Reporter: Vitalii Vlasiuk
>
> Android 2.3.6:
> Steps:
> 1. I use device with no free space on sdcard.
> 2. Download some file with FileTransfer.
> Result:
> I have js-exception: 
> 06-27 16:34:05.647: E/FileTransfer(2619): {"target":"file:\/\/\/mnt\/sdcard\/Android\/data\...","source":"http:...","http_status":200,"code":3}
> And java exception:
> E/FileTransfer(2619): java.io.IOException: No space left on device
> Expected result:
> Need to add new error code for "no space left".



--
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