Questions tagged [filepicker]

Questions about the use of file pickers in general. Not to be confused with [filepicker.io]; use that tag for questions related to that service.

This tag refers to generic file pickers.

For questions related to the filepicker.io service, use the tag instead.

Examples

HTML

<input type="file">
413 questions
0
votes
2 answers

How to upload a file picked by file_picker in flutter

I need to send an attachment to an email picked by file_picker from flutter. How to send the file. Padding( padding: EdgeInsets.fromLTRB(20, 10, 20, 10), child: RaisedButton( elevation: 0, onPressed: ()…
0
votes
1 answer

How to upload a file using file_picker package in flutter

I need to send a file through EmailJS to my email from my flutter app. I created a template in EmailJS, and also created a form on flutter. I'm getting all text fields and dropbox data to my email. How I can send the picked images using…
0
votes
1 answer

Display file name through file picker Flutter

I need to display the added filename under the button. I'm using file_picker to add the image. after adding the image I need to remove or replace the image. after that, I need to send that image to email. I'm using EmailJS to submit a…
0
votes
1 answer

Xamarin Apple iOs FilePicker - Cant Pick File?

Trying to get my App to work on iOS now - and wow! This is way harder than I thought. OK, So I have a filepicker that picks a file. pretty simple (code below.) . With iOs. The file picker dialog opens, and I can click the file I want , but…
Chuck
  • 21
  • 5
0
votes
1 answer

typo3: Migrate internal_type=file_reference to FAL

I have an older typo3 site which uses image pickers with the following code: 'tx_my_image' => array( 'label' => 'Image', 'exclude' => 1, 'config' => array( 'type' => 'group', 'internal_type' =>…
user2792352
  • 139
  • 7
0
votes
0 answers

Android :: Pick a file with specific extension

I need to pick a file with specific extension (.jpg, .jpeg, .png and .cv). I'm trying to make it using standard chooser intent private fun showFileChooser() { val intent = Intent(Intent.ACTION_GET_CONTENT) intent.setType("*/*") …
0
votes
0 answers

Why CSV files can't be loaded using this Flutter code?

I am using Windows 10 and trying to load a CSV file in my app using the following code I found on the internet but it doesn't work and data is null and it sticks on loading circle animation. import 'dart:convert'; import 'dart:io'; import…
Hasani
  • 3,543
  • 14
  • 65
  • 125
0
votes
1 answer

Ionic5 IOSFilePicker convert uri to blob

I use this method: getFiles(){ this.filePicker.pickFile().then(uri => { console.log('uri '+uri); }) .catch(err => console.log('Error', err)); } And I want convert uri to blob because I need to upload it. I tried several methods that I found on…
Réda Youssoufi
  • 147
  • 1
  • 12
0
votes
2 answers

2 positional argument(s) expected, but 1 found. and The argument type 'String?' can't be assigned to the parameter type 'List'
I have been able to open my files using the file picker package but I am to save the result path to the pdfFile variable. This is the variable File? pdfFile; I am getting the error from the code below onPressed: () async { …
Samuel
  • 472
  • 4
  • 14
0
votes
1 answer

flutter 'file picker ' error . the getter 'name' is not defined

This is a screenshot of my error screenshot of error Please tell me why i am getting this error because according to documentation of file_picker file.name should return name of the file but instead i am getting getter name is not defined .
0
votes
1 answer

Is there a way to open a specific folder in OneDrive file picker for JavaScript v7.2?

I'm trying to use OneDrive file picker for JavaScript v7.2: https://learn.microsoft.com/en-us/onedrive/developer/controls/file-pickers/js-v72/open-file?view=odsp-graph-online On filepicker window load, I get a list of my OneDrive files and folders,…
0
votes
2 answers

Xamarin essentials FodlerPicker?

I am looking for a solution that lets the user pick the folder location where they want to save their file(s). I am aware of FilePicker in the Xamarin.Essentials package, but this only allows the user to pick individual files, not folders. I am…
Rasheed
  • 1
  • 2
0
votes
1 answer

Can I delete the files the user Pick with file-picker?

I need to let the user pick files from his device then I need to delete the picked files. All I can access from the FilePickerResult is the path for the cached files not the actual path in the external storage
al-ghaly
  • 23
  • 1
  • 3
0
votes
1 answer

Getting wrong file path using "registerForActivityResult"

mGetContent = registerForActivityResult(new ActivityResultContracts.GetContent(), uri -> { if(uri!=null) { noticeUri = uri; …
Abu Saeed
  • 1,020
  • 8
  • 21
0
votes
0 answers

Flutter form with attachment (file upload)

I am trying to build a Flutter form with 2 text fields and 1 field for an attachment: Text Field 1 Text Field 2 Attachment Send Data Button This is to make a POST request and send these 3 values to my server, store the file locally and get the name…
Irwin
  • 41
  • 1
  • 11