I would like to send files (.csv and .json) from ionic (browser, angular) to EC2. Below are some of the details that i have tried but none of them are works.
I found this File Transfer for iOS but is for iOS.
I saw this File Transfer , but I couldn’t get the file path.
For File Path provided by ionic, it can only be used on Android.
Below are the code that successfully allow user to browse local directory and select a file.
this.file = file.target.files;
this.file_name = this.file.name;
<input type=“file” accept=".csv" style=“display: none” #file (change)=“fileChange($event)”/>
I am developing browser, anyone have idea on how to send file to EC2?