i need to implement the file upload progress in my web page
i have five file upload controls in my page and i want to show the upload progress for each file upload separately.
i there any way to do this.
Thanks
Muthuraman.
This is my project so you can use it http://managemedia.codeplex.com/
Without any flash or silverlight similar facebook and gmail.
You can use ajaxupload or consult Matt Berseth's article]
PS:- I don't know if ajaxupload is free or paid
I have tried all of them, this one has turned out to be best. Very easily integrates. No deployment issues.
alt text http://darrenjohnstone.net/wp-content/uploads/2008/07/uploadsmall.png
alt text http://darrenjohnstone.net/wp-content/uploads/2008/07/uploadcontrol.png
http://darrenjohnstone.net/2008/07/15/aspnet-file-upload-module-version-2-beta-1/
Related
I have hundreds of PDF files that i need to present to users. When presenting these files through my MVC web app i don't want the users to have the ability to download the files, e.g.. i don't want the Acrobat reader controls for print/save showing up. Reading this stackoverflow post it seems that it's not possible to disable those controls.
I know users can still take screen shots and print out the page, but that's not an issue in my case.
What is the best way to go about this. I've reasearched using SWFTOOLS which looks like it may be a good solution, but i dont want to save the swf files to my filesystem. The optimal solution is PDF.js, but another problem i have is users will be accessing the files through IE8 - so PDF.js is out of the question. Unless there is another similar library that will convert the files to HTML 4.
Basically I just need to display the PDF files, on the fly would be best, in a different format than PDF
Any suggestions?
I had a similar project a while back, where sensitive pdfs were needed to be displayed to specific users but they weren't allowed to download/print/save it.
Since it was a web app I ended up using pdf.js. It is Mozilla's PDF renderer for firefox. It renders the pdf on to a canvas and by default has all the bells and whistles. If you have firefox, open a pdf file to see it in action.
It was tough to get it running at first but I ended up using a demo I found online as the base of the project. After removing each functionality that was forbidden the finished product did exactly what was required. You will need to add a print css file to block printing or find a better solution. I ended up using the css approach since print preview by passed my javascript check for the print action. Also ensure you block ctrl + s which allows the user to save the pdf.
Another aspect to note is that it works better on later versions of IE and struggles on older versions as the file size increases. Firefox and chrome are not a problem and I believe its the same for opera although I haven't tested that.
I would convert it to an image file, you can find tools or write script to do it, I personally would do it by displaying them in browser first and then use browser plug-ins to take screenshot of the entire webpage.
(you can automate this)
then just display then converted pdfs
**this is probably not the best solution :( **
I'm looking for the best way to display pdf document on a website. Surely I need to convert it to jpeg or gif for the browser to handle it. I read few posts but most refer to GhostScript and its pdf2image. But that solution calls for starting a process that would save a copy of pdf doc to the file system and then would have to be loaded back into memory for displaying. Frankly I find it a bit clumsy. For those of you who have done it, what library you used and if you could attach a link to some examples, I'd greatly appreciate it.
I'm developick a web application that helps manage manufacturing process and is accessed fron android tablets. Company has a stockpile of documentation in pdf files that is to be delivered to production managers. I'd love the solution to be akin Crystal Report Viewer contron but I I understand that I have to stick to pdf to image conversion. Please give me some advise here.
My advice is don't over think this.
You can simply add a link to the PDF file, which will open on a new tab.
You can take a look at http://mozilla.github.io/pdf.js/ which will allow you to render a PDF on the client side.
Or if you decide to go with a Ghostscript, you can take a look at http://ghostscriptnet.codeplex.com
By all accounts the PDF Focus .NET library seems to be the best solution. A wrd of advice is to add a cleanup method to the page unload to delete all temporary files that were used to feed source into image controls when displaying pictures on a website.
Is it possible to compress images upon upload directly from AsyncFileUpload? If yes, can you guide me how?
For example: I have a user that uploads an image .jpeg with size 1200x1600 (5MB) and I want to compress it into a 600x800 (1MP~2MB) file. As much as possible I have to do this on client side just before I upload it to server.
Thank you.
You can take a look at DotNetZip library. I think you will find your solution there.
On HTML5 browser, you can use the solution in this answer, otherwise you're stuck with requiring your client to use a plugin (Java, Flash, Silverlight) etc.
How to go about uploading Multiple files(i have multiple files inside a folder) using file uploader by selecting target folder once in asp.net.if not using file uploader is there any other control for uploading file in asp.net?
You have several options to upload multiple files:
You can use a jQuery plugin, as described here.
You can use as many FileUpload controls as needed, as described here (videotutorial) and here.
But none that I can think of will allow you to select and entire "folder".
Hope it helps.
There is a good explanation of why this is not possible with standard .net controls on Velocity Reviews.
Here's more info on using Flash or Silverlight on StackOverflow. In summary, you can use something that allows multiple files to be uploaded (that the user manually selects) but you can't select a folder and have it upload each item in it, presumably because this breaks a law of the security gods.
You can use Radupload for multiple file upload.
I need to do multiple file uploads in my ASP.NET page. I also have to display a progress bar with the status of the file transfer. It should display an all file progress status bar separately and a total in a separate progress bar until the file upload has finished.
You could try Uploadify: http://www.uploadify.com/
It's a very nice free JQuery plugin.
You could use any of the following:
Flash based
Uploadify (jQuery plugin)
SWFUpload
Flajaxian (integrates with ASP.NET)
Non-flash, ASP.NET based solutions
NeatUpload
ASP.NET File Upload Module
These are all free, support multiple file uploads and progress bars, and are relatively easy to integrate.
I've personally used Uploadify and NeatUpload, though I had some trouble getting Uploadify to display the progress bar correctly (which I later found out was due to my anti-virus software, thanks to StackOverflow).
Try using the Telerik Upload Component (demo). (It does cost money, but it is worth it if you need functionality like this.