How uploat file with ngcordova in ionic


#1

I want to create a function uploat file uploaded to serve


#2

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


#3

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


#4

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


#5

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


#6

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