Questions tagged [ngx-uploader]
13 questions
3
votes
1 answer
Multiple files in single request using ng2-file-upload or ngx-uploader
I am using ngx-uploader to implement file upload in my project.
But when I upload multiple files, it seperate the files array to multiple request.
I have tried to use ng2-file-upload but the same result.

dangquang1020
- 496
- 3
- 7
- 23
2
votes
0 answers
How to upload only non-duplicate files with ngx-uploader
How to upload only non-duplicate files with ngx-uploader?
I don't see any option to distinct file names on upload? Can this be handled by some code, but not breaking the UI?
The files are added to queue and then handled by their status. I also want…

Jan Dycz
- 27
- 4
2
votes
1 answer
ngx-uploader: TS2339: Property 'lastModifiedDate' does not exist on type 'File'
ERROR in
node_modules/ngx-uploader/src/ngx-uploader/classes/ngx-uploader.class.ts(112,32):
error TS2339: Property 'lastModifiedDate' does not exist on type
'File'.
I'm getting this error while I was upgrading my angular app from version 5.2…

Manzur Khan
- 2,366
- 4
- 23
- 44
1
vote
3 answers
ngx-uploader - Passing JSON data Object to uploadInput data, returning [object Object]
I am using ngx-uploader and with the data section inside the uploadInput, I pass additional data:
startUpload(): void {
const event: UploadInput = {
type: 'uploadAll',
url: this.uploadUrl,
method: 'post',
data:…

manneJan89
- 1,004
- 8
- 27
1
vote
1 answer
Where get response ngx-uploader?
I have a JSON response back from my url for my uploads but in code I can't get it, can you suggest where and how I can get it?
onUploadOutput(output: UploadOutput): void {
if (output.type === 'allAddedToQueue') {
const event: UploadInput = {
…

OpenTagTeam
- 11
- 3
1
vote
0 answers
ngx uploader unable to upload cropped image on server - angular 6
I'm cropping image before upload to server so integrated cropping module. I want to upload cropped image to server but ngx uploader uploading original image.
I have used ngx-uploader ngx-uploader: "6.0.1" and for cropper used "ngx-image-cropper":…

user2332280
- 11
- 3
1
vote
1 answer
NGX Uploader upload progress jumping to 100%
When changing the UploadInput url to something other than the demo url, the progress bar for the file uploading is near instant, even if the file is still in an uploading state. I've tested with 90mb files at the progress bar will jump from 13% -…

Bankzilla
- 2,086
- 3
- 25
- 52
1
vote
1 answer
What is Angular 5 supporting version
What is Angular 5 supporting version of @ngx-uploader,
I am having issue installed "npm install ngx-uploader --save",looking no data in console.
its showing in package.json "ngx-uploader": "^6.0.1".

Vivek Shukla
- 1,535
- 1
- 13
- 13
1
vote
1 answer
No done event fired on ngx-uploader
done is not getting fired after the upload is completed for ngx-uploader
This is the log:
{type: "addedToQueue", file: {…}}
file-upload.component.ts:29 {type: "allAddedToQueue"}
file-upload.component.ts:29 {type: "start", file:…

Xyrin Technologies
- 229
- 3
- 14
0
votes
0 answers
Does ngx-uploader support binary responses?
I am employing the ngx-uploader npm module in my angular single page application.
In an angular component, I am using the ngx-uploader module to upload a file to my server endpoint. The server processes the data and returns binary data -- zip file…

Bruce Wilcox
- 354
- 1
- 2
- 11
0
votes
0 answers
Change ngx-uploader UploadInput data in multiple upload
Here is my code to start upload multiple files using ngx-uploader:
startUpload(): void {
let token = this.myToken; // <---- get token
const event: UploadInput = {
type: 'uploadAll',
url: 'http://ngx-uploader.com/upload',
method:…

dangquang1020
- 496
- 3
- 7
- 23
0
votes
0 answers
Unable to integrate ngx_uploader to angular 6. "Cannot find module 'ngx-uploader'"
I am trying to use the ngx-uploader module for angular 6 but I keep getting the same error. I'm new with angular so I don't really understand what happens.
I install with.
npm install file:ngx-uploader
and also
npm install…
0
votes
1 answer
Ngx-uploader responses
What responses (JSON and HTTP statuses) should I return on successful/unsuccessful file uploads when using ngx-uploader?
eg.
HTTP 401
{{error: {code: 5; message: Not authorized}}

takeshin
- 49,108
- 32
- 120
- 164