Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 18.104.22.168 release ready!
Owner and Founder. Opencart
Most of the time we have to upload our file on server from our Application but when we try to find a way we got all the different ways to do so that make us more confuse. Some says to use some library and some says not to. So here is a method to upload a file to the server via Http Multi-part form data, it doesn’t need any external library and is quiet efficient as well.
Through it you can have a put request to send you file with extra data like in my case I have to send an additional reference tag along with it. So lets start. Here I am supposing that you have a File Adapter and you have selected the file you have to send. Basically you have the URI of the file. If you don’t please follow the link.
So here are you. with this code you can send your file to server with extra form data.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
The code work for me but the file uploaded/file received in server contain only “my_reference_text” not content of my pdf file! Please help me with the issue!
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.