Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8077607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:31:14+00:00 2026-06-05T15:31:14+00:00

So the base project is this… I am trying to write a server application

  • 0

So the base project is this…

I am trying to write a server application that will download and hash files off of a website.

The reason for this is so that I can blacklist particular files that are re-uploaded under different names or provide further descriptions as to what a file really is. These files are 0.1KB – 10.00MB and many. If I could detect within a reasonable ballpark figure a file is already hashed I could return the hash rather then download the entire file and send the results.

My temporary solution is a JavaScript add-on that does it on the spot. This causes temporary freezes and is too redundant for my liking. My goal is to make this good enough to share with the public; The current method is far from.

My skill set in programming is very wide yet not professional or polished in any individual so a library or examples are highly appreciated.


A snip-it of my java-script code is this…

    $('.tablesorter tbody tr').each(function(index) {
        var href = 'http:' + $(this).find("td a:eq(0)").attr('href');
        var MD5  = "";
        $.get(href, function(data) {
            MD5 = calcMD5(data);
            $(".tablesorter tbody tr:eq("+index+") td:eq(3)").text(MD5); 
         });
    });

This works great, does what it needs to. However I’d like to have a server do this so that a file only needs to be hashed a single time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:31:16+00:00Added an answer on June 5, 2026 at 3:31 pm

    Assuming that your problem is that you want to minimize the amount of bandwidth used, you could limit the amount of data downloaded to, say, the first 100kb and build your hash over that part. Other information you could use is anything sent in the header by the server, for example the total filesize and the MIME-filetype.

    Obviously this won’t work if the files you are expecting to look at differ at parts later in the file. But it should work with images or other compressed file formats.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project named AAA.System that contains some simple base functions to be
I'm trying to set up the base architecture for a Phonegap project using jQueryMobile
In the project I'm working on now, we have base Entity class that looks
I'm trying to implement unit tests in my current project. After that I'll start
I have a simple C++ project that is structured as following: -A base project
I'm trying to implement this project: http://img7.imagebanana.com/img/cnb46ti2/relationships.png I want to let view the skills
In my VS 2008, for main project have this error for control/ form that
I have a base project that feeds two different projects. I want to be
I am currently writing an application that will serve a similar purpose for multiple
I just saw this in a project I downloaded from Code Project: base.DialogResult =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.