Linked Questions

0 votes
1 answer
4k views

<a href="files/doc_downloads/governance_docs/Whistleblower_and_Complaint_Policy.pdf" target="_blank" class="ModuleHeadlineLink"> <span class="ModuleHeadline">Whistleblower and Complaint ...
user7364147's user avatar
28 votes
4 answers
28k views

Basically, I want to figure out whether I should download a file using AJAX, depending on how large the filesize is. I guess this question could also be rephrased as: How do I get only the header of ...
MiJyn's user avatar
  • 6,037
14 votes
3 answers
21k views

Here's what I'm hoping to do: I want to send an ajax request to a file (preferably with jQuery), and once the file has been loaded, determine the size of the requested file. After a bit of googling, ...
Peter's user avatar
  • 1,358
7 votes
2 answers
16k views

I have in my form an input element with type of file. What I like to do is to check the file size before the element is uploaded for validation issue. By using the majority of primary Web Browsers (...
KodeFor.Me's user avatar
  • 13.5k
4 votes
1 answer
8k views

I have tried a lot but did not find any way to solve my problem. How to get size of uploaded file in IE8,9 ?
Onkar Janwa's user avatar
  • 3,960
3 votes
1 answer
4k views

I'm attempting to upload documents to my server using the technique describe on this blog All has gone well, and I am able to upload documents just fine. The only snag is when I attempt to upload a ...
ETFairfax's user avatar
  • 3,814
0 votes
1 answer
2k views

I am trying to add pdf file size after download link as in here http://jsfiddle.net/bf4ovzg0/ I have gone through few other stackoverflow solutions. HOwever, I have been unable to get this working. ...
Hello Universe's user avatar
0 votes
2 answers
2k views

For example: Before <a target="_blank" href="http://www.adobe.com/devnet/acrobat/pdfs/reader_overview.pdf"> Adobe Reader JavaScript specification </a> Because the file is PDF the ...
Jitendra Vyas's user avatar
0 votes
1 answer
1k views

How to measure file size using jquery,the following code works fine in firefox,chrome but it is not work in IE (7/8/9). Can any one help me how to measure file size in IE var fi = document....
user973063's user avatar
1 vote
1 answer
958 views

I follow the suggestion from Find size of file behind download link with jQuery for the file size checking and added return false; to prevent form submission, but failed. The code as following: ...
Peter's user avatar
  • 1,559
0 votes
1 answer
679 views

I tried this but keep getting following error when I put this into a content editor web part. <script type="text/javascript"> var FSO = new ActiveXObject("Scripting.FileSystemObject"); var ...
Chunkey pandey's user avatar
0 votes
1 answer
258 views

How can I retrieve file information (size of file) before it is uploaded to the webserver? I would like to create a multi file upload. I have it working in JQuery but I would like to know the size ...
John's user avatar
  • 107
1 vote
2 answers
132 views

On the page have a link to the file: <a href="file.doc">File</a> Next to the link should automatically show the extension and file size. Example: File (DOC, 15 KB) How to do it? I found ...
TriSTaR's user avatar
  • 403