How to upload or save files to server in flutter?

768

You need to make a POST request on your path to send the file and completing the body of your request with your file data. (using http package)

Or the package flutter_uploader might help you too.

Share:
768
proversion
Author by

proversion

Updated on December 15, 2022

Comments

  • proversion
    proversion over 1 year

    I am trying to save or upload files with different extensions to server. I have the server path to send the files and the local file path taken using the file picker. Now I have to upload this to server. I am using objective-c to build iOS. How can this possible?

    • pskink
      pskink over 4 years
      use http library