How uploat file with ngcordova in ionic


I want to create a function uploat file uploaded to serve


you can use cordova filetransfer, camera/imagepicker for that… you can search sample codes in the internet…


but I do not mean uploat picture but uploat file so when I click the button I immediately read the file upload existing files on my smart phone I was able to read the files on my smart phone but I am still confused upload


you can use filetransfer for that and input type=“file” for sending/upload file to a server…


so I mean I want to upload the files from my smart phone to serve, then I downloaded from my serve


yes just search for the codes in google… there are bunch of sample code out there…