apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
595 stars 888 forks source link

File Upload Order Issue #256

Closed sharawan closed 3 years ago

sharawan commented 4 years ago

Is it a way to upload images in a certain order. Currently the files being uploaded are in random order. I want to upload them in first in first out order

Apache Cordova uses GitHub Issues as a feature request and bug tracker only. For usage and support questions, please check out the resources below. Thanks!


You can get answers to your usage and support questions about Apache Cordova on:


If you are using a tool that uses Cordova internally, like e.g. Ionic, check their support channels:

ishigo1987 commented 4 years ago

You need to write your own logic to achieve what you desire

breautek commented 3 years ago

Files are uploaded in the order that you call FileTransfer.upload API. Note that the API is asynchronous so if you call this API multiple times, without waiting for the previous upload request, then the order of completion will be nondeterministic.