@jhl wrote:
filePath = ['xxxx','xxx']; $cordovaFileTransfer.upload(server, filePath, options) .then(function(result) { }, function(err) { // Error console.log(err); }, function (progress) { // console.log(progress); });
but i get error message
[Error] Wrong type for parameter "filePath" of FileTransfer.upload:
Expected String, but got Array.checkArgs
Posts: 1
Participants: 1