How to add uploaded files to uplaoder queue #741
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Im using Firebase storage as backend to save files.
And then I need to preparing an update form to update content and content's files.
So I can get uploaded files metadata from Firebase as an object (name, size, type, serverURL,etc..) then I need to push these files to Uploader.queue again.
How can achieve this without fileinput and dropzone area to add files to Uploader queue ??
message: 'Cannot assign to 'size' because it is a constant or a read-only property.'
Has anyone ever encountered such kind of problem?
I just want to add file items to queue on page load ??
@juntaforce have you solved this problem? I am trying to achieve the same thing, on page load I need to load a file from server and add it to the uploader queue.
Any one solved this?
I have implemented as below and it works.
uploader:FileUploader = new FileUploader({url: ''});Hi @shamanth7077 , thank you very much for sharing your code. I have used ng2-dragula to manage the uploaded files. With dragula i can order them with a great drag and drop, but this is a great solution. i think i'll implement this too..
Hi @shamanth7077 , if the file uploaded is working, could you please help us, we are getting Can't bind to 'uploader' since it isn't a known property of 'input' error even after importing all the necessary modules in app module. I have explained in the issue post here: https://github.com/valor-software/ng2-file-upload/issues/852 would be helpful if u tell us how you got it workin!!