Я загружаю файл через angular на S3, используя aws-amplify
sdk, и я хочу посмотреть, сколько файлов было загружено в корзину.
Storage.put(id, name)
.then (result => console.log(result))
.catch(err => console.log(err)).on('httpUploadProgress', function(progress) {
// Here you can use `this.body` to determine which file this particular
// event is related to and use that info to calculate overall progress.
});
Это не работает, и я не могу, кажется,найти решение для этого.