I am playing around with Asp.net MVC2 and trying to write a page which allows a user to upload a file to a server and then inserts a record of the file into a DB.
So far I have got everything working but I am struggling to workout how to show the user progress of the file upload or to notify them that the file is being uploaded to the server.
Can someone help me and explain the best way of doing this?
Many thanks,
Morris
You could use client-side upload controls that support progress. Here's one.
Related
I am trying to collect users profile picture from his phone and to parse it on the server, and also (vice versa)to be able to load it from the server and show it in users profile.
Unfortunately, I can't find many resources on this. I only found this short "Update File" section at the end of this document, but since I am new to Flutter it is not helping me a lot.
https://pub.dev/packages/parse_server_sdk_flutter#usere
Could anyone suggest some resources or examples how to achieve that?
I was trying to upload files onto the Anaplan platform using the REST API.So there was a note mentioned on the Anaplan.
To upload a file using the API that file must exist in Anaplan. If the file has not been previously uploaded, you must upload it initially using the Anaplan user interface. You can then carry out subsequent uploads of that file using the API.
So I was looking for any way to upload the file onto the Anaplan without going through the user interface. As the above statement in the Anaplan API page suggested that you need to upload through the user interface first. So is there any other way we can get away from that user interface part or not
The first upload is what helps you setup import actions within Anaplan. So, as the documentation states it is going to require some UI activity. Here is a community article to help you further:
https://community.anaplan.com/t5/Anaplan-Platform/Uploading-file-Via-REST-API-and-Triggering-Imports/td-p/51791
I'm trying to create a web page using Perfect(perfect.org), Where users will browse and upload files. Can anyone tell me how can I get the progress of file upload?
perfect.org-fileUploads
Refer above link and Do as-usual concept following in HTML-JS-PHP or HTML-JS-JSP or other programming
In other words
you can receive response status in percentage from server-side and display it to client or put loder while uploading the file
Thank you
Before an official solution released from PerfectlySoft Inc. for this feature request, you could try splitting the file into small pieces and upload them one by one, then merge them back to the server - since there is no such an industrial standard to apply, all other web servers either provide different solutions or simply stay away from it.
I would like to find out if there are any good controls available whereby I can upload files (upto 2GB) in a .net mvc2 application. The main issue is that I want to be able to retrieve the upload progress information from this control and have my own progress bar (which is already used in the application for other purposes) to display this information. Any help will be appreciated!
Plupload is a popular plugin. You may also checkout an example.
I have developed the asp.net mvc application. my one form have the file upload control. so in details view i want to implement the facility to view the uploaded document in browser itself. it should not ask for download and should not open MS office instance to open document. its a user req. It should opens in view mode in browser itself. what code i have to do ? I am using C# as language.
It is not straight forward. For images you can use <img>tag and link to the location in server where you saved the uploaded image. That should work.
However ASFAIK showing the doc/docx things in web page itself is not possible. You will have to employ some third party control to achieve that. Search google to find such controls. May come at a cost.